728x90
풀이
CITY 테이블에서 POPULATION이 120000보다 크고,
COUNTRYCODE가 "USA"인 컬럼의 NAME 속성을 출력하는 문제다.
소스코드
출처
Revising the Select Query II | HackerRank
Query the city names for all American cities with populations larger than 120,000.
www.hackerrank.com
728x90
'PS > SQL' 카테고리의 다른 글
[HackerRank] Select By ID [MySQL] (0) | 2024.06.28 |
---|---|
[HackerRank] Select All [MySQL] (0) | 2024.06.27 |
[HackerRank] Revising the Select Query I [MySQL] (0) | 2024.06.21 |
[HackerRank] Japanese Cities' Attributes [MySQL] (0) | 2024.06.19 |
[Programmers SQL 고득점 Kit] 재구매가 일어난 상품과 회원 리스트 구하기 [MySQL] (0) | 2024.02.28 |