Trigger is a action which will perform when the table gets insert, update or delete. We can choose the options on what the trigger should get invoked and create the syntax as below
CREATE Trigger triggername
FOR INSERT,UPDATE,DELETE -- We can add or remove the criteria here
-- Action steps needs to carried out should be given here.