When the trigger is inserted into a data table, another table Bonus + 100

CREATE OR REPLACE TRIGGER tri_bonus
after insert
ON client_info
FOR EACH ROW
BEGIN
update manger_sal set bonus=bonus+100 where mid=:new.mid;
END tri_bonus;

Guess you like

Origin www.cnblogs.com/gfd1511/p/10994875.html