• 2022-06-07
    (3)统计选修四门以上课程的学生的学号和总成绩(不统计不及格的课程),并要求按总成绩降序排列出来。正确的SELECT语句是( )。
    A: SELECT S
    B: ,SUM(GRADE) FORM SCGROUP BY S
    C: HAVING COUNT(*)>=4;
    D: SELECT S
    E: ,SUM(GRADE) FORM SCGROUP BY S
    F: HAVING COUNT(*)>=4ORDER BY SUM(GRADE) DESC;
    G: SELECT S
    H: ,SUM(GRADE) FROM SCWHERE GRADE>=60GROUP BY S
    I: HAVING COUNT(*)>=4ORDER BY SUM(GRADE) DESC;
    J: SELECT S
    K: ,SUM(GRADE) FROM SCGROUP BY S
    L: HAVING GRADE>=60 AND COUNT(*)>=4ORDER BY SUM(GRADE) DESC;
  • 举一反三