班级求男生和女生的数量 select sex,count(*) from students group by sex 转载于:https://www.cnblogs.com/zhenmingliu/archive/2012/04/23/2466421.html