320x100
320x100
Query the list of CITY names from STATION that either do not start with vowels or do not end with vowels. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:
# 나의 해답
SELECT DISTINCT CITY
FROM STATION
WHERE SUBSTR(CITY,1,1) NOT IN ('A','E','I','O','U')
OR SUBSTR(CITY,-1,1) NOT IN ('a','e','i','o','u') ;
320x100
320x100
'빅데이터 관련 자료 > [SQL] Basic' 카테고리의 다른 글
Higher Than 75 Marks (0) | 2021.08.11 |
---|---|
Weather Observation Station 12 (0) | 2021.08.10 |
Weather Observation Station 10 (0) | 2021.08.08 |
Weather Observation Station 9 (0) | 2021.08.07 |
Weather Observation Station 8 (0) | 2021.08.06 |