I have two table with identical structure.
I would like to append table 1 with all records from table two only where a key field does not have a match in table one already.
I was able to create a join query to find the common records between the two
but haven't been able to figure out how to delete the results of this query from the old table, which would give me the remaining records to append to the new table....
Help with either approach would be appreciated.
TIA,
-A
I would like to append table 1 with all records from table two only where a key field does not have a match in table one already.
I was able to create a join query to find the common records between the two
Code:
select oldbonus.vin, oldbonus.amount from oldbonus join bonus on oldbonus.vin=bonus.vin;
but haven't been able to figure out how to delete the results of this query from the old table, which would give me the remaining records to append to the new table....
Help with either approach would be appreciated.
TIA,
-A