Skip to content

Instantly share code, notes, and snippets.

@QuatoHub
Created March 28, 2022 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuatoHub/41a17c6d50a472ae5f921b7017b30372 to your computer and use it in GitHub Desktop.
Save QuatoHub/41a17c6d50a472ae5f921b7017b30372 to your computer and use it in GitHub Desktop.
SELECT
ROUND(SQRT(
POWER(MAX(LAT_N) - MIN(LAT_N), 2)
+ POWER(MAX(LONG_W) - MIN(LONG_W), 2)
), 4)
FROM STATION;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment