CS FundamentalsModerateHCL · Tech Mahindra pattern

Which isolation-related statement is correct for the SQL standard levels?

  1. A. READ COMMITTED prevents non-repeatable reads
  2. B. READ UNCOMMITTED allows dirty reads
  3. C. SERIALIZABLE allows phantom reads
  4. D. REPEATABLE READ allows dirty reads

Correct answer: B. READ UNCOMMITTED allows dirty reads

Each level forbids more: READ UNCOMMITTED allows all three anomalies; READ COMMITTED forbids dirty reads; REPEATABLE READ also forbids non-repeatable reads; SERIALIZABLE forbids phantoms too.

More DBMS and SQL questions

Exams that ask this topic