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 / sridhar

Its real simple. Suppose your employees are in a table
called by the same name, and the salaries in a column named
salaries). Lets See te case in which we want the 3 greatest
salaries. Then you Query:

SELECT employees.salary
FROM employees
ORDER BY employees.salary desc
LIMIT 3;

If you want the biggest 5 salaries, you put LIMIT 5, and so on….

Is This Answer Correct ?    3 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give some examples for test management tools?

1116


What is testng and why is it better than junit?

1058


What are Keyword and Data driven frameworks in Selenium RC

3337


Tell me what databases can test director reside on?

939


What is meant by the automation framework?

987


Elaborate the situation where automation testing can’t be used for agile methods?

959


Tell me what is a keyword-driven framework?

963


List some advantages and disadvantages of automation testing.

933


What type of scenarios can be automated?

995


1.Which functinalities of QTP using in onlinebanking system? 2.in lift which kind of testing you perform? 3.how do you test money is transform from one account to another account in online banking?

2324


If I have given names to different DataTable columns and those column names are stored in a variable, then passing that variable to the datatable how can i Enter different values in those columns listed in that variable?? Please explain me with an example.I am not getting it.

2011


how to test an webbased application?

2063


Which protocol cam be used to makw jdbc connection woth loadrunner

1016


What are pros and cons of automating tests at ui layer?

1148


What are the limitations of automating software testing?

2108