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
Explain the purpose of indexes?
Can we create clustered index on composite key?
What is the difference between delete and truncate statements?
How many servers can we create in a single subscription?
Explain different types of Normalization.
Do you know the different ddl commands in sql?
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many
When would you use sql joins?
How many types of objects are there?
What is constraints and its types?
What are the methods used to protect against sql injection attack?
What Is Rdbms?
What are the differences between substr and charindex in sql server.
what is a join? : Sql server database administration
How to provide default values to function parameters?