[leetcode] [SQL] Rising Temperature

psy4072·2022년 10월 30일
0

SQL

목록 보기
28/33
post-custom-banner

문제 설명


문제 풀이

SELECT
FROM Weather AS today
	INNER JOIN Weather AS yesterday
    ON DATE_ADD(yesterday.recordDate, INTERVAL 1 DAY) = today.recordDate
WHERE today.temperature > yesterday.temperature

실행 결과

profile
Ⓓ🅰️🅣🄰 ♡♥︎
post-custom-banner

0개의 댓글