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