create or replace trigger tri4
  2  before update on
  3  system.student
  4  for each row
  5  begin
  6    if :new.salary<:old.salary then
  7    dbms_output.put_line('新工资输入错误哦');
  8    raise_application_error(-2003,'新工资不得低于原工资');
  9    else
 10    dbms_output.put_line('原工资为'||:old.salary||'新工资为'||:new.salary);
 11  end;
 12  /
错误:LINE/COL ERROR
-------- ------------------------------------------------
7/4      PLS-00103: 出现符号 ";"在需要下列之一时:   if  
求解释啊