| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- JavaScript
- 코딩공부
- array
- Developer_JoyKim
- select
- 최강의 인생
- 코딩테스트
- 코플릿
- 개발자_조이킴
- 자바스크립트
- 재귀함수
- node.js
- array.push()
- 개발자의 책장
- 역행자
- Programmers
- 알고리즘
- 코드스테이츠
- array.slice()
- for문
- SQL
- 정규표현식
- 프로그래머스
- Algorithms
- 배열
- Hackerrank
- 블록체인
- Where
- join
- MySQL
Archives
- Today
- Total
CodingSpace
[HackerRank/SQL] Aggregation - Weather Observation Station 17 본문
HackerRank/SQL
[HackerRank/SQL] Aggregation - Weather Observation Station 17
개발자_조이킴 2022. 8. 2. 09:05Problem. Basic Select - Weather Observation Station 17
Link.
https://www.hackerrank.com/challenges/weather-observation-station-17/problem?isFullScreen=true
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
Description.
Query the Western Longitude (LONG_W)where the smallest Northern Latitude (LAT_N) in STATION is greater than 38.7780.
Round your answer to 4 decimal places.

Key Point.
ROUND,
MIN,
My Answer.
SELECT
ROUND(LONG_W, 4)
FROM STATION
WHERE LAT_N = (SELECT MIN(LAT_N) FROM STATION WHERE LAT_N > 38.7780);
References.
'HackerRank > SQL' 카테고리의 다른 글
| [HackerRank/SQL] Aggregation - Weather Observation Station 20 (0) | 2022.08.04 |
|---|---|
| [HackerRank/SQL] Aggregation - Weather Observation Station 18 (0) | 2022.08.02 |
| [HackerRank/SQL] Aggregation - Weather Observation Station 15 (0) | 2022.08.01 |
| [HackerRank/SQL] Aggregation - Weather Observation Station 14 (0) | 2022.08.01 |
| [HackerRank/SQL] Aggregation - Weather Observation Station 13 (0) | 2022.07.31 |
Comments