Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c231312

Browse files
Rising Temperature
1 parent 6d1aa02 commit c231312

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Link: https://leetcode.com/problems/rising-temperature/
2+
Tool: MS SQL Server
3+
4+
5+
6+
7+
8+
9+
10+
select a.id
11+
from Weather a join Weather b
12+
on datediff(day, b.recordDate, a.recordDate) = 1 and a.temperature > b.temperature;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /