🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: SQL Basics: all 10 questions

Quiz: SQL Basics · Question 5 of 10

Which statement can usually be rolled back inside a transaction?

Which statement can usually be rolled back inside a transaction?

  1. A.DELETE
  2. B.TRUNCATE
  3. C.DROP
  4. D.CREATE
Answer & explanation

Correct answer: DELETE

DELETE is DML and is logged row by row, so it can be rolled back.

Can you get the rest right without peeking?

Take the timed Quiz: SQL Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →