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 are the advantages of manual testing and automated testing?

0 Answers  


Describe some problem that you had with automating test tool?

1 Answers  


When will you not automate testing?

0 Answers  


Tell me what type of scenarios can be automated?

0 Answers  


How do you decide which tool you have to use?

0 Answers  


What generally is the structure of a framework?

0 Answers  


Do you know what is a xpath?

0 Answers  


Suppose we r running a test which have 7 to 8 steps for different functionallity of and object..and suppose upto 4 step test passes but after 5th step test fails. what u will do in this condition will u start the test again or will u consider that rest steps will be working fine.

1 Answers   Logica CMG,


What factors determine the effectiveness of automation testing?

0 Answers  


Which is a very good institute for QTP with VB script training center in kerala.Can you plz help any body

1 Answers  


how is mind q venkat training in testing for weekend or general batches.and any other good institutes in ameerpet

1 Answers  


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

0 Answers  


Categories