A Trigger is essentially a special type of stored procedure that can be executed in response to one of…