Comment copier un tableau d'une base de données à une autre dans MySQL
INSERT INTO database2.table2 SELECT * from database1.table1
Itchy Iguana
INSERT INTO database2.table2 SELECT * from database1.table1
insert into database1.table select * from database2.table where id not in(select id from database1.table);
UPDATE `Table2`
JOIN `Table1` ON `Table1`.`a_id` = `Table2`.`id`
SET `Table2`.`txn_stamp` = `Table1`.`tranx_id`