题解 | #获取所有非manager的员工emp_no#
获取所有非manager的员工emp_no
http://www.nowcoder.com/practice/32c53d06443346f4a2f2ca733c19660c
SELECT emp_no FROM employees WHERE emp_no NOT IN ( SELECT emp_no FROM dept_manager );
获取所有非manager的员工emp_no
http://www.nowcoder.com/practice/32c53d06443346f4a2f2ca733c19660c
SELECT emp_no FROM employees WHERE emp_no NOT IN ( SELECT emp_no FROM dept_manager );
相关推荐