Problem Description

Delete orders where status='CANCELLED' and the order_date is older than 90 days from today.

Input Format

SQL DML

Output Format

DML statement(s)

Sample Test Case

Input:
Orders(order_date, status)
Output:
Rows deleted

Constraints

Assume PostgreSQL-style interval

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next