Loading

SQL3 查找当前薪水详情以及部门编号dept_no

https://www.nowcoder.com/practice/c63c5b54d86e4c6d880e4834bfd70c3b?tpId=82&tags=&title=&difficulty=0&judgeStatus=0&rp=1

select s.*, d.dept_no
from salaries s join dept_manager d on s.emp_no = d.emp_no
where d.to_date = '9999-01-01' and s.to_date = '9999-01-01';
posted @ 2022-01-08 17:04  Zhbeii  阅读(37)  评论(0编辑  收藏  举报