
Hampir setiap DBMS (Database Management System) memiliki fungsi Trigger.
DBMS yang digunakan untuk kasus ini adalah MySQL.
Apa itu Trigger?
A database trigger is procedural code that is automatically executed in response to certain events on a particular table or view in a database. The trigger is mostly used for maintaining the integrity of the information on the database. (http://en.wikipedia.org/wiki/Database_trigger)
A trigger......