Growth ๐ŸŒณ/Practice ๐Ÿ’ป

[Hacker Rank] Weather Observation Station 16

์ธ” 2022. 8. 22. 12:00

๐Ÿ“ข ๋ณธ ํฌ์ŠคํŒ…์— ํ™œ์šฉ๋˜๋Š” ๊ธฐ๋ณธ ๋ฌธ์ œ ๋ฐ ์ž๋ฃŒ ์ถœ์ฒ˜๋Š” HackerRank ์ž„์„ ๋ฐํž™๋‹ˆ๋‹ค.

https://www.hackerrank.com


โ–  ๋ฌธ์ œ

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

 

Weather Observation Station 16 | HackerRank

Query the smallest of STATION's Northern Latitudes that is greater than 38.7780, and round to 4 decimal places

www.hackerrank.com

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