WAP to use while loop in PL/SQL
step-1
RUN THIS COMMAND
create table tb1(id number);
IF SUCCESSFULLY RUN THEN WRITE PL/SQL COMMAND
step-2
declare
vid number:=0;
begin
while(vid<=10)
loop
insert into tb1(id)
values(vid);
vid:=vid+1;
dbms_output.put_line(vid);
end loop;
end;