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
Which joins are sql server default?
What is difference between Datepart() and Datename() in SqlServer?
How to create a user to access a database in ms sql server using "create user" statements?
How to create and drop temp table in sql server?
What is a database in ms sql server?
What is a not null constraint?
How to Update from select query in sql server?
How to create an identity column?
what is database replication? : Sql server database administration
How to create an index on an existing table in ms sql server?
What do you mean by the term 'normalization'?
Explain full-text query in sql server?
What is the use of =,==,=== operators?
Write an sql query to find first weekday of the month?
What happens if an integer is too big for int date type?