Problem Description

Show that you should lock a row before updating by using SELECT ... FOR UPDATE.

Input Format

SQL script

Output Format

Statements

Sample Test Case

Input:
Accounts
Output:
Row locked then updated

Constraints

Works in many DBs

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next