728x90
https://leetcode.com/problems/rising-temperature/
SELECT today.id
FROM Weather AS today
INNER JOIN Weather AS yesterday ON today.recordDate = DATE_ADD(yesterday.recordDate, INTERVAL 1 DAY)
WHERE today.temperature > yesterday.temperature;
728x90
'IT > 코딩테스트' 카테고리의 다른 글
[Leetcode] 1089. Duplicate Zeros (0) | 2023.09.02 |
---|---|
[Leetcode] 577. Employee Bonus (0) | 2023.09.01 |
[Leetcode] 1581. Customer Who Visited but Did Not Make Any Transactions (0) | 2023.08.30 |
[Leetcode] 1683. Invalid Tweets (0) | 2023.08.29 |
[Leetcode] 1148. Article Views I (0) | 2023.08.29 |