Find top Nth employee from each department in terms of
salary?
Answer Posted / khushboo
select top 1 emp_name,emp_sal from employee order by emp_sal
desc
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Tell me what are the advantages of using stored procedures?
List out the different types of locks available in sql server?
What are wait types?
What is dbcc command in sql server?
What is a print index?
How to set database to be read_only in ms sql server?
What does Master database contains?
What is key set driven?
Give me any three differences between Truncate and Delete.
How to create a testing table with test data in ms sql server?
Tell me what is de-normalization and what are some of the examples of it?
What is change data capture (cdc) in sql server 2008?
How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
What is the tcp/ip port on which sql server runs?
How to rename an existing table with the "sp_rename" stored procedure in ms sql server?