查找当前薪水详情以及部门编号dept_no
查找当前薪水详情以及部门编号dept_no
http://www.nowcoder.com/questionTerminal/c63c5b54d86e4c6d880e4834bfd70c3b
select t1.*, t2.dept_no from salaries t1 inner join dept_manager t2 on t1.emp_no = t2.emp_no where t1.to_date ='9999-01-01' and t2.to_date ='9999-01-01'