Complete the code to start a transaction in MySQL.
[1];The BEGIN statement starts a new transaction in MySQL.
Complete the code to save changes permanently in a transaction.
[1];The COMMIT statement saves all changes made in the current transaction permanently.
Fix the error in the code to cancel all changes in the current transaction.
[1];The ROLLBACK statement cancels all changes made in the current transaction.
Fill both blanks to start a transaction and then save changes.
[1]; -- some SQL statements [2];
First, BEGIN starts the transaction, then COMMIT saves the changes.
Fill all three blanks to start a transaction, cancel changes, and then start a new transaction.
[1]; -- some SQL statements [2]; [3];
First, BEGIN starts the transaction, then ROLLBACK cancels changes, and BEGIN starts a new transaction again.
