select 字段,count(字段) 数量 from 表 group by 字段
可以利用该列分组计数获得,例如: select item,count(item) as item_count from tbl1 group by item;
可以利用该列分组计数获得,例如:
select item,count(item) as item_count
from tbl1 group by item;