欢迎各位兄弟 发布技术文章
这里的技术是共享的
SELECT DISTINCT(n.nid), n.sticky, n.title, n.created, nm.totalcount FROM node n INNER JOIN term_node tn ON n.vid = tn.vid LEFT JOIN node_counter nm ON n.nid=nm.nid WHERE n.status = 1 ORDER BY n.created DESC ,nm.totalcount DESC
来自 http://hi.baidu.com/097633/item/00c9cec568d73946a8ba9454