 other programming languages, functions need to be associated to some events
<ul>
<li>the most common events are: <code>INSERT</code>, <code>UPDATE</code>, and <code>DELETE</code></li>
<li>with 1 modifier (specified before the event): <code>BEFORE</code> or <code>AFTER</code></li>
</ul></li>
<li>The event can be triggered for each row or for the whole statement
<ul>
<li>a single <code>INSERT</code>, <code>UPDATE</code>, or <code>DELETE</code> statement can apply to 1 or multiple rows</li>
<li>by default, we