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
'MySQL' 카테고리의 다른 글
[프로그래머스-LV1] 흉부외과 또는 일반외과 의사 목록 출력하기 (0) | 2023.11.08 |
---|---|
[프로그래머스-LV 1] 경기도에 위치한 식품창고 목록 출력하기 (1) | 2023.11.08 |
[프로그래머스-LV 1] 조건에 맞는 회원 수 구하기 (0) | 2023.11.08 |
[SQL-쌩기초] Weather Observation Station 3 (0) | 2023.11.06 |
[SQL-쌩기초] Revising the Select Query I (0) | 2023.11.05 |