自用题解
找出所有员工当前薪水salary情况
http://www.nowcoder.com/questionTerminal/ae51e6d057c94f6d891735a48d1c2397
第一种
select DISTINCT(`salary`) from `salaries` order by `salary` desc
第二种
select `salary` from `salaries` group by `salary` order by `salary` desc
找出所有员工当前薪水salary情况
http://www.nowcoder.com/questionTerminal/ae51e6d057c94f6d891735a48d1c2397
第一种
select DISTINCT(`salary`) from `salaries` order by `salary` desc
第二种
select `salary` from `salaries` group by `salary` order by `salary` desc
相关推荐