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