728x90
❓ Question
https://www.hackerrank.com/challenges/weather-observation-station-16
❗ Answer
SELECT ROUND(MIN(lat_n),4)
FROM station
WHERE lat_n > 38.7780;
📌 Discussion
- WHERE 절에서 조건을 걸고 최소값에 반올림하여 레코드 추출
'SQL 문제풀이' 카테고리의 다른 글
[해커랭크 SQL] Aggregation - Weather Observation Station 18 (0) | 2023.08.25 |
---|---|
[해커랭크 SQL] Aggregation - Weather Observation Station 17 (0) | 2023.08.25 |
[해커랭크 SQL] Aggregation - Weather Observation Station 15 (0) | 2023.08.25 |
[해커랭크 SQL] Aggregation - Weather Observation Station 14 (0) | 2023.08.25 |
[해커랭크 SQL] Aggregation - Weather Observation Station 13 (0) | 2023.08.25 |