mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-13 14:57:08 +00:00
5 lines
219 B
SQL
5 lines
219 B
SQL
# Write your MySQL query statement below
|
|
SELECT today.id
|
|
FROM Weather today
|
|
JOIN Weather yesterday ON today.recordDate = DATE_ADD(yesterday.recordDate, INTERVAL 1 DAY)
|
|
WHERE yesterday.temperature < today.temperature |