Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7 0.016 sec
DELIMITER $$
create trigger postponement
BEFORE insert
on flight
for each row BEGIN
IF NEW.Time_of_depart = Flight.Time_of_depart
THEN
SELECT ADDTIME(EW.Time_of_depart, "00:30:00");
END IF;
END $$
DELIMITER ;