상세 컨텐츠

본문 제목

Weather Observation Station 15(HackerRank)

SQL/MySQL 문제풀이

by 관재탑 2022. 7. 18. 16:36

본문

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

 

Weather Observation Station 15 | HackerRank

Query the Western Longitude for the largest Northern Latitude under 137.2345, rounded to 4 decimal places.

www.hackerrank.com

 

 

문제

Query the Western Longitude (LONG_W) for the largest Northern Latitude (LAT_N) in STATION that is less than . Round your answer to  decimal places.

 

 

정답 쿼리

SELECT ROUND(LONG_W, 4)
FROM STATION
WHERE LAT_N < 137.2345
ORDER BY LAT_N DESC
LIMIT 1

'SQL > MySQL 문제풀이' 카테고리의 다른 글

관련글 더보기

댓글 영역