[MSSQL] 해커랭크(HackerRank) - Weather Observation Station 15

develop_wan·2021년 12월 30일

HackerRank SQL

목록 보기
37/51
post-thumbnail

https://www.hackerrank.com/challenges/weather-observation-station-15/problem?isFullScreen=true


문제


해석
STATION에서 137.2345보다 작은 가장 큰 북위도(LAT_N)에 대한 서부 경도(LONG_W)를 쿼리합니다. 당신의 답을 소수점 4자리까지 반올림하세요.

select
    format(long_w,'#.0000')
from
    station
where
    lat_n = (select
                max(lat_n)
             from
                station
             where
                lat_n < 137.2345)
profile
서른. 개발자가 되기로 했다

0개의 댓글