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
Why do we use stored procedures in sql server?
What are sub reports?
You want to generate a report that is formatted as a chart. Can you use the report wizard to create such a report?
What is partition index in sql server?
What is the use of group by clause?
How to update muliple row in single query?
What is the difference between a primary key and a unique key? Are they the same?
List all the types of user-defined functions?
Tell about MOM Tool(Microsoft Operator Manager)?
What does it mean to normalize a database and why would you do it?
What are statistics?
What does <> symbol mean?
What is TDS(Tabular Data Stream) Gateway?
What is a coalesce function?
In what version of sql server were synonyms released?