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
What is a pragma statement?
Are stored procedures compiled?
What does pragma mean?
What are the different types of functions in sql?
what are date and time intervals? : Sql dba
What are all the different normalizations?
How do you optimize a query?
What is a boolean in sql?
What are the parts of a sql statement?
What is crud stand for?
What is the process of copying data from table a to table b?
What is trigger types in sql?
Write an sql query to select all records from the table?
Is sql considered coding?
What is count * in sql?