728x90
반응형
https://www.hackerrank.com/challenges/weather-observation-station-16/problem?isFullScreen=true
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
문제
Query the smallest Northern Latitude (LAT_N) from STATION that is greater than . Round your answer to decimal places.
Input Format
The STATION table is described as follows:
![](https://blog.kakaocdn.net/dn/bnQkyl/btssgIj7cvd/xxkvEKLByjN5tEpyykD6i0/img.jpg)
where LAT_N is the northern latitude and LONG_W is the western longitude.
Code
SELECT ROUND(MIN(LAT_N), 4)
FROM STATION
WHERE LAT_N > 38.7780
728x90
반응형
'SQL > MySQL' 카테고리의 다른 글
[MySQL/HackerRank] Weather Observation Station 18 (0) | 2023.08.25 |
---|---|
[MySQL/HackerRank] Weather Observation Station 17 (0) | 2023.08.25 |
[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 13 (0) | 2023.08.25 |