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