How to Check for Duplicates?

S

SinCity

I have two different tables (Table1 and Table2) that have the same
column in each (Name). Is there an easy way to check for duplicates
between the two tables?
 
J

Jeff Boyce

Click on the New (Query) toolbar button.

Select the "Duplicates..." query and follow the wizard's instructions.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
G

Granny Spitz via AccessMonster.com

SinCity said:
Is there an easy way to check for duplicates
between the two tables?

Write this query and save it:

SELECT [Name]
FROM Table1
UNION ALL SELECT [Name]
FROM Table2;

Now use the query wizard to build a "find duplicates" query. By the way,
Name is a reserved word so you'll avoid bugs by not using it to name columns.
 

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