Problem Description

When a new OrderItems row is inserted, decrement Inventory.qty.

Input Format

SQL DDL

Output Format

Trigger created

Sample Test Case

Input:
OrderItems, Inventory
Output:
Trigger created

Constraints

Check qty >= requested elsewhere

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next