2012-10-30 56 views

回答

0

CREATE TRIGGER Syntax

create trigger salary_trigger 
    before update on employee 
    for each row begin 
     if new.salary != old.salary then 
      set new.old_salary = old.salary 
     end if; 
    end;