Introduction
A DELETE trigger automatically runs a set of actions when a row is removed from a table. It helps keep data consistent or perform extra tasks without manual work.
You want to log every time a record is deleted from a table.
You need to update related tables when a row is removed.
You want to prevent deletion under certain conditions.
You want to archive deleted data automatically.
You want to maintain audit trails for data changes.