https://www.hackerrank.com/challenges/weather-observation-station-1/problem
Weather Observation Station 1 | HackerRank
Write a query to print the CITY and STATE for each attribute in the STATION table.
www.hackerrank.com
Query a list of CITY and STATE from the STATION table.
The STATION table is described as follows:

where LAT_N is the northern latitude and LONG_W is the western longitude.
생각해보기
SELECT문의 사용법을 물어보는 문제
CITY와 STATE를 출력
코드
더보기
SELECT CITY, STATE
FROM STATION;
728x90
'서버 > MYSQL' 카테고리의 다른 글
| [MYSQL] HACKERRANK - Weather Observation Station 4 (0) | 2022.06.03 |
|---|---|
| [MYSQL] HACKERRANK - Weather Observation Station 3 (0) | 2022.06.03 |
| [MYSQL] HACKERRANK - Japanese Cities' Names (0) | 2022.05.31 |
| [MYSQL] HACKERRANK - Japanese Cities' Attributes (0) | 2022.05.31 |
| [MYSQL] HACKERRANK - SELECT BY ID (0) | 2022.05.31 |
댓글