how to find out second largest value in the table

Answer Posted / irshad ahmad

Select max(price) from product where price
not in (select max(price) from product);

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anyody please send me the dump for Oracle 10g certifications for DBA path?

1682


What are the oracle built-in data types?

557


How to check database size in Oracle?

633


What is logical backup in oracle?

573


Name the three major set of files on disk that compose a database in Oracle?

629






What are the different editions of oracle?

588


Query to retrieve record for a many to many relationship ?

2077


How to set up autotrace for a user account?

590


What are the ansi data types supported in oracle?

516


Why do we use bulk collect in oracle?

568


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.

1601


How to use fetch statement in a loop?

547


Can we create trigger on materialized view in oracle?

559


How to write a query with an inner join in oracle?

560


What is background process in Oracle?

624