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

Can a foreign key have a different name?

944


Is sqlexception checked or unchecked?

975


What is sql partition?

1114


what is the difference between clustered and non clustered index in sql? : Sql dba

1131


What is the difference between truncate and drop statements?

1195


Is sqlite thread safe?

1058


What is gpt format?

946


Is sql developer case sensitive?

1005


What are the possible values for the boolean data field?

966


How to write html code in pl sql?

1119


What is character functions?

1066


Explain the order of sql statement execution?

1049


what is the difference between a having clause and a where clause? : Sql dba

1092


What are the different types of a subquery?

1053


How do I view a view in sql?

956