일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- solvesql
- Round
- pandas
- airflow 설치
- MySQL
- 머신러닝
- 그로스해킹
- 결측값
- 데이터리안 웨비나
- 다중 JOIN
- 파이썬
- SQL
- mysql :=
- having
- hackerrank
- Limit
- seaborn
- 데이터분석
- SUM
- TRUNCATE
- SQLite
- GROUPBY
- join
- 전처리
- PostgreSQL
- not in
- matplotlib
- 데이터시각화
- 프로그래머스
- Oracle
Archives
- Today
- Total
Milky's note
[HackerRank](E) Weather Observation Station 17 본문
[문제]
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 |
Comments