二、编写一个程序块,将emp表中前5人的名字

declare cursor s1 is select * from emp; v_res emp%rowtype; begin   open s1;   fetch s1 into v_res;    for a in 1..5 loop      dbms_output.put_line(v_res.ename);   fetch s1 into v_res;    end loop; clo
相关文章
相关标签/搜索