INSERT INTO SELECT statement
INSERT INTO table2
SELECT * FROM table1
WHERE condition;
-- To copy a few statements from the old table, the following syntax is used:
INSERT INTO table2 (column1, column2, column3, ...)
SELECT column1, column2, column3, ...
FROM table1
WHERE condition;Last updated