i need query for displaying the eno,ename in a table from row
2 to row 5

Answer Posted / mahesh

ans 1 -

select *
from (
select rownum num , empno, ename
from emp
)
where num between 2 and 5

------------------

we can also use row_number function

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention a query to calculate the even and odd records from a table

740


What is sonicmq?

681


How many types of database language exist?

733


How is view stored in database?

752


What is third normal form?

687


Who is communication horizons?

698


Enlist the types of cursor?

712


What are its two major subsystems of r?

789


Explain the components of rdbms?

753


Explain about cursors?

714


How to load a file into database column?

728


How are exceptions handled in pl/sql? Give some of the internal exceptions name?

773


What is database definition (dbd)?

707


Is the server accepting tcp ip connections on port 5432?

675


What do you mean by extension and intension?

763