select count(字段名) from table group by 字段; 分组后的内容统计。 count统计的字段是 不包括空的数据。 转载于:https://www.cnblogs.com/GotoJava/p/6269781.html