Send the following on WhatsApp
Continue to ChatMerging tables with INSERT...ON DUPLICATE KEY UPDATE https://code.openark.org/blog/mysql/merging-tables-with-insert-on-duplicate-key-update
Merging tables with INSERT...ON DUPLICATE KEY UPDATE https://code.openark.org/blog/mysql/merging-tables-with-insert-on-duplicate-key-update