일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 파이썬
- Python
- boj
- que
- MySQL
- DeepLearning
- 프로그래머스
- Sigmoid
- 신경망
- FullyConnectedLayer
- Word2vec
- algorithm
- backward
- kakao
- SQL
- dl
- hash
- sort
- Stack
- stak
- Heap
- Numpy
- skip-gram
- Programmers
- 딥러닝
- 자연어처리
- CBOW
- affine
- select
- PPMI
Archives
- Today
- Total
혜온의 이것저것
[HackerRank] Weather Observation Station 15 (MySQL) 본문
Weather Observation Station 15 | HackerRank
Query the Western Longitude for the largest Northern Latitude under 137.2345, rounded to 4 decimal places.
www.hackerrank.com
문제
Query the Western Longitude (LONG_W) for the largest Northern Latitude (LAT_N) in STATION that is less than 137.2345. 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.
풀이
select round(long_w,4)
from station
where lat_n = (select max(lat_n)
from station
where lat_n<137.2345)
'Data Analysis > SQL' 카테고리의 다른 글
[HackerRank] Weather Observation Station 17 (MySQL) (0) | 2022.08.16 |
---|---|
[HackerRank] Weather Observation Station 16 (MySQL) (0) | 2022.08.16 |
[HackerRank] Weather Observation Station 14 (MySQL) (0) | 2022.08.16 |
[HackerRank] Weather Observation Station 13 (MySQL) (0) | 2022.08.15 |
[HackerRank] Weather Observation Station 2 (MySQL) (0) | 2022.08.15 |