Major Towns
Other Towns

Solicitors in Alton
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_solicitors 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 = 170221 and t.idTown <> 3001 and t2.idTown = 3001 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`)'