UPDATE TABLE SET TABLE.col1 = other_table.col1, TABLE.col2 = other_table.col2 FROM TABLE INNER JOIN other_table ON TABLE.id = other_table.id
Moje wypociny:
UPDATE oc_product SET oc_product.tax_class_id =0 JOIN oc_product_to_manufacturer ON oc_product_to_manufacturer.product_id = oc_product.product_id WHERE oc_product_to_manufacturer.manufacturer_id =7 AND oc_product.tax_class_id =9 AND oc_product.price > 47.9
gdzie popelnilem blad?