Discuss / SQL / 我做完了

我做完了

Topic source

s丢pid

#1 Created at ... [Delete] [Delete and Lock User]

第一题

SELECT class_id [班级],AVG(score) [平均分] FROM students GROUP BY class_id

第二题

SELECT class_id [班级], gender [性别],AVG(score) [平均分] FROM students GROUP BY class_id,gender

  • 1

Reply