Trigger:-

  • It is a special type of stored procedure that is invoked automatically in response to an event.
  • Each trigger is associated with a table, which is activated on any DML statement such as INSERT, UPDATE, or DELETE.

Use of triggers in mysql

  • Triggers help us to validate data even before…

--

--