insérer dans la table à partir d'une autre table mysql
INSERT INTO table1 (emp_id, fname)
SELECT emp_id, fname
FROM table2
WHERE status = 'Active';
Stratocaster
INSERT INTO table1 (emp_id, fname)
SELECT emp_id, fname
FROM table2
WHERE status = 'Active';
CREATE TABLE db2.table LIKE db1.table;
INSERT INTO db2.table
SELECT column_name FROM db1.table
INSERT INTO db1.table SELECT * FROM db2.table;