select count(1) from student where sex = '男';-- 望采纳
select count(*) from table where 班级列=“班级名”sex='男';
select count(*) from table where 班级列=“班级名”and sex='男';