select test.student.S_no,test.student.S_name,avg(test.score.S_score) avg_score from test.score,test.student
where test.student.s_no=test.score.s_no and test.score.s_score<60
group by test.score.s_no
having count(*)>1
查询两门及其以上不及格课程的同学的学号、姓名、不及格课程的平均成绩
最新推荐文章于 2022-06-21 10:51:53 发布