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
+ 0 comments SELECT ROUND( ABS(MIN(LAT_N)-MAX(LAT_N)) + ABS(MIN(LONG_W) - MAX(LONG_W)) ,4) FROM STATION;
+ 0 comments select abs(round((min(lat_n)-max(lat_n)) +(min(long_w)-max(long_w)),4)) from station;
+ 1 comment the expected output is 259.6859 but mine is coming out to be 259.68590000. That must be the reason for the error, I suppose. Although I have tried using Trim (trailing '0'), but does't work. Any suggestions?
select Round(abs(max(lat_n)-min(lat_n))+abs(max(long_w)-min(long_w)),4) as distance from station;
+ 0 comments SELECT ABS(ROUND(((MIN(LAT_N)-MAX(LAT_N))+(MIN(LONG_W)-MAX(LONG_W))),4)) AS distance FROM STATION;
+ 0 comments select round((max(lat_n)-min(lat_n))+ (max(long_w)-min(long_w)),4) from station;
Load more conversations
Sort 1860 Discussions, By:
Please Login in order to post a comment