Hi,
I am trying to write a query that will read some data and insert it into another table.
I have tables set out like this:
Table1
======
ProductNo
Title
Qty
Table2
======
ProductNo
Description
Amount
This is legacy data which I am trying to use to build a table (Table3) - what I need to do is find which products from Table2 that are NOT in Table1 and then insert them into Table3.
I hope this makes sense to somebody?
If anyone can help writing a query to achieve this it would be greatly appreciated.
Kind regards
Ota
I am trying to write a query that will read some data and insert it into another table.
I have tables set out like this:
Table1
======
ProductNo
Title
Qty
Table2
======
ProductNo
Description
Amount
This is legacy data which I am trying to use to build a table (Table3) - what I need to do is find which products from Table2 that are NOT in Table1 and then insert them into Table3.
I hope this makes sense to somebody?
If anyone can help writing a query to achieve this it would be greatly appreciated.
Kind regards
Ota