如图所示,图标上有两个重复的数据,那么要过滤掉重复的数据需要怎么做的呢?
方法一: 用distinct过滤掉多余的数据。
例如:以下语语句
select distinct university from user_profile;
方法二: group by + count + min 去掉重复数据
如图所示,图标上有两个重复的数据,那么要过滤掉重复的数据需要怎么做的呢?
方法一: 用distinct过滤掉多余的数据。
例如:以下语语句
select distinct university from user_profile;
方法二: group by + count + min 去掉重复数据