~고군분투 인생살이~

[EASY] Weather Observation Station 10 본문

카테고리 없음

[EASY] Weather Observation Station 10

소금깨 2022. 5. 29. 14:45

1. 문제 설명

Query the list of CITY names from STATION that do not end with vowels. Your result cannot contain duplicates.

Input Format

The STATION table is described as follows:

where LAT_N is the northern latitude and LONG_W is the western longitude.

2. 문제 풀이

 

3. 결과 

SELECT DISTINCT CITY 
FROM STATION
WHERE CITY REGEXP '[^AEIOU]$.*'

 

Comments