Write a query to find second highest salary of an employee.

Answer Posted / girase hitendrasing a.

select * from Employees where Salary in (select top 1
salary from (select distinct top 2 salary from employees
order by salary desc) order by salary asc)

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what databases can test director reside on?

451


Do you know what is selenese?

504


what is the advantage and dis-advantages of using framework ?

1766


What are the advantages of manual testing and automated testing?

499


Tell me how can you switch back from a frame?

545






what is critical test case ? please give an example .

1371


Does every software project need testers?

543


Define sdlc in testing.

570


Tell me what are the different types of navigation commands?

493


What is difference between selenium and QTP tools Which is best tool... Which is most used tool

921


List down the primary features of a good automation tool?

506


Please name a couple of standard web function found in the function generator?

503


Can you explain me what is object repository?

543


Do you know what is the purpose of deselectall() method?

575


What you know about table-driven testing?

549