Query
I'm trying to executing the below query but in my phpmyadmin says
- You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM eest_estimated_total pet INNER JOIN eest_total pt ON pt.OrderNo = pet.Order' at line 1
UPDATE eest_estimated_total
SET pet.Freight = pt.FrieghtCost, pet.CustomDuty = pt.ImportDuty
FROM eest_estimated_total pet
INNER JOIN eest_total pt
ON pt.OrderNo = pet.OrderNo
WHERE pt.OrderNo = pet.OrderNo
So may i know where im doing wrong ?