# SQL语句的执行顺序

# 1.先根据学校查询表中的基本数据

# 2.再根据分组条件计算函数的执行结果

# 3.最后根据所有的查询数据进行排序

select university,

       round(avg(question_cnt),4) as avg_question_cnt

       from user_profile

       group by university

       order by avg_question_cnt asc;