Question
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.
My Answer
SELECT CITY, STATE
FROM STATION;
Result
출처 : 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' 카테고리의 다른 글
[MySQL/HackerRank] Weather Observation Station 4 (0) | 2022.07.30 |
---|---|
[MySQL/HackerRank] Weather Observation Station 3 (0) | 2022.07.30 |
[MySQL/HackerRank] Japanese Cities' Names (0) | 2022.07.24 |
[MySQL/HackerRank] Japanese Cities' Attributes (0) | 2022.07.24 |
[MySQL/HackerRank] Select By ID (0) | 2022.07.11 |