insert into select mysql query code example
Example 1: myql insert from select
INSERT INTO table_name(column_list)
SELECT
select_list
FROM
another_table
WHERE
condition;
Example 2: insert select
INSERT INTO table2
SELECT * FROM table1
WHERE condition;