๐ข ๋ณธ ํฌ์คํ ์ ํ์ฉ๋๋ ๊ธฐ๋ณธ ๋ฌธ์ ๋ฐ ์๋ฃ ์ถ์ฒ๋ HackerRank ์์ ๋ฐํ๋๋ค.
โ ๋ฌธ์
https://www.hackerrank.com/challenges/weather-observation-station-16/problem?isFullScreen=true
Query the smallest Northern Latitude (LAT_N) from STATION that is greater than . Round your answer to 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.
โ ํ์ด
SELECT ROUND(MIN(LAT_N), 4)
FROM STATION
WHERE LAT_N > 38.7780
Weather Observation Station 14 ์ ๋น์ทํ ์ ํ์ธ๋ฐ ์ด๋ฒ ๋ฌธ์ ์์๋ ๋ถ์๋๊ฐ 38.7780 ๋ฅผ ์ด๊ณผํ๋ ์คํ ์ด์ ์์ ๊ฐ์ฅ ์ต์ (๋ถ)์๋๋ฅผ ์ฐพ์ผ๋ฉด์ ๋ท์งธ์๋ฆฌ๊น์ง ๋ฐ์ฌ๋ฆผ(ROUND) ํ ๊ฐ์ ์ถ์ถํ๋ผ๊ณ ํ์๋ค.
'Growth ๐ณ > Practice ๐ป' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Hacker Rank] Occupations (0) | 2022.08.24 |
---|---|
[Hacker Rank] Type of Triangle (0) | 2022.08.24 |
[Hacker Rank] Weather Observation Station 14 (0) | 2022.08.22 |
[Hacker Rank] The Blunder (0) | 2022.08.20 |
[SQL] ์ฐ์ต๋ฌธ์ (0) | 2022.08.03 |