select gender,university, count(university) as user_num, round(avg(active_days_within_30),1) as avg_active_day, round(avg(question_cnt),1) as avg_question_cnt from user_profile group by gender,university order by gender 注意根据答案所要求的表格 依次对gender 和 university 进行分组和排序。使用 group by 和 order by 。