数据库sql查询同时选修了选修课1和选修课2的学生学号

2025-02-24 07:21:28
推荐回答(1个)
回答1:

select Sno from sc where Cno in('课1','课2') group by Sno having count(*)=2