Draw The Triangle 2 Hackerrank Solution - SQL

 Draw The Triangle 2 Hackerrank Solution - SQL 


for explanation watch video:




Code::

set serveroutput on;
declare
res clob;
begin
 for i in 1..20 loop
     res := '';
     for j in 1..i loop
       res := res || '*' || ' ';
     end loop;
     dbms_output.put_line(res);
 end loop;
end;
/


Comments

Popular posts from this blog

Print Prime Numbers Hackerrank Solution - PL/SQL

how to store html form data in mysql database using hibernate