题解 | #获取所有员工当前的manager#
获取所有员工当前的manager
http://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
select de.emp_no,dm.emp_no as manager
from dept_emp as de, dept_manager as dm
where de.dept_no=dm.dept_no and de.emp_no <> dm.emp_no
获取所有员工当前的manager
http://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
select de.emp_no,dm.emp_no as manager
from dept_emp as de, dept_manager as dm
where de.dept_no=dm.dept_no and de.emp_no <> dm.emp_no
相关推荐