Mysql
 sql >> Database >  >> RDS >> Mysql

Come aggiornare automaticamente la tabella in MYSQL usando TRIGGER

CREATE TRIGGER updateloan_update
  BEFORE UPDATE ON loan
  FOR EACH ROW
  SET NEW.app_amnt_owed = NEW.app_intrst + NEW.app_ln_amnt;