I need some help with writing an SQL query.
I have 2 tables with some duplicate data that I would like to associate with each other.
Table1 - ID-Group1
ID - primary key
FirstName
LastName
Address
City
State
Zip
Table2 - IDGroup2
ID - primary key
FirstName
LastName
Address
City
State
Zip
Table1ID
There are a large number of duplicate Firstname/lastName/add/city/state/zip in Table1 and Table2, but they have different ID's.
Is there a way to write a query to look for matches between the tables and then update Table1ID on the appropriate Table2 record?
thanks







Bookmarks