Find top Nth employee from each department in terms of
salary?
Answer Posted / ricky
select min(salary) from tablename where salary is(select
top n salary from tablename order by salary desc)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How self join is different from outer join?
Tell me what is use of except clause? How it differs from not in clause?
What is the openxml statement in sql server?
Can you pass expressions to function parameters?
Explain the phases a transaction has to undergo?
How to use union to merge outputs from two queries together in ms sql server?
What is the new security features added in sql server 2016? : sql server security
What is code near application topology?
What is 5nf in normalization form?
List the advantages of using stored procedures?
Can group by be used without aggregate functions?
Can we add an identity column to decimal datatype?
Explain where clause?
What is shared lock?
Why do we use non clustered index?