Milky's note

[HackerRank](E) Revising the Select Query I 본문

SQL/SQL 코딩 테스트-HackerRank

[HackerRank](E) Revising the Select Query I

밀뿌 2022. 3. 16. 14:16

 

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:

 

[답]

- oracle

select * from city
where population > 100000
and countrycode = 'USA';

 

Comments