ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Databases  >>  SQL PLSQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
i want to display 1 to 10 numbers using one select statement.
 Question Submitted By :: Charykkr
I also faced this Question!!     Rank Answer Posted By  
 
  Re: i want to display 1 to 10 numbers using one select statement.
Answer
# 1
use sequence. automatically increments.
 
Is This Answer Correct ?    2 Yes 5 No
Pushkar
 
  Re: i want to display 1 to 10 numbers using one select statement.
Answer
# 2
select level from dual  connect by level<=10
 
Is This Answer Correct ?    22 Yes 2 No
Manoj
 
 
 
  Re: i want to display 1 to 10 numbers using one select statement.
Answer
# 3
select in(1,10)
from dual;
 
Is This Answer Correct ?    2 Yes 17 No
Seshu
 
  Re: i want to display 1 to 10 numbers using one select statement.
Answer
# 4
select rownum from user_objects where rownum <= 10
 
Is This Answer Correct ?    4 Yes 4 No
Mkumar.it
 

 
 
 
Other SQL PLSQL Interview Questions
 
  Question Asked @ Answers
 
wht is the difference between truncat,drop in sqlserver wht is the difference between function and stored procedure Apollo1
If I have a table T with 4 rows & 2 columns A & B. A has values 1,2,3,4. and B has 10,20,30,40. Write an Update SQL query which can Swap the values of A & B for all records. (Do not use a sub-query)  2
How to return more than one value from a function?  7
What is ON DELETE CASCADE?  2
how to connect oracle in unix prompt? Polaris2
How can analyze query after generating explain plan ? Thermotech1
What is difference between CHAR and VARCHAR2?What is the maximum SIZE allowed for each type? Saama-Tech2
I need a exceptoin in pl/sql block so that if any errors occur in the block then no exception should errors should raise?  1
can we update a view which is created from two tables  8
When the mutating error will comes? and how it will be resolved?  1
What is a join?Explain the different types of joins? Saama-Tech3
Where the Pre_defined_exceptions are stored ?  1
What is integrity constraints? Ramco3
What are the return values of functions SQLCODE and SQLERRM ? PreVator2
why should required for Indexed by table in pl/sql  2
How to display the contents of a current record fetched in a reference cursor?  1
If an unique key constraint on DATE column is created, will it validate the rows that are inserted with SYSDATE?  2
How to perform a loop through all tables in pl/sql? MBT3
What is Referential Integrity?  2
How can I pass the inner procedure value to outer procedure ?  2
 
For more SQL PLSQL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com