/*使用distinct*/ select distinct(university) from user_profile /*使用group by*/ select university from user_profile group by university sql去重的方法通常用两种,一种是使用distinct,另外一个是group by实现,下面是distinct与group by的区别,和使用场景https://juejin.cn/post/6979045255224131621?searchId=20230725173540FF553B4C5B990F0FA0AB