SyntaxFix
Write A Post
Hire A Developer
Questions
INSERT INTO table1 SELECT "A string", 5, idTable2 FROM table2 WHERE ...
See: http://dev.mysql.com/doc/refman/5.6/en/insert-select.html