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

PL/SQL
PL/SQL What does the following code do? Declare cursor c1 is select

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!