题解 | #分组计算练习题#
分组计算练习题
http://www.nowcoder.com/practice/009d8067d2df47fea429afe2e7b9de45
SELECT gender,university,COUNT(gender),avg(active_days_within_30),avg(question_cnt) FROM user_profile group BY gender,university;
对性别和学校两个维度来分组统计
分组计算练习题
http://www.nowcoder.com/practice/009d8067d2df47fea429afe2e7b9de45
SELECT gender,university,COUNT(gender),avg(active_days_within_30),avg(question_cnt) FROM user_profile group BY gender,university;
对性别和学校两个维度来分组统计
相关推荐