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...


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

Answers were Sorted based on User's Feedback



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

Answer / subrat

SELECT LEVEL
FROM DUAL
CONNECT BY LEVEL<=9;

Is This Answer Correct ?    0 Yes 0 No

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

Answer / gangadhar

SQL> select *
2 from xmltable('for $i in 1 to 10 return $i');

Is This Answer Correct ?    0 Yes 0 No

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

Answer / hemant

select 1||chr(10)||2||chr(10)||3||chr(10)||4||chr(10)
||5||chr(10)||6||chr(10)||7||chr(10)||8||chr(10)||9||chr(10)
||10 from dual
/

Is This Answer Correct ?    6 Yes 12 No

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

Answer / pushkar

use sequence. automatically increments.

Is This Answer Correct ?    10 Yes 27 No

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

Answer / rashmi raju

select 1,2,3,4,5,6,7,8,9,10 from dual;

Is This Answer Correct ?    3 Yes 20 No

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

Answer / ameer mujahid

select rownum from employees;

Is This Answer Correct ?    0 Yes 19 No

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

Answer / aditya

select 1,2,3,4,5,6,7,8,9,10

Is This Answer Correct ?    1 Yes 27 No

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

Answer / seshu

select in(1,10)
from dual;

Is This Answer Correct ?    15 Yes 71 No

Post New Answer

More SQL PLSQL Interview Questions

What are sql procedures?

0 Answers  


Can i possible to see Table Details ? Ex : Table Name Date Time User Emp May/18/2010 12:59pm Scott

3 Answers  


How do you optimize SQL queries ?

6 Answers   CarrizalSoft Technologies, Infosys, Oracle,


What is an alias command?

0 Answers  


State the difference between implict and explict cursor's?

7 Answers   CTS,


What are the types of subqueries?

0 Answers  


How to export the table data (this table having 18 million records) to .csv file. Please tell me is there any faster way to export the data.

8 Answers  


What is sql profiler in oracle?

0 Answers  


type type_name is table of varchar2(30) index by binary_integer for the above type you have to create a identifier... like identifier_name type_name; for the above type you can use the below methods..like first , last , prior, next , delege..etc...like this.. if you create a cursor...like cursor cursor_name is select * from scott.emp; is there any methods like above to use prior, fist , last , next , trim ,etc...

1 Answers   Satyam,


What are the differences between implicit and explicit cursors?

0 Answers  


Is sql a microsoft product?

0 Answers  


What is nvl?

0 Answers  


Categories