Weather Observation Station 1
Problem
Query a list of CITY and STATE from the STATION table.
The STATION table is described as follows:
(STATION 테이블에서 CITY와 STATE를 조회하는 목록을 작성하시오. STATION 테이블은 다음과 같다:)
Solution(Oracle)
SELECT CITY, STATE FROM STATION
ORDER BY CITY, STATE;
세미콜론(;) 작성을 까먹지 말자!
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
'SQL' 카테고리의 다른 글
[HackerRank SQL] Weather Observation Station 7 (Oracle) (0) | 2024.03.31 |
---|---|
[HackerRank SQL] Weather Observation Station 6 (Oracle) (0) | 2024.03.30 |
[HackerRank SQL] Weather Observation Station 5 (Oracle) (0) | 2024.03.29 |
[HackerRank SQL] Weather Observation Station 4 (Oracle) (0) | 2024.03.28 |
[HackerRank SQL] Weather Observation Station 3 (Oracle) (0) | 2024.03.27 |