🤔 문제 분석
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]$"
'코딩테스트 > 해커랭크 SQL' 카테고리의 다른 글
[해커랭크/SQL] 17. Weather Observation Station 12 (REGEXP) (0) | 2023.02.21 |
---|---|
[해커랭크/SQL] 16. Weather Observation Station 11 (REGEXP) (0) | 2023.02.21 |
[해커랭크/SQL] 14. Weather Observation Station 9 (REGEXP) (0) | 2023.02.20 |
[해커랭크/SQL] 13. Weather Observation Station 8 (REGEXP) (0) | 2023.02.20 |
[해커랭크/SQL] 12. Weather Observation Station 7 (0) | 2023.02.20 |
댓글