HackerRank MySQL - Weather Observation Station 18
Query the Manhattan Distance between points P1 and P2 and round it to a scale of 4 decimal places.
- SELECT ROUND(MAX(LAT_N) - MIN(LAT_N) + MAX(LONG_W) - MIN(LONG_W), 4)
- FROM STATION;
Query the Manhattan Distance between points P1 and P2 and round it to a scale of 4 decimal places.
- SELECT ROUND(MAX(LAT_N) - MIN(LAT_N) + MAX(LONG_W) - MIN(LONG_W), 4)
- FROM STATION;
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.