Problem Description

Orders, OrderItems, Products. Show category-wise revenue for shipped orders only.

Input Format

SQL query

Output Format

Result set

Sample Test Case

Input:
Orders(status), OrderItems(qty, price), Products(category)
Output:
Category revenue

Constraints

Assume revenue = qty*price

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next