查询某个班男生的人数sql语句

查询某个班男生的人数sql语句

select count(1) from student where sex = '男';

-- 望采纳

温馨提示:答案为网友推荐,仅供参考
第1个回答  2016-11-14
select count(*) from table where 班级列=“班级名”sex='男';
第2个回答  2016-11-15
select count(*) from table where 班级列=“班级名”and sex='男';
相似回答