题解 | #获取所有非manager的员工emp_no#
获取所有非manager的员工emp_no
https://www.nowcoder.com/practice/32c53d06443346f4a2f2ca733c19660c
select emp_no
from (
select *
from employees left join dept_manager
on employees.emp_no = dept_manager.emp_no
) where dept_no is NULL
from (
select *
from employees left join dept_manager
on employees.emp_no = dept_manager.emp_no
) where dept_no is NULL