居然还要起标题啊
获取所有非manager的员工emp_no
http://www.nowcoder.com/questionTerminal/32c53d06443346f4a2f2ca733c19660c
SELECT employees.emp_no
FROM employees
LEFT JOIN dept_manager
ON employees.emp_no = dept_manager.emp_no
WHERE dept_manager.emp_no IS NULL
获取所有非manager的员工emp_no
http://www.nowcoder.com/questionTerminal/32c53d06443346f4a2f2ca733c19660c
SELECT employees.emp_no
FROM employees
LEFT JOIN dept_manager
ON employees.emp_no = dept_manager.emp_no
WHERE dept_manager.emp_no IS NULL
相关推荐