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 IS THE PURPOSE OF TESTING INTEGRITY OF THE UNIVERSE?

2302


What is the DIF format and when we will use in teradata

2539


What is a database lookup?

1136


What is replicaset?

1065


What is the Difference Primary key and Unique Key

1045


After normalization, what are the conditions which have to keep in mind to de-normalize it?

1099


issues involved in modeling and building data werahouses

2003


What happens when shared and exclusive locks are applied on data item?

1087


What is odm database?

1077


What is a driver in database?

1230


Can we use redis as database?

1036


query to Compare data of two tables between two different Databases(Oracle and SQL Server) Eg., Source Database: Oracle Table: Employee Target Database : SQL Server Table : emp

2127


What are indexes in oracle?

1132


Explain entity ?

1077


What are the concurrency problems a database faces?

1085