Database error: Invalid SQL:
SELECT DISTINCT(town), towncounty AS display_value
FROM food_idx_town
WHERE
(town LIKE 'c%') AND SQRT(POWER(ABS(508083 - xm), 2) + POWER(ABS(5893252 - ym), 2)) <= 1000 AND f_country = 224 AND (street LIKE 'chester road' OR street LIKE 'chester road %' OR street LIKE 'the chester road') AND (locality LIKE 'aldford' OR locality LIKE 'aldford-%' OR locality LIKE 'aldford %')
ORDER BY town
MySQL error: 1054 (1054)
Session halted.