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 find out second largest value in the table

Answer Posted / vishal

select * from (
select * from test where sal < (select max(sal) from test)
order by 2 desc)
where rownum =1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is translate in oracle?

1062


Explain oracle instance.

1127


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1890


How to write date and time interval literals in oracle?

998


What is BBED in Oracle?

1110


What are the different types of partitions in oracle?

931


What do you mean by a database transaction & what all tcl statements are available in oracle?

952


Why oracle is used?

1016


Will you be able to store pictures in the database?

1080


What is a read write transaction in oracle?

1053


How to use existing values in update statements using oracle?

1029


How to update values in a table in oracle?

976


What is oracle server autotrace in oracle?

1113


1) What is ONE_SIZE_FITS_ALL approach? 2) Explain the Common & Variable Header of DATA FILE? 3) What are the Drawbacks to using OMF DB? and the Advantages? 4) List out the Advantages of Undo T.spaces over the Undo SEGMENT? 5) Difference between the Temporary tablespace with TEMPFILE and the Tablespace with TEMPORARY Keyword? 6) What are the situation extents are freeing for reuse.

2039


How to use "while" statements in oracle?

1258