Find top Nth employee from each department in terms of
salary?

Answer Posted / madhu

select top 1 salary,employee from (table name) group by
department

Is This Answer Correct ?    10 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between joins and subqueries?

622


Which Model uses the SET concept

668


What to check if a User database is locked?

667


What is the difference in accessing db between sql server vs sql azure?

161


What is sqlcmd?

629






What is data source document?

638


Define right outer join in sql server joins?

607


What the different types of Replication and why are they used?

627


Which are ddl commands?

623


What are the differences between substr and charindex in sql server.

587


What is raid and what are different types of raid levels?

687


what is an index? : Sql server database administration

601


What happens when transaction log is full?

589


What is executereader?

620


What are three major types of constraints?

618