일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- affine
- SQL
- stak
- Numpy
- 자연어처리
- Word2vec
- Stack
- boj
- 프로그래머스
- Programmers
- Sigmoid
- 딥러닝
- select
- skip-gram
- Heap
- 파이썬
- MySQL
- CBOW
- Python
- FullyConnectedLayer
- DeepLearning
- hash
- 신경망
- algorithm
- que
- backward
- dl
- PPMI
- sort
- kakao
Archives
- Today
- Total
혜온의 이것저것
[HackerRank] Weather Observation Station 11 (MySQL) 본문
https://www.hackerrank.com/challenges/weather-observation-station-11/problem?isFullScreen=true
문제
Query the list of CITY names from STATION that either do not start with vowels or do not end with vowels. 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.
풀이
select distinct city from station
where (city not like 'a%'
and city not like 'e%'
and city not like 'i%'
and city not like 'o%'
and city not like 'u%')
or( city not like '%a'
and city not like '%e'
and city not like '%i'
and city not like '%o'
and city not like '%u')
'Data Analysis > SQL' 카테고리의 다른 글
[HackerRank] Higher Than 75 Marks (MySQL) (0) | 2022.08.09 |
---|---|
[HackerRank] Weather Observation Station 12 (MySQL) (0) | 2022.08.09 |
[HackerRank] Weather Observation Station 10 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Observation Station 9 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Observation Station 8 (MySQL) (0) | 2022.08.08 |
Comments