Problem Description

Make a simple daily sales report for the last 7 days. From Orders(order_date, total_amount), show order_date and total sales per day.

Input Format

SQL query

Output Format

Result set

Sample Test Case

Input:
Orders(order_date, total_amount)
Output:
7 rows

Constraints

Assume PostgreSQL-style interval

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next