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