Anusha Murali

Logo

Please see github.com/anusha-murali for all of my repositories.

View GitHub Profile

1. Revising the SELECT Query I: Solution


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:

1

solution_image5

We need to select all the rows from CITY, where COUNTRYCODE='USA' and POPULATION > 100000. So, our query will be as follows

SELECT *
FROM CITY
WHERE COUNTRYCODE='USA' AND POPULATION > 100000;

Back to problems


anusha-murali.github.io