SyntaxFix
Write A Post
Hire A Developer
Questions
The SET clause should come after the table specification.
SET
UPDATE business AS b INNER JOIN business_geocode g ON b.business_id = g.business_id SET b.mapx = g.latitude, b.mapy = g.longitude WHERE (b.mapx = '' or b.mapx = 0) and g.latitude > 0