I have to update a field with a value which is returned by a join of 3 tables.
Example:
select im.itemid ,im.sku as iSku ,gm.SKU as GSKU
MySQL: In general, make necessary changes par your requirement:
UPDATE shopping_cart sc LEFT JOIN package pc ON sc. package_id = pc.id SET sc. amount = pc.amount