create or replace trigger demo_trigbefore insert on demofor each rowdeclarebegin select demo_seq.nextval into :new.demo_id from dual;end demo_trig;触发器end的时候你多了个demo