Snoopy [해커랭크/SQL] 15. Weather Observation Station 10 (REGEXP)
코딩테스트/해커랭크 SQL

[해커랭크/SQL] 15. Weather Observation Station 10 (REGEXP)

Sooyoon Jeong 2023. 2. 21.

 

🤔 문제 분석

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

 

💡 풀이

SELECT DISTINCT CITY
FROM STATION
WHERE CITY REGEXP "[^a|e|i|o|u]$"

댓글