Difficulty: Advanced
What is a Phantom Read?
When a transaction reads a set of rows, then another transaction INSERTS a new row that fits the criteria, so when the first transaction reads again, it sees a 'phantom' row.
Isolation Levels
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.