CS FundamentalsModerateGATE CS · PSU (ISRO/BARC)

Which isolation anomaly is still possible at the SQL REPEATABLE READ level (as defined by the SQL standard)?

  1. A. Dirty reads
  2. B. Phantom reads
  3. C. Dirty writes (overwriting uncommitted data)
  4. D. Non-repeatable reads

Correct answer: B. Phantom reads

REPEATABLE READ locks/guards the rows already read, so re-reading them returns the same values; but new rows matching a predicate can still appear (phantoms). Only SERIALIZABLE rules them out.

More DBMS and SQL questions

Exams that ask this topic