Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 664 Bytes

_197. Rising Temperature.md

File metadata and controls

34 lines (24 loc) · 664 Bytes

All prompts are owned by LeetCode. To view the prompt, click the title link above.

Back to top


First completed : May 22, 2024

Last updated : July 01, 2024


Related Topics : Database

Acceptance Rate : 49.48 %


Solutions

SQL

SELECT 
    w1.id
FROM 
    Weather w1 JOIN Weather w2 ON DATEDIFF(w1.recordDate, w2.recordDate) = 1
WHERE 
    w1.temperature > w2.temperature;