Query the list of CITY names from STATION that do not end with vowels. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:

Works on MS SQL SERVER
This file contains hidden or 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
SELECT DISTINCT city FROM station WHERE city NOT LIKE '%[aeiou]'; |
Congratulations, you passed the sample test case.
Click the Submit Code button to run you code against all the test cases.
No comments:
Post a Comment