SELECT SUM(score) FROM course GROUP BY student_id;
SELECT score FROM course GROUP BY course_id;
SELECT AVG(score) FROM course GROUP BY course_id;
SELECT AVG(score) FROM course ;
C SELECT AVG(score) FROM course GROUP BY course_id 将所有课程求平均 AVG() 成绩,通过课程编号 course_id 把课程分类 Group By
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题