3个表即学生表S、课程表C和学生选课表SC,它们的结构如下: S(S#,SN,SEX,AGE,DEPT)C(C#,CN)SC(S#,C#,GRADE)其中:S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号,CN为课程名,GRADE为成绩。检索选修5门以上课程的学生总成绩(不统计不及格的课程),并要求按总成绩的降序排列出来。正确的SELECT语句是( )。
A. SELECT S
B. ,SUM(GRADE) FROM SC WHERE GRADE>=60GROUP BY S
C. ORDER BY 2 DESCHAVING COUNT(*)>=45
D. SELECT S
E. ,SUM(GRADE)FROM SCWHERE GRADE>=60GROUP BY S
F. HAVING COUNT(*)>=5ORDER BY 2 DESC
G. SELECT S
H. ,SUM(GRADE)FROM SCWHERE GRADE>=60HAVING COUNT(*)>=5GROUP BY S
I. ORDER BY 2 DESC
J. SELECT S
K. ,SUM(GRADE)FROM SCWHERE GRADE>=60ORDER BY 2 DESCGROUP BY S
L. HAVING COUNT(*)>=5