You are viewing a single comment's thread. Return to all comments →
MySQL
SELECT ROUND(POWER(POWER(MIN(lat_n) - MAX(lat_n), 2) + POWER(MIN(long_w) - MAX(long_w), 2), 1/2), 4) FROM station;
I used POWER function with 1/2 as second parameter to do the square root, but SQRT function can be used instead.
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 19
You are viewing a single comment's thread. Return to all comments →
MySQL
I used POWER function with 1/2 as second parameter to do the square root, but SQRT function can be used instead.