일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Limit
- Oracle
- solvesql
- pandas
- airflow 설치
- Round
- seaborn
- 프로그래머스
- GROUPBY
- SQL
- SQLite
- 데이터분석
- 전처리
- 그로스해킹
- having
- PostgreSQL
- TRUNCATE
- 데이터리안 웨비나
- 머신러닝
- matplotlib
- MySQL
- 데이터시각화
- 다중 JOIN
- 파이썬
- SUM
- not in
- 결측값
- join
- hackerrank
- airflow.cfg
Archives
- Today
- Total
Milky's note
[HackerRank](E) Weather Observation Station 17 본문
Weather Observation Station 17 | HackerRank
Query the Western Longitude for the smallest value of the Northern Latitudes greater than 38.7780 in STATION and round to 4 decimal places.
www.hackerrank.com
[문제]
Query the Western Longitude (LONG_W)where the smallest Northern Latitude (LAT_N) in STATION is greater than 38.7880. 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.
[답]
- mysql
select round(long_W,4) from station
where lat_n > 38.7880
order by lat_n
limit 1
'SQL > SQL 코딩 테스트-HackerRank' 카테고리의 다른 글
[HackerRank](E) African Cities (0) | 2022.03.25 |
---|---|
[HackerRank](E) Population Census (0) | 2022.03.25 |
[HackerRank](E) Weather Observation Station 16 (0) | 2022.03.25 |
[HackerRank](E) Weather Observation Station 15 (0) | 2022.03.25 |
[HackerRank](E) Weather Observation Station 14 (0) | 2022.03.25 |