Problem Description

For Orders sorted by order_date, show running sum of total_amount.

Input Format

SQL query

Output Format

Result set

Sample Test Case

Input:
Orders(order_date, total_amount)
Output:
Running total

Constraints

Use window SUM

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next