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

SELECT MAX(Salary) AS Expr1
FROM TableName
WHERE (Salary NOT IN
(SELECT TOP (4) MAX(Salary)
AS Expr1
FROM TableName AS
TableName_1
GROUP BY Salary
ORDER BY SalaryDESC))

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of data models available? Explain with example?

1171


What is relational database with example?

1012


Explain entity set?

1061


What is a database connection string?

1166


What is database bounce?

1085


Differentiate between unique key and foreign key?

1069


sparse lookup and where its options we find in OCI and db2?

2265


How to do Stored procedure testing? Who does this testing (Developer or tester)?

1875


What is the database url?

1151


Difference between sql and mysql?

2140


what are wrappers and build ups and what it's use?

2208


Write a query to retrieve for many to many relationships?

1056


What is ole db used for?

1062


How many types of locks are present in a database?

1178


Explain normalization in one line?

1156