Before Row-Level Trigger v13
The following example is a before row-level trigger that calculates the commission of every new employee belonging to department 30 that is inserted into the emp
table.
The listing following the addition of the two employees shows that the trigger computed their commissions and inserted it as part of the new employee rows.