[LeetCode] 97. Rising Temperature
문제Write a solution to find all dates' id with higher temperatures compared to its previous dates (yesterday).Return the result table in any order.The result format is in the following example. 전날보다 온도가 높은 날의 id값을 출력하면 된다. 쿼리 #1SELECT a.id AS IdFROM Weather aJOIN Weather b ON DATEDIFF(a.recordDate, b.recordDate) = 1 AND a.temperature > b.temperature; 쿼리 #2(LAG 활용)SELECT idFROM ( SELECT ..