I would like to retrieve the names of people who didn\'t work on a project in PostgreSQL.
I got a table named employees with their names and
employees
names
This is usually solved using a NOT EXISTS query:
NOT EXISTS
select e.* from employees e where not exists (select * from works_on wo where wo.ssn = e.ssn)