Find top Nth employee from each department in terms of
salary?
Answer Posted / rakhi
Select Salary From [TableNAme] WHERE Salary IN(Select Top
Nth Salary From [TableName] ORDER BY Salary DESC) ORDER BY
DESC
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How and why use sql server?
What is data set in report?
What is the tcp/ip port on which sql server runs?
Explain the etl (extraction, transformation, and loading)?
Can you explain what is the use of custom fields in report?
Can group functions be mixed with non-group selection fields in ms sql server?
How to create a stored procedure with a statement block in ms sql server?
What is #table in sql server?
What is a full text index?
What are different types of table joins?
What do you mean by data manipulation language?
What is a scheduled job or what is a scheduled task?
What are the differences between DDL, DML and DCL in SQL?
Explain about Joins?
How do I start sql server?