题解 | #获取所有员工当前的manager#
获取所有员工当前的manager
https://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
select e.emp_no,m.emp_no as manager from dept_emp e,dept_manager m where e.dept_no=m.dept_no //先找出所有人当前的manager and e.emp_no not in ( //再剔除是manager的员工 select emp_no from dept_manager )
#sql#