Question: PL/SQL What does the following code do? Declare cursor c1 is select salary from manager; s number(10); n number (10):=0 begin open cl; loop fetch
What does the following code do? Declare cursor c1 is select salary from manager; s number(10); n number (10):=0 begin open cl; loop fetch c1 into s; exit when c 1% not found; n:=n+s; end loop; dbms_output.put_line(n); close cl end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
