Query to get max and second max in oracle in one query ?
Answer Posted / shashank yadav
Select Max(sal) from emp
where sal < any (select sal from emp);
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a view and how is it different from a table?
What are the different types of record groups in oracle? Explain each of them
How to shutdown your 10g xe server from command line?
What is the data type of dual table?
Explain the different normalization forms?
How to use attributes of the implicit cursor in oracle?
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com
What is a directory object?
How to build data dictionary view an new database?
How many categories of data types in oracle?
Explain self joins in oracle?
What are the uses of synonyms?
 How to use an oracle sequence generator in a mapping?
How to insert multiple rows with one insert statement in oracle?