Jay Williams
asked on
In Access 2010 How can I find records in one table that have no exact match in another table?
I need to find records that do not match by multiple fields. What's a good strategy, or is there some generic SQL statements that might give me a clue?
ASKER
Thanks, Kevin. I'll give it a whirl.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
One of the query wizard options is a "Find Unmatched" query, which will walk you through the steps of identifying which field(s) you want to match on, and will allow you to select other fields from the table as well.
ASKER
Thanks again, Rey. That's what I have in mind. I'll let you know. :-)
ASKER
This is pure gold--and so are you.
FROM a LEFT JOIN b ON
b.primarykey = a.primarykey
WHERE a.primarykey is not null and b.primarykey is null
Will give you all records in a that don't have a match in b.
Kelvin