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

SELECT * FROM employees a
WHERE 2 = (SELECT COUNT(rowid)
FROM employees b
WHERE a.rowid >= b.rowid);

this will select the 2nd row.. if we write instead of 2 it
will select 8th row.... login to hr/hr schema and run the
code. it will work fine..

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define join and explain different type of joins? : Sql dba

1002


Why join is faster than subquery?

1161


What is error ora-12154: tns:could not resolve the connect identifier specified?

1125


What is a native sql query?

1171


what is myisam? : Sql dba

1160


What are the advantages of pl sql over sql?

1074


Is inner join same as self join?

1168


what is an extent ? : Sql dba

1160


what is collation? : Sql dba

1205


Which is faster truncate or drop?

1101


what is the use of friend function? : Sql dba

1061


Is there any restriction on the use of union in embedded sql?

1199


What is pl sql code?

1106


How to rename a table?

1075


What view means?

1025