SyntaxFix
Write A Post
Hire A Developer
Questions
In mysql the SET clause needs to come after the JOIN. Example:
SET
JOIN
UPDATE e LEFT JOIN a ON a.id = e.aid SET e.id = 2 WHERE e.type = 'user' AND a.country = 'US';