题目:
题目链接: https://leetcode-cn.com/problems/not-boring-movies/
解题思路:
mysql库函数mod或者div的应用
代码实现:
# Write your MySQL query statement below
select id, movie, description, rating from cinema
where description != 'boring' and mod(id, 2) = 1
order by rating desc;