使用 distinct 去重全部输出即可

SELECT DISTINCT salary from salaries ORDER BY salary DESC