题解 | #找出所有员工当前薪水salary情况#
找出所有员工当前薪水salary情况
https://www.nowcoder.com/practice/ae51e6d057c94f6d891735a48d1c2397
select distinct salary from salaries order by salary desc
distinct:去除重复的行
select salary from salaries group by salary order by salary desc
group by:根据字段分区后再去重分组