https://www.hackerrank.com/challenges/weather-observation-station-13/problem?isFullScreen=true

 

Weather Observation Station 13 | HackerRank

Query the sum of Northern Latitudes having values greater than 38.7880 and less than 137.2345, truncated to 4 decimal places.

www.hackerrank.com

코드설명

ROUND + BETWEEN 을 활용합니다.

 

ORACLE 코드

SELECT ROUND(SUM(LAT_N), 4)
FROM STATION
WHERE LAT_N BETWEEN 38.7880 AND 137.2345;

+ Recent posts