Database error: Invalid SQL:
SELECT DISTINCT(street), streetlocalitytowncounty AS display_value
FROM food_idx_street
WHERE
(street LIKE 'no%9%') AND SQRT(POWER(ABS(517279 - xm), 2) + POWER(ABS(6212156 - ym), 2)) <= 2000 AND f_country = 224 AND (locality LIKE 'berwick' OR locality LIKE 'berwick-%' OR locality LIKE 'berwick %') AND (town LIKE 'north%berwick')
ORDER BY street
MySQL error: 1054 (1054)
Session halted.