From 30994229626a9fca93d5fee73c5502e7166f084a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Antonio=20Chac=C3=B3n=20Guti=C3=A9rrez?= <138903866+joseantoniochacon@users.noreply.github.com> Date: Fri, 31 May 2024 15:15:24 -0600 Subject: [PATCH] Time: 1829 ms (5.01%), Space: 0B (100.00%) - LeetHub --- 0197-rising-temperature/0197-rising-temperature.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0197-rising-temperature/0197-rising-temperature.sql b/0197-rising-temperature/0197-rising-temperature.sql index 6784739..08faa4e 100644 --- a/0197-rising-temperature/0197-rising-temperature.sql +++ b/0197-rising-temperature/0197-rising-temperature.sql @@ -1,2 +1,2 @@ # Write your MySQL query statement below -SELECT id FROM Weather w1 WHERE temperature > (SELECT temperature FROM Weather w2 WHERE w2.recordDate = DATE_SUB(w1.recordDate, INTERVAL 1 DAY)); \ No newline at end of file +SELECT w1.id FROM Weather w1 WHERE w1.temperature > (SELECT w2.temperature FROM Weather w2 WHERE w2.recordDate = DATE_SUB(w1.recordDate, INTERVAL 1 DAY)); \ No newline at end of file