SQL Practice Test

SQL - Structured Query Language Transaction Control Language (TCL) Questions and Answers

Free · Instant Results

A database administrator begins a transaction, deletes a batch of old records, creates a savepoint named 'PreUpdate', and then updates the salaries for all employees in the 'Sales' department. After reviewing the changes, they realize the salary update was incorrect and needs to be undone, but the deletion of old records should be kept. Which TCL command should they use?
▶ Start Practice Test