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