Query to get max and second max in oracle in one query ?
Answer Posted / mehul
select max(sal) from emp where sal not in ( select max(sal)
from emp)
| Is This Answer Correct ? | 29 Yes | 12 No |
Post New Answer View All Answers
What happens to the data files if a tablespace is dropped?
What is difference between cartesian join and cross join?
How to create a new table by selecting rows from another table?
What is an index associated with a constraint?
How to check the oracle tns settings?
What is a nested table?
How to create lov dynamically at runtime & attach to text field?
How to assign query results to variables?
Explain the use of control file?
Explain drop constraint oracle?
What are the execution control statements in oracle?
How to build data dictionary view an new database?
Assuming that you are an End User How to find that in the payment Batch some of the Invoice was Missing To pay How to find That??
Is oracle the best database?
What are the major difference between truncate and delete?