题解 | #获取所有非manager的员工emp_no#
获取所有非manager的员工emp_no
https://www.nowcoder.com/practice/32c53d06443346f4a2f2ca733c19660c
select emp_no from employees where emp_no not in( select e.emp_no from employees e inner join dept_manager d on e.emp_no =d.emp_no);
先查询出有部分的emp_no
not in 进行范围查找