Query to get max and second max in oracle in one query ?
Answer Posted / naveen
select sal from employee where sal >= (select max(sal) from
employee where sal not in (select max(sal) from employee))
| Is This Answer Correct ? | 7 Yes | 14 No |
Post New Answer View All Answers
What is a connect identifier?
What is oracle join syntax?
What is oracle data type?
How to convert characters to times in oracle?
How to insert a record into a table?
How do I learn what codesets are available in oracle?
What is an oracle function?
Explain the different normalization forms?
Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..
Please explain oracle data types with examples?
Why does oracle 9i treat an empty string as null?
what is a Nested Loop join?
What is the data type of dual table?
How to commit the current transaction in oracle?
What are the different types of partitions in oracle?