Find top Nth employee from each department in terms of
salary?
Answer Posted / saurav kumar
select min(salary) from tablename where salary in (select
top N salary from tablename orderby salary desc)
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is a fan-out query in SQL Azure?
How to delete a database in ms sql server?
Define model database?
Tell me about joins in database system and explain each in detail.
Explain few examples of stored procedure over triggers?
What is the difference between a function and a trigger?
What is transaction server isolation?
What is partition index in sql server?
Who is the owner of a schema in ms sql server?
Does partitioning help performance?
How will you make an attribute not process? : sql server analysis services, ssas
Do I need a report server to run reports in my application?
What is a select query statement in ms sql server?
How and why use sql server?
What do you mean by SQL injection attack?