MySQL
[SQL-쌩기초] Revising the Select Query II
고고잉93
2023. 11. 5. 21:17
728x90
https://www.hackerrank.com/challenges/revising-the-select-query-2/problem
Revising the Select Query II | HackerRank
Query the city names for all American cities with populations larger than 120,000.
www.hackerrank.com
CITY 테이블에서 미국 (CountryCode가 USA인)의 인구가 120,000 이상인 모든 도시의 NAME 필드를 조회하십시오.
select name
from city
where
population > 120000 and
countrycode = 'USA';
728x90