Open pigxx500kg opened 1 year ago
SELECT *, AVG(score) OVER (PARTITION BY class_id) AS class_avg_score FROM student; 语句错误,因为题目描述中遗漏了 exam_num 这一列,答案中也没有包含
SELECT *, AVG(score) OVER (PARTITION BY class_id) AS class_avg_score FROM student; 语句错误,因为题目描述中遗漏了 exam_num 这一列,答案中也没有包含