Get startedGet started for free

Transaction structure

Here we have a pseudo-code transaction with three SQL statements that we want to succeed or fail as a group. Order the steps so that the transaction is properly structured.

This exercise is part of the course

Transactions and Error Handling in PostgreSQL

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise