how to find the second highest salary from emp table?
Answer Posted / dev anand s
select salary from (
select salary, dense_rank() over(order by salary desc) rank from emp) where rank=2;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of pl sql?
What is acid property in a database?
Is primary key an index?
What is the function that is used to transfer a pl/sql table log to a database table?
What is an implicit commit?
What is a join?
What are string functions in sql?
How does a self join work?
What are the types of join in sql?
What is a table in a database?
What do you mean by “trigger” in sql?
what is clause? : Sql dba
What is a nested table in word?
What is the use of pl/sql table?
What does stand for in sql?