D
DZ
I have two tables. Table1 and Table2.
Both have 3 fields in common: Name, Address and Location fields.
Table1 has duplicate values of Name, Address and Location combined.
Table2 has unique values of Name, Address and Location combined. In table2
the combined fields: Name, Address and Location are the primary key.
I want to delete all records from table2 where they have no corresponding
combined value of Name, Address and Location in table1.
Table2 has important information in the other fields in records where Name,
Address and Location combination already exists in Table1, so I don't want to
those record deleted... but all other records I want deleted from table2.
Thanks for any help with this
Both have 3 fields in common: Name, Address and Location fields.
Table1 has duplicate values of Name, Address and Location combined.
Table2 has unique values of Name, Address and Location combined. In table2
the combined fields: Name, Address and Location are the primary key.
I want to delete all records from table2 where they have no corresponding
combined value of Name, Address and Location in table1.
Table2 has important information in the other fields in records where Name,
Address and Location combination already exists in Table1, so I don't want to
those record deleted... but all other records I want deleted from table2.
Thanks for any help with this