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

Answer Posted / pramod kumar behera

select rownum from dual connect by level <=10;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to show all tables with 'mysql'? : Sql dba

597


Can %notfound return null after a fetch?

579


How to get list of all tables from a database?

620


What is exit statement?

537


What is java sql drivermanager?

539






What is vector point function?

555


Explain aggregate functions are available there in sql?

526


What is sql*plus?

561


How do I clear the screen in sql plus?

538


What is record in pl sql?

587


What is the difference between a database and a relational database?

558


What is sql basics?

570


Is pl sql different from sql?

524


What is the difference between numeric and autonumber?

494


i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5

3187