Problem Description

Give a 5% discount on Products that have not sold in the last 180 days. Use Orders + OrderItems to find what sold recently.

Input Format

SQL DML

Output Format

DML statement(s)

Sample Test Case

Input:
Products, Orders, OrderItems
Output:
Prices updated

Constraints

Assume PostgreSQL-style interval

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next