I have two tables:
TableA is a master list of names, addresses, phone numbers, etc. TableB is a volunteer list. I need to write a query such that:
From TableA select specific row where lastname, firstname, mailadd = specific row from TableB.
TableB contains inaccurate information and I need to compare parts of each record to the records in TableA to pull out possible corrected information. I hope this makes sense. Here is an example:
In TableA there would be a perfect record that had
LstName FstName StAdd City State
Doe John 1234 Eastwood St New York NY
In TableB I may have a record that has:
LstName FstName StAdd City State
Doe John New York NY
In this case, I would have my query search for a distinct record that had From Table:LstName, FrstName, City, State
= TableB LstName, FstName, City, State
I'm sure there has to be a way to write this query. If anyone has any ideas, please let me know.
Thanks!
TableA is a master list of names, addresses, phone numbers, etc. TableB is a volunteer list. I need to write a query such that:
From TableA select specific row where lastname, firstname, mailadd = specific row from TableB.
TableB contains inaccurate information and I need to compare parts of each record to the records in TableA to pull out possible corrected information. I hope this makes sense. Here is an example:
In TableA there would be a perfect record that had
LstName FstName StAdd City State
Doe John 1234 Eastwood St New York NY
In TableB I may have a record that has:
LstName FstName StAdd City State
Doe John New York NY
In this case, I would have my query search for a distinct record that had From Table:LstName, FrstName, City, State
= TableB LstName, FstName, City, State
I'm sure there has to be a way to write this query. If anyone has any ideas, please let me know.
Thanks!