1 Star 0 Fork 41

姚振鑫 / 力扣刷题

forked from 19级软件1班 / 力扣刷题 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
有趣的电影.sql 488 Bytes
一键复制 编辑 原始数据 按行查看 历史
姚振鑫 提交于 2020-05-12 10:37 . sql
Create table cinema
(
Id int primary key identity(1,1) not null,
movie varchar(255) not null,
[description] varchar(255) not null,
rating int not null,
)
insert into cinema(movie,[description],rating) values('War',' great 3D', 8.9),('Science','fiction',8.5),('irish','boring',6.2),('Ice song','Fantacy',8.6),(' House card','Interesting',9.1)
select distinct(l.Id),l.movie,l.[description],l.rating from cinema l,cinema l1 where l.description!='boring' and l.Id%2=1 order by rating desc
SQL
1
https://gitee.com/yao_zhen_xin/leet_code_sql.git
git@gitee.com:yao_zhen_xin/leet_code_sql.git
yao_zhen_xin
leet_code_sql
力扣刷题
master

搜索帮助