LC 620
- 题号:620
- 来源:LeetCode
- 难度:简单
- 标签:
排序数学 - 语言:SQL
- 解法:1 个
- 作者:lmliheng
- 最近更新:2026-09-27
SQL · 更新于 2026-09-27
取奇数 id 且描述不无聊的电影,按评分降序
sql
-- @difficulty easy
-- @tags 排序,数学
-- @note 取奇数 id 且描述不无聊的电影,按评分降序
select id,movie,description,rating
from cinema
where id%2=1 and description!='boring'
order by rating desc在 GitHub 上查看题目所在目录:lmliheng/algorithm