自用题解
获取所有非manager员工当前的薪水情况
http://www.nowcoder.com/questionTerminal/8fe212a6c71b42de9c15c56ce354bebe
select de.dept_no,a.emp_no,s.salary from (select emp_no from employees where emp_no not in (select emp_no from dept_manager) ) a inner join dept_emp de on a.emp_no=de.emp_no inner join salaries s on a.emp_no=s.emp_no where s.to_date='9999-01-01'