SQL/MySQL

[MySQL/HackerRank] Revising the Select Query I

NLP Developer 2023. 8. 12. 14:56
728x90
반응형

https://www.hackerrank.com/challenges/revising-the-select-query/problem?isFullScreen=true 

 

Revising the Select Query I | HackerRank

Query the data for all American cities with populations larger than 100,000.

www.hackerrank.com

문제

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:

 

Code

SELECT *
FROM CITY
WHERE COUNTRYCODE = 'USA' AND POPULATION > 100000
728x90
반응형