[HackerRank] Weather Observation Station 7
2021. 1. 22. 20:24ㆍ데이터베이스/SQL
728x90
반응형
Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. 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 REGEXP '[aeiou]$';
'데이터베이스 > SQL' 카테고리의 다른 글
[HackerRank] Weather Observation Station 9 (0) | 2021.01.22 |
---|---|
[HackerRank] Weather Observation Station 8 (0) | 2021.01.22 |
[HackerRank] Japan Population (0) | 2021.01.21 |
[HackerRank] Employee Names (0) | 2021.01.21 |
[HackerRank] Weather Observation Station 6 (0) | 2021.01.21 |