
๐ข ๋ณธ ํฌ์คํ ์ ํ์ฉ๋๋ ๊ธฐ๋ณธ ๋ฌธ์ ๋ฐ ์๋ฃ ์ถ์ฒ๋
ํด์ปค๋ญํฌ Prepare / https://www.hackerrank.com/dashboard ์์ ๋ฐํ๋๋ค.
โ ๋ฌธ์
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.
โ ํ์ด
๋ฌธ์ ์๊ตฌ์ฌํญ
38.7780 ๋ณด๋ค ๋์ ๋ถ๋ถ ์๋์ค์ < WHERE ์กฐ๊ฑด1
๊ฐ์ฅ ๋ฎ์ ์๋๋ฅผ ์ฐพ์์ ๋ท์งธ์๋ฆฌ๊น์ง ๋ฐ์ฌ๋ฆผ < ์ง๊ณํจ์ MIN() โ ์ซ์ ๋ฐ์ฌ๋ฆผ ROUNDํจ์ ์ฌ์ฉ
SELECT ROUND(MIN(LAT_N), 4)
FROM STATION
WHERE LAT_N > 38.7780;
'Growth ๐ณ > Practice ๐ป' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[ํด์ปค๋ญํฌ] The Report (2) | 2023.01.29 |
---|---|
[ํด์ปค๋ญํฌ] Top Earners (0) | 2023.01.29 |
[ํ๋ก๊ทธ๋๋จธ์ค] ๋์ฌ ํ์๊ฐ ๋ง์ ์๋์ฐจ๋ค์ ์๋ณ ๋์ฌ ํ์ ๊ตฌํ๊ธฐ (0) | 2023.01.25 |
[ํ๋ก๊ทธ๋๋จธ์ค] ์๋์ฐจ ์ข ๋ฅ๋ณ ํน์ ์ต์ ์ด ํฌํจ๋ ์๋์ฐจ ์ ๊ตฌํ๊ธฐ (0) | 2023.01.15 |
[ํ๋ก๊ทธ๋๋จธ์ค] ์์ด์ง ๊ธฐ๋ก ์ฐพ๊ธฐ(2์ฐจํ์ด) / ๋ฌธ์ ํน์ด์ ๋ฐ๊ฒฌ (0) | 2023.01.14 |