题解 | #获取所有员工当前的manager#
获取所有员工当前的manager
https://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
select a.emp_no,b.emp_no as manager from dept_emp a left join dept_manager b on b.dept_no = a.dept_no where a.emp_no not in(select emp_no from dept_manager)
蛮直接的