U kunt INSERT INTO... SELECT
. gebruiken verklaring hierover,
INSERT INTO tableName (A, B, C)
SELECT A, B, MAX(C) + 1
FROM tableName
GROUP BY A, B
U kunt INSERT INTO... SELECT
. gebruiken verklaring hierover,
INSERT INTO tableName (A, B, C)
SELECT A, B, MAX(C) + 1
FROM tableName
GROUP BY A, B