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

[해커랭크/SQL] 14. Weather Observation Station 9 (REGEXP)

Sooyoon Jeong 2023. 2. 20.

 

🤔 문제 분석

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

 

💡 풀이

SELECT DISTINCT CITY
FROM STATION
WHERE CITY REGEXP "^[^A|E|I|O|U]"

 

댓글