| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- 프로그래머스
- 재귀함수
- Algorithms
- for문
- 배열
- array
- select
- Programmers
- JavaScript
- Where
- MySQL
- 알고리즘
- Hackerrank
- SQL
- 블록체인
- Developer_JoyKim
- 최강의 인생
- join
- 개발자의 책장
- 코딩테스트
- 정규표현식
- 개발자_조이킴
- 코딩공부
- 자바스크립트
- array.slice()
- 코플릿
- 역행자
- node.js
- 코드스테이츠
- array.push()
Archives
- Today
- Total
CodingSpace
[HackerRank/SQL] Aggregation - Weather Observation Station 14 본문
HackerRank/SQL
[HackerRank/SQL] Aggregation - Weather Observation Station 14
개발자_조이킴 2022. 8. 1. 09:18Problem. Basic Select - Weather Observation Station 14
Link.
Weather Observation Station 14 | HackerRank
Query the greatest value of the Northern Latitudes from STATION that are under 137.2345 and truncated to 4 decimal places.
www.hackerrank.com
Description.
Query the greatest value of the Northern Latitudes (LAT_N) from STATION that is less than 137.2345.
Truncate your answer to 4 decimal places.

Key Point.
TRUNCATE,
My Answer.
SELECT
TRUNCATE(MAX(LAT_N), 4)
FROM STATION
WHERE LAT_N < 137.2345
References.
'HackerRank > SQL' 카테고리의 다른 글
| [HackerRank/SQL] Aggregation - Weather Observation Station 17 (0) | 2022.08.02 |
|---|---|
| [HackerRank/SQL] Aggregation - Weather Observation Station 15 (0) | 2022.08.01 |
| [HackerRank/SQL] Aggregation - Weather Observation Station 13 (0) | 2022.07.31 |
| [HackerRank/SQL] Advanced Select - Binary Tree Nodes (0) | 2022.07.24 |
| [HackerRank/SQL] Alternative Queries - Draw The Triangle 2 (0) | 2022.07.22 |
Comments