• 2022-06-09
    按照学号进行分组,统计学生的平均成绩,且平均分按降序排列
    A: select sid, avg(grade) from sc group by sid order by avg(grade) desc
    B: select sid, avg(grade) from sc group by cid order by avg(grade) desc
    C: select sid, avg(grade) from student group by sid order by avg(grade) desc
    D: select sid, avg(grade) from student group by cid order by avg(grade)
  • 举一反三