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.

Answer Posted / saima

1.
SELECT * TOP 1 from
(Select Top 2 from employee Order By Salary desc)
order By salary desc

2.
SELECT * from
(Select Top 2 from employee Order By Salary desc)
where salary <max(salary).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is client side validation? Write a snippet.

1076


What is an automation testing framework?

1042


What are the types of framework used in software automation testing ?

965


What is a critical bug in a testing field?

1136


Discuss the economics of automation and the role of metrics in testing.

2634


What is self-referencing constraint in mainframe development?

949


5. What are the tests you are conducting through winrunner?

2435


What are the important operations in database testing?

1003


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

1395


What are the main attributes of test automation?

2001


Currently I do not have any automation in place in my project, but now I want to implement automation, what would be my steps?

1105


Can you achieve 100% automation?

978


Have you completed the cps exam? Which one?

957


What type of scenarios can be automated?

990


why should we choose VSTET(Visual Studio Team Edition for Testers) and not QTP?pleas give me the reasons for "WHY" we have web and client server app, supports power builder and on windows OS so this is the background of tech and envir things we have and now VSTET is good to use or not? if "NO" then tell me why

2267