본문 바로가기
CODING TEST/SQL : HackerRank

[MySQL] Select By ID

by 주 녕 2021. 3. 27.
반응형

 SQL  >  Basic Select  > Select By ID 

 Problem 

Query all columns for a city in CITY with the ID 1661.

The CITY table is described as follows:

 

 My Answer 

SELECT *
FROM CITY
WHERE ID = 1661

 

 

반응형

댓글