Skip to main content

Revising the Select Query I

· One min read
Kaustubh Kulkarni

Query all columns for all American cities in the CITY table with populations larger than 100000. The CountryCode for America is USA.

The CITY table is described as follows:

Answer :

SQL
select * from CITY where COUNTRYCODE='USA' and POPULATION > 100000;