Problem Description

Query needs only (order_date, total_amount) for reports. Create an index that helps covering these columns.

Input Format

SQL DDL

Output Format

DDL statement(s)

Sample Test Case

Input:
Orders(order_date, total_amount)
Output:
Index created

Constraints

DB may or may not use covering; still good practice

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next