第一种

select DISTINCT(`salary`)
from `salaries`
order by `salary` desc

第二种

select `salary`
from `salaries`
group by `salary`
order by `salary` desc