I need to show top 10 num for each countrycode, citycode and age, I confuse how can i use rank function?
i tried with cursor by creating 3 loop for country, city and age but the performance was too bad.
this this how i need to get result
Link: How to use sql rank function for different variable
Source: Stack Sql