select distinct `university`
    from `user_profile`;

去重查询使用 DISTINCT 关键字