🤔 문제 분석
- Query the sum of Northern Latitudes (LAT_N) from STATION
- having values greater than 38.7880 and less than 137.2345.
- Truncate your answer to 4 decimal places.
💡 풀이
SELECT TRUNCATE(SUM(LAT_N), 4)
FROM STATION
WHERE LAT_N > 38.7880 AND LAT_N < 137.2345
'코딩테스트 > 해커랭크 SQL' 카테고리의 다른 글
[해커랭크/SQL] 33. Weather Observation Station 14 (0) | 2023.03.13 |
---|---|
[해커랭크/SQL] 32. The PADS (concat, 문자열 합치기) (0) | 2023.03.13 |
[해커랭크/SQL] 30. Weather Observation Station 2 (0) | 2023.03.12 |
[해커랭크/SQL] 29. Top Earners (0) | 2023.03.08 |
[해커랭크/SQL] 28. The Blunder - replace 함수 (0) | 2023.03.08 |
댓글