how to find the second highest salary from emp table?
Answer Posted / vinodkumar
select *from(select *from emp orderby sal desc)where
ronum<=2 minus select *from (select *from emp order by sal
desc ) where rownum<=1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to take user input in pl sql?
what is oracle database ? : Sql dba
What is native sql query?
What is the purpose of the sql select top clause?
How do I start pl sql?
What is trigger in sql and its types?
What are different types of functions in sql?
What is bind variable in pl sql?
How many commands are there in sql?
explain primary keys and auto increment fields in mysql : sql dba
What do you mean by “trigger” in sql?
Does inner join remove duplicates?
What is oracle sql developer?
What is mdf ldf and ndf?
How would you pass hints to the sql processor?