-- 以name进行分组,并查看每组个数,其中count(*)可改为count(name) select count(*),name from student group by name
分组查询语句group by
原文:https://www.cnblogs.com/wanlige/p/14544191.html