0
我有一個包含一些表的數據庫。我想創建一個觸發器「刪除記錄在tblplayersfield與在tblplayers刪除的記錄的‘PID’」在MySQL中創建觸發器時遇到問題
CREATE TRIGGER delete_from AFTER DELETE on tblplayers
FOR EACH ROW
BEGIN
DELETE FROM tblplayerfields
WHERE 'tblplayerfields'.'pID' = OLD.'pID';
END
而你的問題是? –