일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- hash
- Python
- Stack
- PPMI
- MySQL
- algorithm
- 파이썬
- 프로그래머스
- dl
- Word2vec
- CBOW
- select
- Heap
- 신경망
- boj
- SQL
- kakao
- FullyConnectedLayer
- affine
- skip-gram
- que
- DeepLearning
- 자연어처리
- sort
- backward
- Numpy
- stak
- Programmers
- Sigmoid
- 딥러닝
Archives
- Today
- Total
혜온의 이것저것
[HackerRank] Weather Observation Station 6 (MySQL) 본문
https://www.hackerrank.com/challenges/weather-observation-station-6/problem?isFullScreen=true
Weather Observation Station 6 | HackerRank
Query a list of CITY names beginning with vowels (a, e, i, o, u).
www.hackerrank.com
문제
Query the list of CITY names starting with vowels (i.e., a, e, i, o, or u) from STATION. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:
![](https://blog.kakaocdn.net/dn/bdohtd/btrI2VuVe05/xkVIoCKgGpng0QGaxMKuV0/img.jpg)
where LAT_N is the northern latitude and LONG_W is the western longitude.
풀이
select distinct city
from station
where city like 'a%' or city like 'e%' or city like 'i%' or city like 'o%' or city like 'u%'
'Data Analysis > SQL' 카테고리의 다른 글
[HackerRank] Weather Observation Station 8 (MySQL) (0) | 2022.08.08 |
---|---|
[HackerRank] Weather Obsercation Station 7 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Observation Station 5 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Observation Station 4 (MySQL) (0) | 2022.08.08 |
[HackerRank] Weather Observation Station 3 (MySQL) (0) | 2022.08.03 |
Comments