Home > Software > Databases > PL-SQL
Interview Questions   Tutorials   Discussions   Programs   Videos   

PL-SQL - I want to display 1 to 10 numbers using one select statement.




565
views
asked mar May 21, 2014 04:37 AM  

I want to display 1 to 10 numbers using one select statement.


           

1 Answer



 
answered By Parvesh Soni   0  
select level l from dual connect by level<=&n;

Change value of n and you will get sequence of number.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert