Skip to content
SQLSimplified
hardstorewindowdategroup-by

Monthly Order Trend

Problem

Return each month (YYYY-MM), the order_count for that month, and a running_count accumulated across months, ordered by month.

Try It

Store (Customers/Orders/Products)

Loading database engine...

Hint

Solution

Search

Search lessons, functions, examples, and practice problems