select count(*) from 学生表 where 专业 in ('计算机',英语',‘化工') 专业由查询的题目来决定
select count(学号) from tablename where 专业='计算机'
敢不敢把你表中的内容贴出来~
select count(学生列) from table where 专业列=“专业名”
select count(*) from table where 专业列=“专业名”