How To Use Rank Function In Sap Hana Sql