Query for second maximum salary in each in each department
Answer Posted / arvind kumar
select * from employees e where (select count(salary) from
employees where salary >=e.salary)=2;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Does inner join return duplicate rows?
What is java sql driver?
which types of join is used in sql widely? : Sql dba
How to Declare Fixed Length String Value In PL SQL
what is bdb (berkeleydb)? : Sql dba
What are the different types of dbms?
Define sql delete statement.
What is meant by cursor in sql?
What are the different ways to optimize a sql query?
Which is better join or inner query?
What does t sql mean?
What is rank () in sql?
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
what does the t-sql command ident_incr does? : Transact sql
Can we use views in stored procedure?