成人高等教育 / 数据库原理
正确率:100%
检索选修四门以上课程的学生总成绩,并要求按总成绩的降序排列出来。正确的SELECT语句是( )。
- A、
A.SELECTSNO, SUM (GRADE) FROM SC GROUP BYSNO ORDER BY2 DESC HAVING COUNT(*) >= 4;
- B、
B.SELECTSNO, SUM (GRADE) FROM SC GROUP BYSNO HAVING COUNT(*)>=4 ORDER BY2 DESC;
- C、
C.SELECTSNO, SUM (GRADE) FROM SC HAVING COUNT(*)>=4 GROUP BYSNO ORDER BY2 DESC;
- D、
D.SELECTSNO, SUM (GRADE) FROM SC ORDER BY2 DESC GROUP BYSNO HAVING COUNT(*)>=4;
参考答案:
佳题速递: