Join to get "exception" records

  • Thread starter Thread starter RBear3
  • Start date Start date
I have two queries Q1 and Q2 which have a common ID field.
I want to get the records of Q1 except those where the ID
exists in Q2.

Is there a way to do this?

TIA
 
You can also use a sub query in the where statement. Were: Not in (select
uniqueID from Q2). You will need to do a right join for your 2 tables,
select all from Q1 and only those in Q2 that match.
 
Back
Top