表: Weather
±--------------±--------+
| Column Name | Type |
±--------------±--------+
| id | int |
| recordDate | date |
| temperature | int |
±--------------±--------+
id 是这个表的主键
该表包含特定日期的温度信息
编写一个 SQL 查询,来查找与之前(昨天的)日期相比温度更高的所有日期的 id 。
返回结果 不要求顺序 。
题目解答# Write your MySQL query statement below select b.Id from Weather as a,Weather as b where a.Temperature < b.Temperature and DATEDIFF(a.RecordDate,b.RecordDate) = -1;题目运行



