Database error: Invalid SQL:
SELECT DISTINCT(locality), localitytowncounty AS display_value
FROM food_idx_locality
WHERE
(locality LIKE 'w%') AND SQRT(POWER(ABS(596334 - xm), 2) + POWER(ABS(5792879 - ym), 2)) <= 1000 AND f_country = 224 AND (street LIKE 'warwick castle' OR street LIKE 'warwick castle %' OR street LIKE 'the warwick castle')
ORDER BY locality
MySQL error: 1054 (1054)
Session halted.