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

develop_wan·2021년 12월 30일

HackerRank SQL

목록 보기
39/51
post-thumbnail

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


문제


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

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

0개의 댓글