Q
/* Manhattan distance |x1 - x2| + |y1 - y2| */ SELECT ROUND(ABS(MAX(LAT_N) - MIN(LAT_N)) + ABS(MAX(LONG_W) - MIN(LONG_W)),4) FROM STATION