Lesson 7 of 8
Automate an audit with triggers
Use OLD, NEW, BEFORE, and AFTER without creating invisible logic.
45 minPostgreSQL Pro
By the end of this lesson
- Create a trigger function
- Choose BEFORE or AFTER
- Avoid recursion
SQL Essentials
Unlock this lesson and continue the path.
Automate an audit with triggers is part of the complete programme: 38 lessons, 62 verifiable exercises and 8 published guided projects.
- Complete content with explained examples
- SQL simulator and expected result
- Detailed answer, common mistakes and challenge