SQL/MySQL
[MySQL/HackerRank] Weather Observation Station 7
NLP Developer
2023. 8. 18. 12:04
728x90
반응형
https://www.hackerrank.com/challenges/weather-observation-station-7/problem?isFullScreen=true
Weather Observation Station 7 | HackerRank
Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION.
www.hackerrank.com
문제
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:
Code
SELECT DISTINCT CITY
FROM STATION
WHERE RIGHT(CITY, 1) IN ('A', 'E', 'I', 'O', 'U')
728x90
반응형