SELECT class_id, AVG(score) average FROM students GROUP BY class_id; SELECT class_id, gender, AVG(score) average FROM students GROUP BY class_id, gender;
Sign in to make a reply
倒吃甘蔗