Comparing Data in 2 Tables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create a query that compares data in 2 tables. If the data exists
in one table but not in the other, the query should take those exceptions and
put them in a new table. Any ideas how this should look?
 
Start with creating an unmatch record query, using the query wizard, that
will return the record that exist in one table but not in the other.

After you achieve that, change the query from select query to append query
to append the record to the third table.

But remember that to display the extra records yo can use the above select
query, you don't have to append the records to a new table
 
Start with creating an unmatch record query, using the query wizard, that
will return the record that exist in one table but not in the other.

....And then repeat the steps, reversing the comparison.

Identifying records in TableA that aren't in tableB is one "Unmatched"
query.
Identifying records in TableB that aren't in TableA is a second.

HTH,
 

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

Back
Top