select item, count(item) from YourTable group by item having count(item)>5
是对的
当有两个表就为什么 会出错!
Select table1.Field1 ,Table2.Field2 , count(table2.field2) from Tabel1,table2
group by Table2.field2 having count(Table2.field2) >5
where table1.id =table2.id