Run the parts starting at SELECT in the following first. That will show you exactly what is going to be inserted into the table. Then if you are satisfied, run the whole statement:INSERT INTO Relation
SELECT
3 AS ID,
ID1,
ID2
FROM
Relation
WHERE
ID = 2;