mysql统计字段重复次数
来源:原创
时间:2016-08-29
作者:脚本小站
分类:DB
select category_id,count(*) as count
from article
group by category_id
order by count desc
limit 10;
http://database.51cto.com/art/201011/235139.htm
select category_id,count(*) as count
from article
group by category_id
order by count desc
limit 10;
http://database.51cto.com/art/201011/235139.htm