Problem Description

Create view v_category_revenue that returns category and revenue using OrderItems and Products.

Input Format

SQL DDL

Output Format

View created

Sample Test Case

Input:
OrderItems, Products
Output:
View created

Constraints

Revenue = qty*price

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next