Problem Description

Assume your database supports materialized views. Create one materialized view that stores monthly revenue from Orders.

Input Format

SQL DDL

Output Format

View created

Sample Test Case

Input:
Orders
Output:
Materialized view created

Constraints

Assume PostgreSQL-style DATE_TRUNC

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next