delimiter // CREATE TRIGGER before_insert_money BEFORE INSERT ON money FOR EACH ROW BEGIN UPDATE accounts SET balance=10.0; END; // delimiter ;