Ed Wagner (10/1/2014)
Are you guys serious? The example of what the results should be was just that - an example. If the example was 1, 2, 3, 3 then either RANK or DENSE_RANK would work. The example of 1, 2, 3, 3, 4 was to show that no skips were wanted in the result set, just like the requirements stated right before the example. The example was to give clarification to the stated question.
FYI, Steve already changed the question & added 5th record.
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant