HackerRank
[HackerRank/SQL] Aggregation - Weather Observation Station 16
개발자_조이킴
2022. 8. 1. 23:40
Problem. Basic Select - Weather Observation Station 16
Link.
Weather Observation Station 16 | HackerRank
Query the smallest of STATION's Northern Latitudes that is greater than 38.7780, and round to 4 decimal places
www.hackerrank.com
Description.
Query the smallest Northern Latitude (LAT_N) from STATION that is greater than 38.7780.
Round your answer to 4 decimal places.
Key Point.
ROUND,
MIN,
My Answer.
SELECT
ROUND(MIN(LAT_N), 4)
FROM STATION
WHERE LAT_N > 38.7780;