본문 바로가기
서버/MYSQL

[MYSQL] HACKERRANK - Weather Observation Station 1

by HDobby 2022. 6. 1.

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

댓글