insert into select mysql
snippet in sql

myql insert from select

user3466

INSERT INTO table_name(column_list)
SELECT 
   select_list 
FROM 
   another_table
WHERE
   condition;

insert into select mysql

user2164

INSERT INTO table2 (column1, column2, column3, ...)

SELECT column1, column2, column3, ...
 FROM table1

WHERE condition; 

insert select

user2436

INSERT INTO table2
SELECT * FROM table1
WHERE condition;

insert into select

user1239


INSERT INTO table2

SELECT * FROM table1
WHERE condition; 

insert into select

user5195


INSERT INTO table2 (column1, column2, column3, ...)

SELECT column1, column2, column3, ...
 FROM table1

WHERE condition;