oracle PL/SQL习题

(1)编写一个PL/SQL块,输出全部员工的员工姓名、员工号、工资和部门号。web declare v_emp scott.emp%rowtype; cusor a is select empno,ename,sal,deptno from emp; begin open a ; loop fetch a into v_emp; exit when a%notfound;
相关文章
相关标签/搜索