You are viewing a single comment's thread. Return to all comments →
What is wrong with this code? I tried to use pythagorean theorem.
select round(sqrt(power(max(LAT_N)-min(LAT_N), 2) + power(max(LONG_W)-min(LONG_W), 2)), 4) from station;
Weather Observation Station 18
You are viewing a single comment's thread. Return to all comments →
What is wrong with this code? I tried to use pythagorean theorem.
select round(sqrt(power(max(LAT_N)-min(LAT_N), 2) + power(max(LONG_W)-min(LONG_W), 2)), 4) from station;