I have attached an image with Rank function implemented for EmpID and their respective Salary.
There are 4 Employes which have the same salary and Ranked as 4-5 and 8-9.
Now if I Group the Ranks into A & B, so that I can give different Ranks (i.e. the same salary gets divided into two groups) to the same salaries of different employees.
Kindly assist me implementing the same, using Rank function (without sorting)