mysql insert into from select example
Example: myql insert from select
INSERT INTO table_name(column_list)
SELECT
select_list
FROM
another_table
WHERE
condition;
INSERT INTO table_name(column_list)
SELECT
select_list
FROM
another_table
WHERE
condition;