197_Rising Temperature
Given aWeather
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:
Solution
Use DATEDIFF() function to only inner join yesterday's temperature.
Last updated