I keep getting this error near ".": syntax error: for the following SQL statement in SQLLite. Trying to update the price in one table if its id exists in another table which would have the new price
UPDATE tbl_tempwork SET tbl_tempwork.tempwork_productwholesale =
tbl_pricelevel.pricelevel_wholesale FROM tbl_pricelevel WHERE
tbl_pricelevel.pricelevel_productid = tbl_tempwork.tempwork_productid