题目
解答
注意:not exists和not in语法不同
where not exists ( )
where 列名 not in ( )
select *
from employees as e
where not exists (select emp_no from dept_emp where e.emp_no=dept_emp.emp_no)
select * from employees
where emp_no not in (select emp_no from dept_emp)