I'm working with the Riot Games API lately and got to the point where I need help or examples on how to achieve this. I have a database in mysql with the name "summoners" each summoner in the table looks like this:
There are 6 tiers (bad to good): BRONZE < SILVER < GOLD < PLATINUM < DIAMOND < CHALLENGER There are 5 divisions: I < II < III < IV < V
What I am trying to achieve is ranking them together (tier, division and leaguepoints) and output the rank number like this:
123311: RANK#1
234453422: RANK#2
123123: RANK#3
234234234: RANK#4
Not sure on how to do this, selecting a lot of data in the database will be hard on the server?