TABLE1 gets a copy of the TABLE2 record when TABLE2's ID field matches the ID field of TABLE3. The TABLE2 ID field is not unique. The TABLE3 ID field is unique.
Here's some pseudo code:
INSERT INTO TABLE1
(ID,CATEGORY,PRICE)
SELECT ID,CATEGORY,PRICE
FROM TABLE2
WHEN TABLE2.ID = TABLE3.ID
Thanks in advance.
Here's some pseudo code:
INSERT INTO TABLE1
(ID,CATEGORY,PRICE)
SELECT ID,CATEGORY,PRICE
FROM TABLE2
WHEN TABLE2.ID = TABLE3.ID
Thanks in advance.