728x90
❓ Question
https://www.hackerrank.com/challenges/weather-observation-station-9
❗ Answer
SELECT DISTINCT(city)
FROM station
WHERE LEFT(city,1) NOT IN ('a','e','i','o','u')
📌 Discussion
- WHERE NOT IN 으로 포함되지 않는 조건을 걸어줌
'SQL 문제풀이' 카테고리의 다른 글
[해커랭크 SQL] Basic Select - Weather Observation Station 11 (0) | 2023.08.18 |
---|---|
[해커랭크 SQL] Basic Select - Weather Observation Station 10 (1) | 2023.08.18 |
[해커랭크 SQL] Basic Select - Weather Observation Station 8 (0) | 2023.08.18 |
[해커랭크 SQL] Basic Select - Weather Observation Station 7 (0) | 2023.08.18 |
[해커랭크 SQL] Basic Select - Weather Observation Station 6 (0) | 2023.08.16 |