how to find the second highest salary from emp table?
Answer Posted / mohamed hussain
select salary from
(select salary,Dense_RANK() over (Order by salary desc) as
Level from salary) TMP
where Level=@Level
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is pl/sql table? Why is it used?
What are the advantages of pl sql over sql?
What is difference between sql and oracle?
what are the type of locks ? : Sql dba
Can we use delete in merge statement?
what is clause? : Sql dba
What does partition by mean in sql?
What is the purpose of the partition table?
What is the difference between left and left outer join?
What is rownum and rowid?
What are different types of keys?
Is sql injection illegal?
What is a design view?
What does trigger mean in slang?
What is data control language?