题解 | #计算男生人数以及平均GPA#
计算男生人数以及平均GPA
https://www.nowcoder.com/practice/7d9a7b2d6b4241dbb5e5066d7549ca01
SELECT COUNT(*),AVG(gpa) AS avg_gpa FROM user_profile WHERE gender='male' GROUP BY gender
计算男生人数以及平均GPA
https://www.nowcoder.com/practice/7d9a7b2d6b4241dbb5e5066d7549ca01
SELECT COUNT(*),AVG(gpa) AS avg_gpa FROM user_profile WHERE gender='male' GROUP BY gender
相关推荐