SELECT DISTINCT university
FROM user_profile
SELECT  university
FROM user_profile
GROUP BY university

使用哪个看个人习惯,很多情况下我个人更喜欢使用 group by来去重。