вставить в
INSERT INTO table1 ( column1, column2 )
SELECT col1, col2
FROM table2
Jargs
INSERT INTO table1 ( column1, column2 )
SELECT col1, col2
FROM table2
$sql = "INSERT INTO table_name('arg1, 'arg2', ...) VALUES ('value1,
value2, ...)'";