[Leetcode]620. 有趣的电影

给定影片表,找出所有影片描述为非 boring (不无聊) 的并且 id 为奇数 的影片,结果请按等级 rating 排列。

思路

按条件写……

Solution

Code

select * from cinema where description <> 'boring' and  MOD(id, 2) = 1 order by rating desc;
评论区

Gitalking ...

Markdown is supported

Be the first guy leaving a comment!