最基础的分类统计SQL语句 xmh • 2021年01月23日 am08:22 • 数据库技术, MySQL, • 阅读 1285 原始数据如下:想要得到的结果:sql语句:select dw,count(distinct zy) as zycount from table group by dw