197. Rising Temperature(SQL)

# Easy

# Write your MySQL query statement below
select w1.Id 
from Weather w1, Weather w2
where datediff(w1.recordDate, w2.recordDate) = 1 
    and w1.Temperature > w2.Temperature

Last updated

Was this helpful?