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