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 / muralidhara(minchu)

Select * from epm A where &(n-1)=(select count(*) from emp
B where A.sal < B.sal);

Try this it will work,this will give nth salary ie if u
enter 2 this will give second highest sal

Is This Answer Correct ?    13 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain me what is object repository?

1010


What is the difference between automation tools and management tools?

1038


What is javascriptexecutor and in which cases javascriptexecutor will help in selenium automation?

1010


What are the pre-requisites to start automation testing?

968


What COM Interfaces u r using in QTp While Connecting QC or TD? Or in QTP?Any body plz urgent...

1959


What are the different types of locks in mainframe?

940


Name some of the commonly used automation testing tools that are used for non-functional automation.

1010


what are the questions that are generally asked in an interview if a person is having 3-4 years of exp..and in ds exp 2 yrs exp is wd automation testing

1950


What is junit? And what is junit annotation?

1104


Tell me the fundamental difference between xpath and css selector?

1115


Do you know the difference between close and quit command?

973


what r the diffence between QTP 8.2 & QTP9.0?

2115


What is in-house tool?

1051


Explain load testing on websites?

1060


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

1023