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

要求 有 where
2025年03月22日 11:45
有5个网友回答
网友(1):

select count(*) from 学生表 where 专业 in ('计算机',英语',‘化工') 专业由查询的题目来决定

网友(2):

select count(学号) from tablename where 专业='计算机'

网友(3):

敢不敢把你表中的内容贴出来~

网友(4):

select count(学生列) from table where 专业列=“专业名”

网友(5):

select count(*) from table where 专业列=“专业名”