320x100
320x100
Query the list of CITY names from STATION that do not start with vowels and 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')
AND SUBSTR(CITY,-1,1) NOT IN ('a','e','i','o','u') ;
320x100
320x100
'빅데이터 관련 자료 > [SQL] Basic' 카테고리의 다른 글
Employee Names (0) | 2021.08.12 |
---|---|
Higher Than 75 Marks (0) | 2021.08.11 |
Weather Observation Station 11 (0) | 2021.08.09 |
Weather Observation Station 10 (0) | 2021.08.08 |
Weather Observation Station 9 (0) | 2021.08.07 |