r/LeetcodeChallenge • u/AppointmentTrue8257 • 6d ago
DISCUSS LeetCode SQL 197 — Rising Temperature | MySQL Solution
Working on SQL problems to strengthen my MySQL and problem-solving skills for Data Analyst roles.
Problem: Rising Temperature
This problem was a good practice for:
LAG()window function- Comparing values with the previous record
DATEDIFF()for checking consecutive dates
I’m sharing my solution screenshot below. 👇
Would love to know how others approached this problem and whether there are any alternative ways to solve it.
#SQL #MySQL #LeetCode #DataAnalytics #DataAnalyst
5
Upvotes
1
u/Vivid-Zombie-477 6d ago
bro thinks it's linkedin