"HR-SQL Weather Observation Station 11"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
==개요==
==개요==
;HR-SQL Weather Observation Station 11
;HR-SQL Weather Observation Station 11
*
* https://www.hackerrank.com/challenges/weather-observation-station-11/problem


{{HR-SQL 헤더}}
{{HR-SQL 헤더}}
17번째 줄: 17번째 줄:
==MySQL==
==MySQL==
<source lang='sql'>
<source lang='sql'>
SELECT DISTINCT CITY FROM STATION
WHERE LEFT(CITY,1) NOT IN ('a','e','i','o','u')
OR RIGHT(CITY,1) NOT IN ('a','e','i','o','u');
</source>
</source>



2018년 8월 15일 (수) 22:42 판

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}