Access Query to show records that do NOT meet join criteria

B

BillG

I would like to create a query that shows records that don't meet join
criteria.

One table has all records, the other has those I want to eliminate. What
kind of query do I use to show the remaining records only?
 
K

KARL DEWEY

Unmatched query.
SELECT TableALL.*
FROM TableALL LEFT JOIN TableSOME ON TableALL.SomeField = TableSOME.SomeField
WHERE TableSOME.SomeField Is Null;

SomeField is a common field like employee number or product code.
 

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