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


concat_grouop 和 group by 一起用 用于拼接参数字段,可用distinct 去重,也可以在函数内用 order by 直接排序