Problem Description

You want to do: reserve stock, then charge payment. Show savepoint usage so payment failure restores stock.

Input Format

SQL script

Output Format

Statements

Sample Test Case

Input:
Inventory, Payments
Output:
Safe workflow

Constraints

Use savepoint between steps

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next