I want to compare data from two different databases and insert missing value in original database.
In tableA I have Name, Surname and Address and in other table, tableB I have Name, Surname, Address, Phone, Zip, Title, Unique code. I need to compare name, surname and address from tableA with tableB, and if I found a match than I need to add one field in tableA and store that field value against that particular record.
To clarify, if I am trying to match "John","Smith","23 May Road" from tableA with tableB and found a match, than I need to update John Smith record from tableA with added field Title,Phone,Zip and unique code. I tried with inner join but no luck and spent almost a day with different combinations.
Someone who has better grip on join please help me.
Regards..