select w1.id from Weather w1, Weather w2 where datediff(w1.recorddate,w2.recorddate)=1 and w1.Temperature>w2.Temperature;
https://www.w3school.com.cn/sql/func_datediff.aspsql
datediff(date1,date2): 1.結果爲日期一和日期二的差值 2.若是日期一>日期二,結果爲正,反之,爲負。ide