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

Answer Posted / sup

SELECT TOP 1 salaryamount
FROM (
SELECT DISTINCT TOP 3 salaryamount
FROM mstsalary
ORDER BY salaryamount DESC) a
ORDER BY salaryamount

--sup--

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any freeware tool for automation testing of mobile applications for BlackBerry and iPhone platforms ?

2517


Tell me the fundamental difference between xpath and css selector?

572


Do you know when autoit is used?

579


Hi, I want to learn DataBase Testing. So please some document or path so that i can get some material on DataBase Testing concepts (preferably SQL Server 2000). Thanks in advance, Guru

3346


Which test cases can be automated?

576






What are the attributes of a good framework?

578


all clients are using at once if any problem raise?

1882


List of Test Management Tools??Is Quality Center Test Management tools

1342


Once you identify the tool what would be your next steps?

590


What are the different types of an automation tool that you are aware of?

582


Tell me what kind of tests should not be automated?

530


Please explain what is a relative xpath?

570


How do you choose which automation tool is best for your specific scenario?

564


pls tell me any open source test case managment tool ? its urgent.also tell me any autmation testing tool also for functional testing?

1696


Can you do without a framework?

612