sqldbpool.com
Ranking Function – Rank()
Rank() The RANK function sequentially numbers a record set, but when two rows have the same order by value then they get the same ranking. Ranking value will be incremented by 1 for next un-matched…