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 |
Tags
- coding
- CSS
- AWS
- mysql
- sql
- 편향-분산 교환
- PYTHON
- branch
- 깃헙협업
- 온라인협업
- 선형 모형
- merge
- 코딩공부
- L1정규화
- window function
- full request
- HTML
- 버전충돌
- hackerrank
- early stopping
- RLIKE
- 클라우드컴퓨팅
- leetcode
- elastic net
- github
- conflict
- programmers
- Git
- 교차 엔트로피
- L2정규화
Archives
- Today
- Total
Im between cherry
Hackerrank | MySQL | Weather Observation Station 12 본문
Weather Observation Station 12
Query the list of CITY names from STATION that do not start with vowels and do not end with vowels. Your result cannot contain duplicates.
- Solution
SELECT DISTINCT city
FROM station
WHERE city NOT REGEXP '^[aeiou]'
AND city NOT REGEXP '[aeiou]$'
SELECT Distinct City
FROM Station
WHERE City NOT rLike '^[aeiou]'
AND City NOT rLike '[aeiou]$'
'데이터분석 > practice_query' 카테고리의 다른 글
Hackerrank | MySQL | Employee Names (0) | 2020.08.28 |
---|---|
Hackerrank | MySQL | Higher Than 75 Marks (0) | 2020.08.28 |
Hackerrank | MySQL | Weather Observation Station 11 (0) | 2020.08.28 |
Hackerrank | MySQL | Weather Observation Station 10 (0) | 2020.08.28 |
Hackerrank | MySQL | Weather Observation Station 9 (0) | 2020.08.28 |
Comments