用SQL查询某专业选修了两门以及两门以上课程的学生的学号
1条回答 默认 最新
- CSDN专家-sinJack 2021-11-27 10:58关注
select s.sno,s.name from student s where s.sno in(select sno from score sc group by sc.cno having count(sc.sno)>1
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 6无用 10
select s.sno,s.name from student s
where s.sno in(select sno from score sc
group by sc.cno having count(sc.sno)>1