Query the list of CITY names from STATION which have vowels (i.e., a, e, i, o, and u) as both their first and last characters. Your result cannot contain duplicates.
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
Weather Observation Station 8 HackerRank Solution SQL
select distinct CITY from STATION where CITY RLIKE '^[AEIOU]' and CITY RLIKE '[aeiou]$'
Aayush Kumar Gupta is the founder and creator of ExploringBits, a website dedicated to providing useful content for people passionate about Engineering and Technology. Aayush has completed his Bachelor of Technology (Computer Science & Engineering) from 2018-2022. From July 2022, Aayush has been working as a full-time Devops Engineer.