728x90
Query the list of CITY names starting with vowels (i.e., a, e, i, o, or u) from STATION. Your result cannot contain duplicates.
이름이 모음으로 시작하는 도시 추출해라.
[ORACLE]

* SUBSTR(문자열, 시작위치, 길이)
시작위치에서 길이만큼 자르기
*INSTR(문자열, 찾을문자열, 시작위치, 발생횟수)
문자열에서 찾고자하는 문자열과 일치하는 위치를 반환
'Data Analyst > SQL' 카테고리의 다른 글
| [Hackerrank-SQL] Weather Observation Station 10 (0) | 2021.08.05 |
|---|---|
| [Hackerrank-SQL] Weather Observation Station 9 (0) | 2021.08.02 |
| [Hackerrank-SQL] Weather Observation Station 8 (0) | 2021.08.02 |
| [Hackerrank-SQL] Weather Observation Station 7 (0) | 2021.08.01 |
| [Hackerrank-SQL] Weather Observation Station 5 (0) | 2021.08.01 |