Imagine a tiny assistant that watches every change you make to a table and instantly does a task you set up ahead of time — like logging who changed what, or refusing to let a salary decrease. That assistant is a database trigger, and in this chapter we will learn how to create it, control when it runs, and use it to enforce business rules automatically.