find out the second highest salary?
Answer Posted / sumeet
select min(sal) from emp where sal in (select top 2 sal from
emp order by sal desc);
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What do you mean by cdb and pdb in oracle 12c?
Can we protect our pl/sql source code?
Typically, where is the conventional directory structure chosen for Oracle binaries to reside?
What would you do with an in-doubt distributed transaction?
Which is better Oracle or MS SQL? Why?
What is Virtual Private Database in Oracle?
How to loop through a cursor variable?
What is oracle database 10g express edition?
How to define an anonymous procedure with variables?
How many anonymous blocks can be defined?
Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.
How to update a table row with a record?
How to drop an existing view in oracle?
What happens to the indexes if a table is recovered?
what is a Nested Loop join?