Updating an older version of prestashop to a newer version. Having trouble creating a query to migrate column data from source db to destination db (same column and table names, different db names).
In other words, I need to replace the data of destination column with data of source column. This is the query I have so far:
INSERT INTO `destination_db`.`destination_table`
Select * FROM `source_db`.`source_table`
on duplicate key UPDATE `destination_db`.`destination_table`.`destination_colum`=`source_db`.`source_table`.`source_column`;
After running the query, this is the result: MySQL returned an empty result set (i.e. zero rows)
Any help to fix the query is truly appreciated.