Query for second maximum salary in each in each department
Answer Posted / yaswanth
select salary from(select salary,rownum rk from(select salary from employees order by salary desc)) ehere rk=2;
| Is This Answer Correct ? | 2 Yes | 13 No |
Post New Answer View All Answers
What are different types of keys?
How to rename a table?
What is pl/sql table? Why is it used?
Can there be 2 primary keys in a table?
What is a pdo connection?
What are sql commands?
What is substitution variable in pl sql?
What is an oracle stored procedure?
Explain the working of primary key?
how many tables will create when we create table, what are they? : Sql dba
What is audit logout in sql profiler?
What are database links used for?
how to use myisamchk to check or repair myisam tables? : Sql dba
What is java sql package?
Can 2 queries be executed simultaneously in a distributed database system?