Your range query lists five orders, then six on its rerun, because a new order arrived. Which anomaly is this?
Your transaction reads a stock count of 12, another transaction commits 9, and your next read gets 9. Which anomaly is this?
A dirty read sees data that was never committed.
Circle one: True False
Two transactions interleave to produce a phantom read. Which level would have prevented it?
Which level is the lowest one that forbids dirty reads?
Which workload fits a weaker isolation level, and why?
Pat claims that, by the SQL standard's definitions, repeatable read also forbids phantoms, since both involve rereading. What is wrong?
A booking system runs at read committed. Each booking checks that no booking row exists for the seat, then inserts one. Sometimes the last seat sells twice. Which level fixes it, and what does it forbid that the current one permits?