SQL problem - Not Boring Movies
Problem
My Query
SELECT *
FROM Cinema AS c
WHERE c.id % 2 != 0 AND c.description != 'boring'
ORDER BY rating DESC
Editorial Solution
select *
from cinema
where mod(id, 2) = 1 and description != 'boring'
order by rating DESC
;