Esto generalmente se resuelve usando un NOT EXISTS
consulta:
select e.*
from employees e
where not exists (select *
from works_on wo
where wo.ssn = e.ssn)
Esto generalmente se resuelve usando un NOT EXISTS
consulta:
select e.*
from employees e
where not exists (select *
from works_on wo
where wo.ssn = e.ssn)