728x90
문제는 여기서 볼 수 있습니다.
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:
위의 CITY 테이블에서, population이 100000 보다 크고, CountryCode가 USA인 row를 추출하는 문제입니다.
코드는 아래와 같습니다.
select *
from city
where population > 100000 and countrycode = 'USA';
728x90
'SQL' 카테고리의 다른 글
[프로그래머스/SQL] 보호소에서 중성화한 동물 (0) | 2022.08.27 |
---|---|
[프로그래머스/SQL] 우유와 요거트가 담긴 장바구니 (0) | 2022.08.26 |
[Leetcode/SQL] 1179. Reformat Department Table (0) | 2022.08.25 |
[프로그래머스/SQL] 없어진 기록 찾기 (0) | 2022.08.25 |
[Leetcode/SQL] 626. Exchange Seats (0) | 2022.08.23 |