Database/SQL
2022. 5. 23.
Hackerrank / Weather Observation Station 18
https://www.hackerrank.com/challenges/weather-observation-station-18/problem?isFullScreen=true Weather Observation Station 18 | HackerRank Query the Manhattan Distance between two points, round or truncate to 4 decimal digits. www.hackerrank.com Solution #MySQL select round((abs(A.a-A.c)+abs(A.b-A.d)),4) as manhattn from(select min(LAT_N) a, min(LONG_W) b, max(LAT_N) c, max(LONG_W) d from STATIO..