Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to produce numbers from 1 to 10 using dual table

Answer Posted / nihar ranjan nath

SELECT n FROM (SELECT ROWNUM n FROM DUAL CONNECT BY LEVEL<=10)
WHERE n<=1;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain alias?

1193


Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

2179


Explain mutating triggers.

1088


How to create id with auto_increment on oracle?

1040


In the oracle version 9.3.0.5.0, what does each number shows?

1344


What do you mean by group by clause?

1093


State all possible different index configurations a table can possibly have?

1101


What are the differences between blob and clob in oracle?

1135


How many types of cluster table in Oracle?

1080


Can sub procedure/function be called recursively?

1049


Explain compound trigger in oracle?

1088


What are set operators?

1137


what is insert all statement in sql

6625


State and explain the different types of data models?

993


Point the difference between translate and replace?

1152