Use the Name edit box to set the trigger name.
Use the Fires dropdown list to define the trigger action time. It can be Before or After to indicate that the trigger activates before or after the statement that activated it.
The Definition tab defines the statement to execute when the trigger activates. To include your statement, just simply click to write. If you want to execute multiple statements, use the BEGIN ... END compound statement construct.
Example:BEGIN set new.capacity = new.capcity + 100; set new.amount = new.amount + 100; END