题解 | #查找当前薪水详情以及部门编号dept_no#
查找当前薪水详情以及部门编号dept_no
https://www.nowcoder.com/practice/c63c5b54d86e4c6d880e4834bfd70c3b
select salaries.emp_no,salaries.salary,salaries.from_date,salaries.to_date,dept_manager.dept_no from salaries inner join dept_manager on salaries.emp_no=dept_manager.emp_no order by salaries.emp_no
一个内连接即可