UPDATE jos_ezrealty
SET jos_ezrealty.locid = p.id
,jos_ezrealty.locality = p.locality
,jos_ezrealty.owncoords = 1
FROM poblacion p
WHERE jos_ezrealty.alias LIKE '%' || p.locality || '%'
それは私に与えます:
#1064 - 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 poblacion p WHERE jos_ezrealty.alias LIKE '%' || p.locality || '%'' at line 5