Complete the code to start a transaction with repeatable read isolation level.
BEGIN TRANSACTION ISOLATION LEVEL [1];The repeatable read isolation level ensures that all reads within the transaction see a consistent snapshot of the database.
Complete the code to set the transaction isolation level to repeatable read using SET command.
SET TRANSACTION ISOLATION LEVEL [1];Using SET TRANSACTION ISOLATION LEVEL repeatable read sets the isolation level for the current transaction.
Fix the error in the transaction start statement to use repeatable read isolation level.
BEGIN TRANSACTION ISOLATION [1];The correct syntax is BEGIN TRANSACTION ISOLATION LEVEL repeatable read; but since LEVEL is missing, the correct fix is to add the full phrase. Here, the blank replaces only the isolation level name, so 'repeatable read' is correct.
Fill both blanks to complete the query that shows the current transaction isolation level.
SHOW [1] [2];
The correct command is SHOW transaction isolation level; which displays the current isolation level.
Fill all three blanks to complete the SQL that sets repeatable read isolation level and starts a transaction.
[1] TRANSACTION [2] LEVEL [3];
The correct syntax is START TRANSACTION ISOLATION LEVEL repeatable read; which begins a transaction with the specified isolation level.