本题考察了对去重函数distinct的使用,也可用分组函数:group by进行分组

# 找出所有员工当前薪水salary情况
select DISTINCT salary
FROM salaries
WHERE to_date = "9999-01-01"
ORDER BY salary DESC