某些学生选修某门课程没参加考试
某些学生选修某门课程没参加考试,所以有选课记录,但没考试成绩,试查询缺少成绩的学生的学号和相应的课程号应用“关系数据库标准语言SQL”回答上述问题,多谢了!
下列各字段分别代表的意义: 学生成绩表:c 学号:sno 成绩:grade 课程号:cno select sno, cno from c where grade is null or grade=0;
select sno as 学号, scno as 课程号 from course where grade is null;
答:select Sno from Student where not exists (select * from SC where Cname='数据库');详情>>