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

hi all,

This will also work fine, try it

select top 1 * from (select top 2 * from table_name)as set
order by set.col_name desc

here table_name is the name of the table from which
you want to retrive the record.
And col_name is the column name by which you are sorting
the records

If it found wrong plz correct it....
and show it on this site

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are conditional predicates?

986


What is rank () in sql?

878


What is sql*plus?

1016


What is pls integer?

982


What is the difference between instead of trigger and after trigger?

947


How much does sql cost?

926


what are the differences between binary and varbinary? : Sql dba

976


Why do we need pl sql?

934


What is a nested table in word?

909


What is sql architecture?

980


What is lexical units in pl sql?

1041


How do you clear the screen in sql?

1009


can a stored procedure call itself or recursive stored procedure? : Sql dba

955


What is the reports view in oracle sql developer?

924


What happens when a trigger is associated to a view?

838