使用PHP和MySQL,我想查詢我的用戶發佈的發佈表以查找發佈最多條目的人員。如何在我的MySQL表中的列中找到最常見的結果
這將是什麼正確的查詢?
樣本表結構:
[id] [UserID] 1 johnnietheblack 2 johnnietheblack 3 dannyrottenegg 4 marywhite 5 marywhite 6 johnnietheblack
我想看到的是「johnnietheblack」是頂級的海報,「marywhite」是第二個最好的,「dannyrottenegg」具有至少
你能提供的貼子表的表結構? – JohnFx 2009-04-10 23:22:41