题解 | 分组排序练习题
分组排序练习题
https://www.nowcoder.com/practice/e00bbac732cb4b6bbc62a52b930cb15e
select
up.university,
AVG(up.question_cnt) as avg_question_cnt
from
user_profile up
group by
up.university
order by avg_question_cnt asc
分组排序练习题
https://www.nowcoder.com/practice/e00bbac732cb4b6bbc62a52b930cb15e
select
up.university,
AVG(up.question_cnt) as avg_question_cnt
from
user_profile up
group by
up.university
order by avg_question_cnt asc
相关推荐