学习时间:
2023年2月14日
题目描述:


题解分享:
# 作 者 : 繁 华 倾 夏
# 力扣(LeetCode):197. 上升的温度
# MySQL 数据库
select
w.Id
from Weather w
join(
select
recordDate, temperature
from
Weather
) t1
on w.recordDate = DATE_ADD(t1.recordDate, INTERVAL 1 day)
where w.temperature > t1.temperature

文章是关于力扣(LeetCode)第197题‘上升的温度’的解法分享,作者繁华倾夏使用MySQL数据库编写了查询代码,找出Weather表中温度比前一天升高的记录。
326

被折叠的 条评论
为什么被折叠?



