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

Define the relationship between ‘view’ and ‘data independence’.

1036


When should you consider denormalization?

958


What are the four components of a database system?

844


What are types of dbms?

980


Why is normalisation used?

901


What is considered a database?

968


What are stored-procedures? And what are the advantages of using them.

956


What is procedure in database?

983


How rdbms is different from dbms?

890


What is dba in dbms?

1039


What is entity relationship diagram?

880


What are the 4 main objects of a database?

956


What are the different stages in 'data warehousing'?

964


What is the difference between star flake and snow flake schema?

921


What are the three main types of models?

882