题解 | #查找当前薪水详情以及部门编号dept_no#
查找当前薪水详情以及部门编号dept_no
http://www.nowcoder.com/practice/c63c5b54d86e4c6d880e4834bfd70c3b
SELECT s.emp_no, s.salary, s.from_date, s.to_date, d.dept_no FROM salaries s RIGHT JOIN dept_manager d ON s.emp_no = d.emp_no order BY s.emp_no