By default, it sorts the data in ascending order and commences assigning ranks for every row. In the above screenshot, we get ROW No 1 for marks 50. We can easily specify descending order with Purchase By clause, and it improvements the RANK appropriately. All Merchandise are Obtained directly from https://hellopredict.com