Red Glitter Pointer

 

https://leetcode.com/problems/not-boring-movies/description/

 

 

 

 

SELECT *
FROM cinema
WHERE description <> 'boring'
AND MOD(id, 2) = 1
ORDER BY rating DESC

 

느낀 점 및 정리 ✍️

1. odd-numbered ID => MOD(id, 2) = 1

2. description that is not boring => <> 'boring'

3. ordered by rating in descending order => ORDER BY rating DESC

 

 

+ Recent posts

loading