Link to home
Start Free TrialLog in
Avatar of niceguy971
niceguy971

asked on

SQL 2005 - rank functions

There is a table which shows bonus received by each employee within department. What would be the best way to get the second employee who received maximum bonus within department??

For department Receiving: it's John White... 700

For department Orders; it's Chris Abcd...200

The *.Xls (showing the content of the table ) is attached.
Employee-Bonus.xls
ASKER CERTIFIED SOLUTION
Avatar of Christopher Gordon
Christopher Gordon
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Lowfatspread
Lowfatspread
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of niceguy971
niceguy971

ASKER

Thanks