方法1)两表联结 WHERE 筛选非manager员工
SELECT e.emp_no FROM dept_manager AS dm RIGHT JOIN employees AS e ON dm.emp_no = e.emp_no WHERE dm.emp_no IS NULL; -- 非manager
SELECT e.emp_no FROM dept_manager AS dm RIGHT JOIN employees AS e ON dm.emp_no = e.emp_no WHERE e.emp_no NOT IN ( -- 非manager SELECT emp_no FROM dept_manager);