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 for the fifth highest salary?

Answer Posted / nitin bisht

SELECT empSalary FROM empTable e1 WHERE (5 = (SELECT
COUNT(DISTINCT (e2.empSalary))
FROM empTable e2 WHERE e2.empSalary >= e1.empSalary))

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the most common databases?

914


What does currency type mean in database?

1128


Re: Where can i get informatica certification Exam dumps and details? please forward it to emailid:

2193


What is a driver in database?

1071


Explain various types of locks in a transaction? Which is better and why?

979


What does specialization in DBMS mean?

1099


What is the advantage of varchar2 over char?

1214


List various types of log-based recovery in DBMS.

939


Please post the scenerois for writing the complex sql queries , for my practice.Can be any query if you cannot solve.

2501


What is the purpose of firebase?

932


What is table scan and index scan?

1074


can u combine pipeline parallelism and partition parallalism? how and whan?

2273


Which is the most reliable programming language for RDBMS Relational Database Management System for Multi user applicaton. For PC application or web application ?

2451


What is the role of tester in discovery(in Checklist)?

1921


What is the function of cluster index?

1095