일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- Airflow
- Dynamic Programming
- BOT
- airflow architecture
- 프로그래머스
- Spark
- docker
- Data Engineering
- 데이터 엔지니어
- hackerrank
- dsf
- telegram
- SQL
- Pseudo Lab
- terraform
- Python
- docker image
- datacamp
- airflow webserver
- 빅데이터를 지탱하는 기술
- 알고리즘
- delete join
- data_engineer
- docker container
- leetcode
- 백준 온라인 저지
- MySQL
- 백준온라인저지
- 2023년 목표
- 그리디
Archives
- Today
- Total
Lim Seunghyun Space
[HackerRank] Weather Observation Station 10 본문
문제 : https://www.hackerrank.com/challenges/weather-observation-station-10/
Weather Observation Station 10 | HackerRank
Query a list of CITY names not ending in vowels.
www.hackerrank.com
문제 해설
- STATION 테이블에서 모음(a,e,i,o,u)로 끝나지 않는 CITY의 이름을 조회
- 중복된 CITY는 제외
나의 풀이 (MySQL)
SELECT DISTINCT CITY
FROM STATION
WHERE CITY REGEXP("^.+[^aeiouAEIOU]$");
728x90
'SQL > SQL 문제' 카테고리의 다른 글
[HackerRank] Weather Observation Station 12 (0) | 2021.11.21 |
---|---|
[HackerRank] Weather Observation Station 11 (0) | 2021.11.21 |
[HackerRank] Weather Observation Station 9 (0) | 2021.11.21 |
[HackerRank] Weather Observation Station 8 (0) | 2021.11.21 |
[HackerRank] Weather Observation Station 7 (0) | 2021.11.19 |