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

Why indexing is used in database?

871


Explain top-n analysis in DBMS.

1535


Enlist ways to efficiently code transactions.

1059


What do you understand by proactive, retroactive and simultaneous update?

1110


What is 2nf and 3nf?

881


What entity means?

808


What does fill factor concept mean with respect to indexes?

877


Define union all operator and union.

871


How to get a book from database MS access that contain 'i' charactor in it's name like internetbook or networkingbook. what will be java query for this purpose?

947


What is tuple in rdbms?

1014


Can group by and ordered by used in a single query?

916


What is natural key?

927


Define database.

942


What are the two major subsystems of system r?

1029


What do you mean by dml compiler?

991