Database error: Invalid SQL:
SELECT DISTINCT(town), towncounty AS display_value
FROM food_idx_town
WHERE
(town LIKE 'b%') AND SQRT(POWER(ABS(456325 - xm), 2) + POWER(ABS(5708697 - ym), 2)) <= 8000 AND f_country = 224 AND (street LIKE 'bridgend road' OR street LIKE 'bridgend road %' OR street LIKE 'the bridgend road') AND (locality LIKE 'aberkenfig' OR locality LIKE 'aberkenfig-%' OR locality LIKE 'aberkenfig %')
ORDER BY town
MySQL error: 1054 (1054)
Session halted.