0
我有这样的4个表:根据使用mysql的用户获得最多的评论数?
posts{id,post,date}
comment{id, user_id,post_id, comment, date}
tag_post{tag_id,post_id}
users{user_id, email,pwd,username}
我想使这个复杂的查询,我想从某个话题让评论者(用户)的maxiumum数: 即
select the most commeneters(count) on posts that have been tagged with tag_id=39
LIMIT 5
感谢:))
wooooow让我试试它.. :)) – pingpong 2011-04-05 17:55:39