My favorites | Sign in
Project Home Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
SELECT TOP 1 ID, FirstName, LastName, Salary, Role FROM
(SELECT *,
ROW_NUMBER() OVER(ORDER BY Salary DESC) AS _RN
FROM Staff) S
WHERE _RN = 3;

Change log

r15 by robc.the.geek on May 5, 2009   Diff
Tech Day #4 (SQL for Developers) Content
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 148 bytes, 5 lines
Powered by Google Project Hosting