有学生选课关系 SC(S#,C#,GRADE ),其中 S#为学号, C
17 查阅
有学生选课关系 SC(S#,C#,GRADE ),其中 S#为学号, C#为课程号, GRADE 为成绩。要查找 "选修了C01号课程且成绩不低于 90分的学生的学号 ",下列哪一个 SQL语句正确表达了此查询请求?
- A.SELECT S# FROM SC GROUP BY C# = CO1’ HAVING GRADE≥90;
- B.SELECT S# FROM SC GROUP BY C# = 'C01’ WITtH GRADE≥90;
- C. SELECT S# FROM SC GROUP BYC# = C01’ WITH GRADE≥90;
- D.SELECT S# FROM SC HAVING C# = ’C01' AND GRADE ≥90;
参考答案: