[hackerrank] Prepare > SQL > Aggregation > Weather Observation Station 16
[문제]
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:
where LAT_N is the northern latitude and LONG_W is the western longitude.
[MYSQL]
[ORCALE]
select round(lat_n,4)
from (
select *
from station
where lat_n > 38.7780
order by lat_n asc
)
where rownum = 1;
반응형
'HackerRank > SQL' 카테고리의 다른 글
[hackerrank] Weather Observation Station 18 (0) | 2022.09.06 |
---|---|
[hackerrank] Weather Observation Station 17 (0) | 2022.09.06 |
[hackerrank] Weather Observation Station 15 (0) | 2022.08.31 |
[hackerrank] Weather Observation Station 14 (0) | 2022.08.31 |
[hackerrank] Weather Observation Station 13 (0) | 2022.08.31 |