2 Star 8 Fork 41

19级软件1班/力扣刷题

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
上升的温度.sql 376 Bytes
一键复制 编辑 原始数据 按行查看 历史
姚振鑫 提交于 2020-05-12 10:37 +08:00 . sql
Create Table Werther
(
Id int primary key identity(1,1) not null,
RecordDate date not null,
Temperature int not null,
)
insert into Werther(RecordDate,Temperature) values('2015-01-01','10'),('2015-01-02','25'),('2015-01-03','20'),('2015-01-04','30')
select l.Id from Werther l,werther l1 where dateDiff(day,l1.RecordDate,l.RecordDate)=1 and l.Temperature>l1.Temperature
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
SQL
1
https://gitee.com/grade19_soft_class1/leet_code_sql.git
[email protected]:grade19_soft_class1/leet_code_sql.git
grade19_soft_class1
leet_code_sql
力扣刷题
master

搜索帮助