320x100
320x100
Query the list of CITY names starting with vowels (i.e., a, e, i, o, or u) from STATION. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:
# 나의 해답
SELECT CITY
FROM STATION
WHERE (SUBSTR(CITY,1,1) = 'A' or
SUBSTR(CITY,1,1) = 'E' or
SUBSTR(CITY,1,1) = 'I' or
SUBSTR(CITY,1,1) = 'O' or
SUBSTR(CITY,1,1) = 'U' );
320x100
320x100
'빅데이터 관련 자료 > [SQL] Basic' 카테고리의 다른 글
Weather Observation Station 8 (0) | 2021.08.06 |
---|---|
Weather Observation Station 7 (0) | 2021.08.05 |
Weather Observation Station 5 (0) | 2021.08.03 |
Weather Observation Station 4 (0) | 2021.08.02 |
Weather Observation Station 3 (0) | 2021.08.01 |