select 
university,
group_concat(distinct age order by age) as age_concat
from
user_profile
group by university

这个题目主要考察,分组之后连接的函数group_concat()。