题解 | #获取所有员工当前的manager#
获取所有员工当前的manager
http://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
SELECT de.emp_no emp_no, dm.emp_no manager FROM dept_emp de INNER JOIN dept_manager dm USING(dept_no) WHERE de.emp_no != dm.emp_no;
获取所有员工当前的manager
http://www.nowcoder.com/practice/e50d92b8673a440ebdf3a517b5b37d62
SELECT de.emp_no emp_no, dm.emp_no manager FROM dept_emp de INNER JOIN dept_manager dm USING(dept_no) WHERE de.emp_no != dm.emp_no;
相关推荐