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 19
Weather Observation Station 19
Sort by
recency
|
2360 Discussions
|
Please Login in order to post a comment
Two dimensions
SELECT ROUND( SQRT(POWER(MAX(LAT_N) - MIN(LAT_N), 2) + POWER(MAX(LONG_W) - MIN(LONG_W), 2)), 4 ) AS euclidean_distance FROM STATION;
Orale sample
SELECT ROUND( SQRT( POW((MAX(LAT_N)-MIN(LAT_N)),2) + POW((MAX(LONG_W)-MIN(LONG_W)),2) ) ,4) AS DISTANCIA FROM STATION;
SELECT cast( SQRT( POWER(ROUND(MAX(lat_n) - MIN(lat_n), 4), 2) + POWER(ROUND(MAX(long_w) - MIN(long_w), 4), 2) ) AS decimal(10,4)) FROM station;
OUTPUT: 184.1616