~고군분투 인생살이~

[EASY] Revising the Select Query I 본문

SQL/HACKER_RANK

[EASY] Revising the Select Query I

소금깨 2022. 10. 11. 22:58
 

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:

 

문제 풀이 

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

'SQL > HACKER_RANK' 카테고리의 다른 글

[EASY] Select All  (0) 2022.10.12
[EASY] Revising the Select Query II  (0) 2022.10.11
[HACKER_RANK] Interviews  (0) 2022.06.13
[HACKER_RANK] THE-PADS  (0) 2022.06.13
[EASY] Weather Observation Station 9  (0) 2022.05.29
Comments