[SQL] Weather Observation Station 17

1373 단어 hackerrankhackerrank

✅ Weather Observation Station 17


📝 문제

Query the Western Longitude (LONG_W)where the smallest Northern Latitude (LAT_N) in STATION is greater than 38.7780. Round your answer to 4 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.

Sample Input


💻 풀이

SELECT ROUND(LONG_W, 4)
FROM STATION
WHERE LAT_N > 38.7880
ORDER BY LAT_N ASC
LIMIT 1;

좋은 웹페이지 즐겨찾기