Put in order · SQL and MySQL course · Module 10: Transactions and advanced SQL

A test transaction with ROLLBACK

Arrange the steps of a test transaction that ultimately undoes the changes (top to bottom):

Items to put in order

  • UPDATE ksiazki SET cena = 99 WHERE id = 1;
  • ROLLBACK;
  • START TRANSACTION

You can check the correct answer by solving this task in the CodeWorlds game.