题解 | #获取所有非manager的员工emp_no#
获取所有非manager的员工emp_no
https://www.nowcoder.com/practice/32c53d06443346f4a2f2ca733c19660c
select e.emp_no from employees e left join dept_manager d on e.emp_no = d.emp_no where d.dept_no is NUll
左连接,选择dept_no值为空
获取所有非manager的员工emp_no
https://www.nowcoder.com/practice/32c53d06443346f4a2f2ca733c19660c
select e.emp_no from employees e left join dept_manager d on e.emp_no = d.emp_no where d.dept_no is NUll
左连接,选择dept_no值为空
相关推荐