What is the purpose of a trigger in a database?
Q1. What is the purpose of a trigger in a database?
Answer: To execute a set of actions automatically when a specific event occurs
Explanation: Triggers automatically execute a set of actions when a specific database event occurs, such as insert, update, or delete.