select *
from employees e
where not exists (
    select * from dept_emp d
    where d.emp_no = e.emp_no
);

关于 not exists的使用,如果后面接的子查询结果集为空,则该条件满足;