Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / rajeshraajan

SQL Server ( For 2nd max Salary )
---------------------------------

select Min(salary) from
( Select Top 2 salary from
( Select distint salary from Employee Order by
salary Desc ))


with this query we can find n th salary.

if am wrong plz correct me.
thx

Is This Answer Correct ?    53 Yes 95 No

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

Answer / lia

select employee_name
from employee
order by salary desc
where ROWNUM=2

Is This Answer Correct ?    31 Yes 83 No

Post New Answer

More Automation Testing AllOther Interview Questions

what is are the difference between qtp and selenium ?

1 Answers  


Tell me the fundamental difference between xpath and css selector?

0 Answers  


How can u enter text in one particular text box? if one webpage contain multiple text boxes, all text boxes with same properties there in no index and Location properties

2 Answers  


What is Ticketing tool? Has it any other names? What is the purpose of this?

0 Answers  


How to decide the tool that one should use for automation testing in their projects?

0 Answers  


8. How we test web based application

0 Answers   Eka Software,


How to select an automation tool best matched for your project?

0 Answers  


Does automation replace manual testing?

1 Answers  


Kindly let me know how to setup JMeter for functionality testing of a Web application.. The apache help doc is good but i m little confused with it... :(

0 Answers   Telelogic,


worksoft automation tool how do you create process ?

1 Answers  


How to find that tools work well with your existing system?

0 Answers  


I am new to Test Complete ,can any one suggest me the steps to create/Record and replay a test in Test complete 6....

0 Answers  


Categories