Day 03. ์ ๋ชฉ์ด ๋ชจ์์ผ๋ก ๋๋์ง ์๋ ์ํ
https://solvesql.com/problems/film-ending-with-consonant/
SELECT title
FROM film
WHERE SUBSTR(TITLE,-1) NOT IN ('A','E','I','O','U')
AND (rating = 'R' OR rating = 'NC-17')
โwhere ์ ์ substr() ์ฌ์ฉํด์ ๋ค์์๋ถํฐ ๋ชจ์์ด ์๋์ง ์๋์ง ํ์ธ
โwhere ์ ์ rating ์กฐ๊ฑด ๋ฃ๊ธฐ