A simple solution, easy to understand


  • 0
    L
    select w1.Id from Weather w1, Weather w2 where TO_DAYS(w1.DATE)-TO_DAYS(w2.DATE)=1 and w1.Temperature > w2.Temperature;

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.