Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- MySQL
- group by
- Hackerrank
- solvesql
- recursive
- 패스트캠퍼스
- 시계열데이터분석
- SELF-JOIN
- LeetCode
- 프리미엄
- HACKER_RANK
- Hard
- 파이썬을활용한시계열데이터분석
- 패스트캠퍼스후기
- 파이썬을활용한시계열데이터분석AtoZ올인원패키지Online
- meidum
- 해커랭크
- medium
- join
- 직장인인강
- 다시풀어보기
- 프로그래머스
- 직장인자기계발
- easy
- row_number
- lv.4
- 패캠챌린지
- RANK
- 어려웠음
- SQL
Archives
- Today
- Total
~고군분투 인생살이~
[EASY] Weather Observation Station 8 본문
1. 문제 설명
Query the list of CITY names from STATION which have vowels (i.e., a, e, i, o, and u) as both their first and last characters. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:

where LAT_N is the northern latitude and LONG_W is the western longitude.
2. 문제 풀이
3. 결과
SELECT DISTINCT CITY
FROM STATION
WHERE CITY REGEXP('^[AEIOU]')
AND CITY REGEXP('[AEIOU]$')
'SQL > HACKER_RANK' 카테고리의 다른 글
[HACKER_RANK] THE-PADS (0) | 2022.06.13 |
---|---|
[EASY] Weather Observation Station 9 (0) | 2022.05.29 |
[EASY] Weather Observation Station 7 (0) | 2022.05.29 |
[EASY] Weather Observation Station 6 (0) | 2022.05.29 |
[HACKER_RANK] THE REPORT (0) | 2022.05.01 |
Comments