how to find records in one table which are not in another

  • Thread starter Thread starter Guest
  • Start date Start date
It would be an outer join. Here's an example:

Select Table1.MyID, Table1.OtherField
From Table1 Left Outer Join Table2 On Table1.Id = Table2.ID
Where Table2.ID Is Null

In this example, the query will give you all records from Table1 that
are not in Table2.

Hope that helps!
 
Use the Unmatched query wizard (last option in the first dialog when you
create a query.)

It's an outer join with Is Null as critiera for the primary key of the
related table.
 
Back
Top