Problem Description

Two doctors on call table. Each transaction sees at least one on call and turns itself off, resulting none on call. Use SERIALIZABLE to prevent.

Input Format

SQL script

Output Format

Statements

Sample Test Case

Input:
OnCall(doctor_id, on_call)
Output:
Serializable prevents skew

Constraints

Concept example

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next