Created
September 29, 2020 17:19
-
-
Save Justus-coded/4f03eb2740efe1b45f4437960d9af97c to your computer and use it in GitHub Desktop.
Hackerrank Challenge - Weather Observation Station(WOS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates. | |
*/ | |
SELECT DISTINCT CITY | |
FROM STATION | |
WHERE RIGHT(UPPER(CITY),1) IN ('A', 'E', 'I', 'O', 'U') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment