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
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
