From cc6ad678f496a4e1dae82a4d30acdf14aa5e21a1 Mon Sep 17 00:00:00 2001 From: Aryaman Garg <166644611+aryaman0406@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:06:33 +0530 Subject: [PATCH] Add SQL query for rising temperature comparison --- 197. Rising Temperature | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 197. Rising Temperature diff --git a/197. Rising Temperature b/197. Rising Temperature new file mode 100644 index 0000000..c28f849 --- /dev/null +++ b/197. Rising Temperature @@ -0,0 +1,7 @@ +SELECT today.id +FROM Weather yesterday +CROSS JOIN Weather today + +WHERE DATEDIFF(today.recordDate,yesterday.recordDate) = 1 + AND today.temperature > yesterday.temperature +;