본문 바로가기

SQL/HackerRank

[MySQL/HackerRank] Select All

Question

Query all columns (attributes) for every row in the CITY table.
The CITY table is described as follows:

My Answer

SELECT *
FROM CITY;

Result

 

출처 : https://www.hackerrank.com/challenges/select-all-sql/problem

 

Select All | HackerRank

Query all columns for every row in a table.

www.hackerrank.com