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

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

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!