求助PL/SQL问题

accept no prompt ‘请输入雇员编号’;
declare
no emp.empno%type;
rec emp%rowtype;
begin
select empno into no from emp where empno=&no; --&no:从键盘输入
select * into rec from emp where empno=&no;
dbms_output.put_line(‘经理编号为:’||rec.mgr);
dbms_output.put_line(‘经理编号为:’||rec.empno);
end;
这是我写的1代码,还有利用经理的编号查询详细信息不知道怎么整了,刚学这个,请大佬给看一下
求解PL/SQL oracle问题

相关文章:

  • 2022-01-01
  • 2021-12-05
  • 2021-09-04
  • 2021-08-20
  • 2022-12-23
  • 2021-05-07
猜你喜欢
  • 2021-08-21
  • 2021-04-25
  • 2021-08-20
  • 2021-08-13
  • 2021-04-15
  • 2021-11-16
  • 2022-01-14
相关资源
相似解决方案