mysql group by和order by

select column,count(*) a from table group by column order by a;

对table表的column列,进行分组统计并排序。

原文地址:https://www.cnblogs.com/zhh2020/p/13998417.html