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
Who is the owner of mysql database?
What is execute immediate?
What do you mean by stored procedures?
Explain exception handling in pl/sql?
What is dml and ddl?
what is collation? : Sql dba
Why do we use view in sql?
Is sql a dbms?
Can we use commit inside a trigger?
What is query syntax?
What is dynamic query?
What is the difference between python and sql?
what is a database transaction? : Sql dba
What is the difference between microsoft sql and mysql?
What is a system versioned table?