I have the following MS SQL query:
MERGE drivessold as T USING specs as S ON
drivessold.SKU = specs.SKU_num
WHEN MATCHED THEN
UPDATE SET
drivessold.color = specs.color,
drivessold.speed = specs.speed;
How do I perform a similar query in mySQL?
Note: the SKU and SKU_num are not the keys in the table (this is unique).