use EMIS
go
select student_id,
max(score) 最高分,
min(score) 最低分,
count(score) 成绩记录条数
from t_course_reg
group by
student_id
having min(score) >= 60
go
SQL sever 数据库查询 过滤分组
最新推荐文章于 2025-05-15 17:12:29 发布
use EMIS
go
select student_id,
max(score) 最高分,
min(score) 最低分,
count(score) 成绩记录条数
from t_course_reg
group by
student_id
having min(score) >= 60
go