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

how to retrive only second row from table?

Answer Posted / vamsi krishna

this query will give the correct answer.
all the answers which are given above are absolutely wrong.
(take it easy who posted them)
select * from (select rownum as r1,empno,ename,sal,deptno
from emp) where r1=2;
(take default emp table for execution)

Is This Answer Correct ?    12 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is microsoft sql free?

1083


How can we avoid duplicating records in a query?

959


how can we know the number of days between two given dates using mysql? : Sql dba

1028


What are stuff and replace function?

1065


Can a varchar be a primary key?

994


Does sql require a server?

994


what is a tablespace? : Sql dba

1038


What is difference between function and trigger?

1024


What are the two different parts of the pl/sql packages?

1070


What is record in pl sql?

1060


What is data control language (dcl)?

1114


What is sql trigger example?

1032


What is the difference between sql and mysql?

1103


Which operator is used in query for pattern matching?

1072


Enlist the characteristics of pl/sql?

1779