🤔 문제 분석
1. Query the Western Longitude (LONG_W)where the smallest Northern Latitude (LAT_N) in STATION is greater than 38.7780.
2. Round your answer to decimal places.
💡 풀이
SELECT ROUND(LONG_W, 4)
FROM STATION
WHERE LAT_N = (SELECT MIN(LAT_N)
FROM STATION
WHERE LAT_N > 38.7780)
'코딩테스트 > 해커랭크 SQL' 카테고리의 다른 글
[해커랭크/MySQL] 45. Symmetric Pairs (0) | 2023.04.14 |
---|---|
[해커랭크/MySQL] 44. Placements (0) | 2023.04.13 |
[해커랭크/MySQL] 42. Weather Observation Station 16 (0) | 2023.04.10 |
[해커랭크/MySQL] 41. Weather Observation Station 15 (0) | 2023.03.21 |
[해커랭크/MSSQL] 40. Ollivander's Inventory (0) | 2023.03.21 |
댓글