We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weather Observation Station 18
Weather Observation Station 18
Sort by
recency
|
2107 Discussions
|
Please Login in order to post a comment
select round(abs(min(LAT_N )-max(LAT_N ))+abs (min(LONG_W )-max(LONG_W )),4) from station
MS SQL Server:
This one works fine:
Select CONVERT(DECIMAL(8,4),(Abs(Min(lat_n) - Max(lat_n)) + Abs(Min(long_w) - Max(long_w)))) As Decimal_value from STATION;
every one seems to be using this query but its not working, please what is the right one? SELECT ROUND(ABS(MAX(LAT_N) - MIN(LAT_N)) + ABS(MAX(LONG_W) - MIN(LONG_W)), 4) AS Manhattan_Distance FROM STATION;
select round( (max(lat_n) - min(lat_n)) +(max(long_w) - min(long_w)),4) from station;
Select ROUND (ABS (MIN(LAT_N) - MAX(LAT_N)) + ABS (MIN(LONG_W) - MAX(LONG_W)), 4) As Manhattan_Distance From STATION;