Complete the code to set the transaction isolation level to READ COMMITTED in PostgreSQL.
SET TRANSACTION ISOLATION LEVEL [1];The READ COMMITTED level is the default in PostgreSQL and ensures that any data read is committed at the moment it is read.
Complete the code to start a transaction with SERIALIZABLE isolation level in PostgreSQL.
BEGIN TRANSACTION ISOLATION LEVEL [1];The SERIALIZABLE isolation level provides the strictest transaction isolation, preventing phenomena like phantom reads.
Fix the error in the code to set the transaction isolation level to REPEATABLE READ.
SET TRANSACTION ISOLATION [1] REPEATABLE READ;The correct syntax is SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; where LEVEL is required.
Fill both blanks to complete the command that sets the isolation level to READ UNCOMMITTED (even though PostgreSQL treats it as READ COMMITTED).
SET TRANSACTION [1] [2] READ UNCOMMITTED;
The correct syntax is SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; even though PostgreSQL treats it as READ COMMITTED internally.
Fill all three blanks to complete the command that starts a transaction with REPEATABLE READ isolation level.
BEGIN [1] ISOLATION [2] [3];
The correct command is BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ; to start a transaction with that isolation level.