I have two tables with binding primary key in database and I desire to find a disjoint set between them. For example,
Table1
ID
Use LEFT JOIN
LEFT JOIN
SELECT a.* FROM table1 a LEFT JOIN table2 b on a.ID = b.ID WHERE b.id IS NULL