A simple usage of updating a field using another tables field
MySQL syntax:
1 2 3 |
UPDATE destination_table INNER JOIN source_table ON destination_table.id = source_table.id SET destination_table.first_name = source_table.first_name |
A simple usage of updating a field using another tables field
1 2 3 |
UPDATE destination_table INNER JOIN source_table ON destination_table.id = source_table.id SET destination_table.first_name = source_table.first_name |