Problem Description

On update of OrderItems.qty, adjust Inventory by the difference.

Input Format

SQL DDL

Output Format

Trigger created

Sample Test Case

Input:
OrderItems, Inventory
Output:
Trigger created

Constraints

diff = NEW.qty - OLD.qty

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next