융무의 기술블로그
article thumbnail

https://www.hackerrank.com/challenges/weather-observation-station-10/problem?h_r=next-challenge&h_v=zen

 

Weather Observation Station 10 | HackerRank

Query a list of CITY names not ending in vowels.

www.hackerrank.com

  • query CITY names ==> SELECT CITY
  • from STATION table ==> FROM STATION
  • do not end with vowels ==> WHERE CITY REGEXP ‘[^aeiou]$’
  • do not contain duplicates ==> SELECT DISTINCT CITY
select distinct city 
from station
where city regexp '[^aeiou]$';

profile

융무의 기술블로그

@융무

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!