Monday, September 12, 2022

HackerRank: SQL Basic Select BY ID

Question:

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

The CITY table is described as follows:




Answer:
SELECT ID, NAME, COUNTRYCODE, DISTRICT, POPULATION FROM CITY WHERE ID=1661;

No comments:

Post a Comment