LeetCode[MySQL] : Rising Temperature

SOOYEON·2022년 3월 19일
0

SQL

목록 보기
10/54

Rising Temperature

Q

SELECT W2.id
FROM Weather W1 LEFT OUTER JOIN Weather W2
ON W1.recordDate =  SUBDATE(W2.recordDate,1) # W2.recordDate-1 틀림
WHERE W2.temperature > W1.temperature 

0개의 댓글