Looking for a NOT situation (two tables)

E

Edwin Knoppert

I have two tables.
A main table having records, the 2nd table has only a subset of the
maintable.

So both tables can have records where field ID #100 exists.
I'm looking for a SELECT to get the records from the main-table not found in
table2.
 
G

Guest

Edwin,

Untested:

Select * From Table1 Where ID Not In (Select ID From Table2)

Kerry Moorman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top