Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Running Maximum Price

Medium Window Frames

For each day return the price and the highest price seen up to and including that day. Order by day.

Table schema

Prices(day INT PRIMARY KEY, price INT)

Sample data

day | price
1 | 5
2 | 3
3 | 8
4 | 6

Discussion

No discussions yet.

Rewards · v2.1

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.