sql面试题

--1.查询平均成绩大于60分的同学的学号和平均成绩 --select StuId,avg(Score) from student group by StuID having avg (Score) > 60; --2.查询姓“李”的学生的个数(一个学生可能会有多条学科成绩) --select count(distinct StuID) from student where StuID in (s
相关文章
相关标签/搜索