题解 | #获取所有非manager员工当前的薪水情况#
获取所有非manager员工当前的薪水情况
http://www.nowcoder.com/practice/8fe212a6c71b42de9c15c56ce354bebe
select de.dept_no,de.emp_no,s.salary from dept_emp as de inner join employees as e on de.emp_no =e.emp_no inner join salaries as s on de.emp_no = s.emp_no where de.emp_no not in (select emp_no from dept_manager);