Mysql(Mariadb)之创建触发器CREATE TRIGGER分析(英文)CREATE TRIGGER
CREATE TRIGGERSyntaxCREATE [OR REPLACE] [DEFINER = { user | CURRENT_USER | role | CURRENT_ROLE }] TRIGGER [IF NOT EXISTS] trigger_name trigger_time trigger_event ON tbl_name FOR EACH ...