Im between cherry

Hackerrank | MySQL | Revising the Select Query I 본문

데이터분석/practice_query

Hackerrank | MySQL | Revising the Select Query I

meal 2020. 8. 27. 17:51

Revising the Select Query I

 

Problem

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:

Solution

SELECT *
FROM city
WHERE population > 100000
AND countrycode = 'USA'
Comments