cs

[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:

https://www.hackerrank.com/challenges/revising-the-select-query/problem

 

[MY ANSWER]

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

 

 

---

 

I need to study all from the beginning. I regret bitterly these days because I am a noobster in the work and as a data analyst. 
So I decided to study from the beginning and record it all in this blog. 
The reason why I writing in English? I don't want to lose all my language skills too. 

Please comment on anything if you find something wrong in SQL or English. It will make me heavy. 

 

+ Recent posts