sql语句 查询某人数 怎么 查询某个专业学生人数。 在线等 谢啦

要求 有 where

select count(*) from 学生表 where 专业 in ('计算机',英语',‘化工') 专业由查询的题目来决定
温馨提示:答案为网友推荐,仅供参考
第1个回答  2017-07-04
select count(学号) from tablename where 专业='计算机'
第2个回答  2012-07-04
敢不敢把你表中的内容贴出来~
第3个回答  2012-07-04
select count(学生列) from table where 专业列=“专业名”
第4个回答  2012-06-25
select count(*) from table where 专业列=“专业名”
相似回答