I have two tables, one has primary key other has it as a foreign key.
I want to pull data from the primary table, only if the secondary table does not
Another solution is:
SELECT * FROM TABLE1 WHERE id NOT IN (SELECT id FROM TABLE2)