题解 | #查找当前薪水详情以及部门编号dept_no#
查找当前薪水详情以及部门编号dept_no
http://www.nowcoder.com/practice/c63c5b54d86e4c6d880e4834bfd70c3b
SELECT s.emp_no, s.salary, s.from_date, s.to_date, dm.dept_no FROM salaries s INNER JOIN dept_manager dm USING(emp_no) ORDER BY s.emp_no;