HOW TO PRINT
*
**
***
****
*****
BY USING SQL QUERY? (MAY BE USING SCRIPT)
Answer Posted / bijaylaxmi
declare
m number:=5;
n varchar2(30);
begin
for i in 1..m
loop
for j in 1..i
loop
n:=n||'*';
end loop;
dbms_output.put_line(n);
n:=null;
end loop;
end;
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you write an index?
how to convert numeric values to character strings? : Sql dba
what is unique key constraint? : Sql dba
What are all ddl commands?
what is meant by nl2br()? : Sql dba
List the ways to get the count of records in a table?
How do you write a subquery?
How do I run a script in sql developer?
What version is sql?
Is ms sql is free?
Is sqlite free?
How do rank () and dense_rank () differ?
Is sql easier than java?
Is sql similar to python?
How do I view a sql database?