Before row-level trigger v16
This example shows a before row-level trigger that calculates the commission of every new employee belonging to department 30 that's 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: