Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- Revising the Select Query I
- 배열붙이기
- CONCATENATE
- SQL
- 배열쪼개기
- 표본추출
- 넘파이장점
- fancyindexing
- 해커랭크
- 파일저장하기
- 논리배열
- 랜덤샘플링
- 배열형태변경
- buit-in exception
- Revising the Select Query II
- reshape
- 배열자르기
- SQL문제
- 배열분리하기
- 배열나누기
- numpy
- concat
- 배열추가
- ndarray
- 파이썬
- 배열연산
- 넘파이
- 벡터연산
- npy
- Python
Archives
- Today
- Total
기록하는 습관
[SQL] (해커랭크) Revising the Select Query II 본문
Problem
HackerRank > Prepare > SQL > Basic Select > Revising the Select Query II
Query the NAME field for all American cities in the CITY table with populations larger than 120000. The CountryCode for America is USA.
The CITY table is described as follows:

Solution
더보기
SELECT NAME
FROM CITY
WHERE 1=1
and COUNTRYCODE = 'USA'
and POPULATION > 120000
'SQL' 카테고리의 다른 글
| [SQL] (해커랭크) Japanese Cities' Names (0) | 2023.08.18 |
|---|---|
| [SQL] (해커랭크) Japanese Cities' Attributes (0) | 2023.08.17 |
| [SQL] (해커랭크) Select By ID (0) | 2023.08.15 |
| [SQL] (해커랭크) Select All (0) | 2023.08.14 |
| [SQL] (해커랭크) Revising the Select Query I (0) | 2023.08.12 |