Q) Write and explain the syntax of ‘while loop’ in PL/SQL.

                WHILE LOOP :-

·       While loop statement to execute a sequence of statement as long as a specified condition is TRUE. 

               Syntax

 

WHILE condition

LOOP

   Statements ;

End loop ;

 

 

 

 

 


While loop’ statement continuous to execute the statement b/w LOOP and END LOOP