728x90
반응형
https://www.hackerrank.com/challenges/weather-observation-station-13/problem?isFullScreen=true
문제
Query the sum of Northern Latitudes (LAT_N) from STATION having values greater than and less than . Truncate your answer to decimal places.
Input Format
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
Code
SELECT ROUND(SUM(LAT_N), 4)
FROM STATION
WHERE LAT_N BETWEEN 38.7880 AND 137.2345
728x90
반응형
'SQL > MySQL' 카테고리의 다른 글
[MySQL/HackerRank] Weather Observation Station 15 (0) | 2023.08.25 |
---|---|
[MySQL/HackerRank] Weather Observation Station 14 (0) | 2023.08.25 |
[MySQL/HackerRank] Weather Observation Station 2 (0) | 2023.08.25 |
[MySQL/HackerRank] Top Earners (0) | 2023.08.25 |
[MySQL/HackerRank] African Cities (0) | 2023.08.21 |