I have a query that inserts using a select:
INSERT INTO courses (name, location, gid) SELECT name, location, gid FROM courses
We all know this works.
INSERT INTO `TableName`(`col-1`,`col-2`) SELECT `col-1`,`col-2`
=========================== Below method can be used in case of multiple "select" statements. Just for information.
INSERT INTO `TableName`(`col-1`,`col-2`) select 1,2 union all select 1,2 union all select 1,2 ;