Code:
SELECT Salesperson,Division,NumberSold,
(SELECT COUNT(T1.NumberSold)
FROM
[Table1] AS T1
WHERE T1.NumberSold >= T2.NumberSold and T1.Division = T2.Division) AS Rank
FROM
[Table1] AS T2
ORDER BY NumberSold DESC
Leave a comment: