write query for fourth maximum salary from employee table

Answer Posted / dharmendra k. dixit

For Finding Nth Salary...

SELECT TOP 1 Salary FROM
(SELECT TOP nth Salary FROM Table Order by Salary Desc)Table
As Sal Order by Salary

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between standardization and normalization?

537


What do you understand by replication in sql server?

580


What is the exact numeric data type in sql?

551


Is it true, that there is no difference between a rule and a check constraint?

528


What happens when converting big values to numeric data types?

571






What are horizontal and vertical scaling?

146


Detail about query optimizer?

616


What are the reporting services components?

92


What is a trigger? Why we need it?

535


what is database replicaion? : Sql server database administration

610


How do I view a script in sql server?

540


How to create indexed view?

587


What is catalog views?

611


Mention what are the different types of ssrs reports?

98


How to add code to the existing article (using improve article)?

598