Skip to content

197. Rising Temperature

https://leetcode.com/problems/rising-temperature/

sql
select w1.Id from Weather w1, Weather w2
	where w1.Temperature>w2.Temperature and to_days(w1.Date)-to_days(w2.Date)=1