select age,max(cnt) as max_cnt from (select age,university,count(id) as cnt from user_profile group by age,university) as tmp group by age order by max_cnt desc