일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- stak
- 신경망
- que
- 프로그래머스
- select
- 딥러닝
- backward
- 파이썬
- PPMI
- MySQL
- Numpy
- DeepLearning
- kakao
- Python
- sort
- affine
- hash
- 자연어처리
- Heap
- Sigmoid
- algorithm
- SQL
- Word2vec
- Stack
- CBOW
- boj
- Programmers
- skip-gram
- FullyConnectedLayer
- dl
Archives
- Today
- Total
혜온의 이것저것
[HackerRank] Weather Observation Station 9 (MySQL) 본문
https://www.hackerrank.com/challenges/weather-observation-station-9/problem?isFullScreen=true
Weather Observation Station 9 | HackerRank
Query an alphabetically ordered list of CITY names not starting with vowels.
www.hackerrank.com
문제
Query the list of CITY names from STATION that do not start with vowels. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:
![](https://blog.kakaocdn.net/dn/bYg4I3/btrJcGcA2BD/FDKW8kTBOfzUA7yvJRqpz0/img.jpg)
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%'
'Data Analysis > SQL' 카테고리의 다른 글
[HackerRank] Weather Observation Station 11 (MySQL) (0) | 2022.08.09 |
---|---|
[HackerRank] Weather Observation Station 10 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Observation Station 8 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Obsercation Station 7 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Observation Station 6 (MySQL) (0) | 2022.08.08 |
Comments