-1
可能性の重複このIF-ELSE-THEN文を修正する方法:
How to fix this MySQL trigger?は、MySQLのトリガーで
CREATE TRIGGER Transaction_insert BEFORE INSERT ON Transaction
FOR EACH ROW
IF Account.CreditBalance + NEW.Amount < Account.CreditLimit WHERE Number = NEW.AccountNumber THEN
UPDATE Account SET CreditBalance = CreditBalance + NEW.Amount where Number = NEW.AccountNumber;
ELSE
SET NEW.Valid = 0
END IF;
を私はphpMyAdminのから、このエラーメッセージが表示されます。