Question · SQL and MySQL course · Module 10: Transactions and advanced SQL

Committing changes

What does the COMMIT command do at the end of a transaction?

Answer options

  • Undoes all changes back to the state before the transaction
  • Drops the table the transaction worked on
  • Permanently confirms all changes - they become visible to others
  • Creates a backup copy of the database

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