Problem Description

You need a consistent report while inserts keep happening in parallel. Start a transaction in REPEATABLE READ and run your report query inside it.

Input Format

SQL script

Output Format

Statements

Sample Test Case

Input:
Orders
Output:
Consistent snapshot

Constraints

Assume PostgreSQL-style interval

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next