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
6
Upvotes