--按照salgrade表中的標準, --給員工加薪,1:5%,2:4%,3:3%,4:2%,5:1%,

declaer cursor s1 is selcet * from emp;  v_res emp%rowtype;    begin    open s1;    fetch s1 into v_res;    loop      exit when s1%notfound;      if        v_res.job='PRESIDENT' then        update emp
相關文章
相關標籤/搜索