SQL/Hacker Rank
[EASY] Weather Observation Station 9
소금깨
2022. 5. 29. 14:43
1. 문제 설명
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:

where LAT_N is the northern latitude and LONG_W is the western longitude.
2. 문제 풀이
3. 결과
SELECT DISTINCT CITY
FROM STATION
WHERE CITY REGEXP '^[^AEIOU].*'