100 ms simple query

  • 0

    This gave me the exact output that was expected but Leetcode says it's still wrong. I compared item by item and it was an exact match so I feel confident that this is good match. Feel free to let me know why this may be getting rejected.

    select w1.Id 
    from weather w1 left join weather w2
    on w1.Date = w2.Date + 1
    where w1.Temperature > w2.Temperature;

Log in to reply

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