Question · SQL and MySQL course · Module 11: Capstone project

What a transaction guarantees

What does a transaction in a database guarantee?

Answer options

  • That queries will be displayed in a different color
  • That the data will be automatically deleted after an hour
  • That a set of operations runs completely or not at all - after an error the changes can be undone with ROLLBACK
  • That the table will be sorted alphabetically

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