Revising the Select Query II HackerRank Solution in SQL

Query the NAME field for all American cities in the CITY table with populations larger than 120000. The CountryCode for America is USA.

The CITY table is described as follows:

Source: HackerRank.com

Revising the Select Query II HackerRank Solution in SQL

SELECT NAME FROM CITY WHERE COUNTRYCODE = 'USA' AND POPULATION > 120000;

Leave a Comment