Hye ,
I am having this kind of problem. Could anyone please help me why I am getting this error?
UPDATE company_alert
SET company_alert.alert_value = company_financial.receivable
FROM company_alert INNER JOIN company_financial
ON company_alert.stock_code=company_financial.stock_code
WHERE company_financial.year_id=company_alert.year_id
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM company_alert INNER JOIN company_financial
ON company_alert.stock_code=comp' at line 3