Concept Flow - BEFORE INSERT triggers
New row data ready for insert
BEFORE INSERT trigger fires
Modify row data
Insert modified row into table
Insert done
When a new row is about to be inserted, the BEFORE INSERT trigger runs first. It can change the row data or check conditions before the actual insert happens.