Major Towns
Other Towns

Travel Agents in Swanley
SELECT
sqrt((abs(p.x - t2.x) * abs(p.x - t2.x)) + (abs(p.y-t2.y) * abs(p.y-t2.y))) as distance,
b.*, t.nameTown, t.sefTown, c.sefCounty, c.nameCounty, p.* from businesses_travelagents b
join towns t on b.idTown = t.idTown
join counties c on t.idCounty = c.idCounty
join postcodes p on b.shortPostCode = p.postcode
join towns t2
where
b.idBusinessType = 170371 and
t.idTown <> 4241 and
t2.idTown = 4241
order by (abs(p.x - t2.x) * abs(p.x - t2.x)) + (abs(p.y-t2.y) * abs(p.y-t2.y))
limit 8BIGINT UNSIGNED value is out of range in '(`vpsdaygo_ukbuisness`.`p`.`x` - `vpsdaygo_ukbuisness`.`t2`.`x`)'