delimiter $$create Trigger cf291 after inserton Student_Course for each rowbeginif (Grade<60) then Credit=0elseif (Grade>60) then Credit=new.Credit;end if;end $$delimiter ;
运行说有语法错误,求大神指教