Search the Whole World Here.,.,

SQL - INSERT INTO SELECT Syntax




We can copy all columns from one table to another, existing table:

INSERT INTO table2
SELECT * FROM table1;
Or we can copy only the columns we want to into another, existing table:

INSERT INTO table2
(column_name(s))
SELECT column_name(s)
FROM table1;


EmoticonEmoticon