题解 | #找出所有员工当前薪水salary情况#

找出所有员工当前薪水salary情况

http://www.nowcoder.com/practice/ae51e6d057c94f6d891735a48d1c2397

知识点

  1. 只显示一次distinct()
  2. 当前where to_date=

代码

select distinct(salary) from salaries
where to_date='9999-01-01'
order by salary DESC
全部评论

相关推荐

评论
2
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务