Rising Temperature Sql Leetcode Question