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:
[MY ANSWER]
SELECT NAME FROM CITY
WHERE POPULATION > 120000
AND COUNTRYCODE = 'USA'
---
No Comment
'Code Problems > SQL_ HackerRank' 카테고리의 다른 글
[HackerRank] Weather Observation Station 3 (0) | 2021.04.08 |
---|---|
[HackerRanker] Weather Observation Station 1 (0) | 2021.04.08 |
[HackerRank]Japanese Cities' Names (0) | 2021.04.08 |
[HackerRank]Select By ID (0) | 2021.04.08 |
[HackerRank] Revising the Select Query I (0) | 2021.03.29 |