COMMIT: Commit statement commits the current transaction, which means making the changes permanent. A transaction may involve update and or delete and or insert statements.
ROLLBACK: Rollback statement rolls back the present transaction, which means cancelling a transaction’s changes.
The statement SET AUTOCOMMIT enables or disables the committing transactions automatically for the current session.