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

Weekly Totals

Group sales by week where a week starts on Monday and return the week's start date and the total amount. Order by week start.

Table schema

Sales(sale_date DATE, amount INT)

Sample data

sale_date | amount
2026-10-05 | 10
2026-10-07 | 20
2026-10-12 | 5

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.