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
|
2208 Discussions
|
Please Login in order to post a comment
ORACLE
SELECT ROUND(ABS(MIN(LAT_N) - MAX(LAT_N)) + ABS(MIN(LONG_W) -MAX(LONG_W)), 4) FROM STATION ;
set @a:= (select min(LAT_N) from station); set @b:= (select min(LONG_W) from station); set @c:= (select max(LAT_N) from station); set @d:= (select max(LONG_W) from station); select round(abs(@a-@c)+abs(@b-@d),4)
SET @a = (SELECT MIN(LAT_N) FROM STATION); SET @b = (SELECT MIN(LONG_W) FROM STATION); SET @c = (SELECT MAX(LAT_N) FROM STATION); SET @d = (SELECT MAX(LONG_W) FROM STATION); SELECT ROUND((@d-@b)+(@c-@a),4) FROM STATION LIMIT 1;
select cast((max(lat_n)-min(lat_n))+(max(long_w)-(min(long_w))) as decimal(10,4)) from station