题解 | #获取所有员工当前的manager#
获取所有员工当前的manager
https://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
select e.emp_no , d.emp_no as manager from dept_emp e left join dept_manager d on e.dept_no = d.dept_no where e.emp_no != d.emp_no
获取所有员工当前的manager
https://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
select e.emp_no , d.emp_no as manager from dept_emp e left join dept_manager d on e.dept_no = d.dept_no where e.emp_no != d.emp_no
相关推荐