SQL - Triggers
You wrote this trigger:
But it causes an error. What is the likely problem?
CREATE TRIGGER trg_before_insert BEFORE INSERT ON orders FOR EACH ROW BEGIN SET NEW.order_date = CURRENT_DATE; END;
But it causes an error. What is the likely problem?
