select university,round(avg(question_cnt),4) as avg_question_cnt from user_profile group by university order by avg_question_cnt
主要考察排序的用法。排序默认是升序 asc当使用倒叙的时候 需要加上 desc,排序可以多字段,且分别指定排序方向。