Display the records between two range?

Answers were Sorted based on User's Feedback



Display the records between two range?..

Answer / nishi

select rownum, empno, ename from emp where rowid in (select rowid from emp where rownum <=&upto minus select rowid from emp where rownum<&Start);

Is This Answer Correct ?    1 Yes 0 No

Display the records between two range?..

Answer / basanti

select * from emp where emp_id between '200' and '300'

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

Difference between primary key and unique key ?

77 Answers   Accenture, B2B Software Technologies, Cognizant, HP Finsoft, IndiaNIC, Karomi Technology, Keane India Ltd, L&T, Onward eServices, R Systems, Shakti, Techtic Solutions,


What suggestions do you have to reduce the network traffic?

0 Answers  


Can we call a trigger inside a function and function inside a trigger? Give example.

1 Answers   Metric Stream,


What is background process in Oracle?

0 Answers   MCN Solutions,


how to use sequence and what use of sequence cache

1 Answers  


What is a subquery in oracle?

0 Answers  


What is meant by joins? List out the types of joins.

0 Answers  


How to view the data files in the current database?

0 Answers  


How do you rate yourself in oracle and sql server ?

2 Answers   Keane India Ltd,


4. Using a set operator, display the creditor number of all creditors who have ever been paid.

2 Answers   Wipro,


what is IDE,DMV in sql server?

0 Answers  


What is a synonym? What are its various types?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)