SQL
197. Rising Temperature
Given a Weather
table, write a SQL query to find all dates' Ids with higher temperature compared to its previous (yesterday's) dates.
For example, return the following Ids for the above Weather
table:
Logic: Join two weather tables and iterate all possible (today, yesterday) and output the records with the temperatures higher than its previous dates.