Thread
:
Rank calculation / sql
View Single Post
Kushfield
Member
Join Date: Jan 2017
Location: Estonia
10-20-2018 , 08:54 Re: Rank calculation / sql
#
4
ORDER BY (wins / cups * players) DESC, wins DESC, cups DESC
First orders all players by (wins / cups * players), then orders groups of players with the same score according to wins, finally orders groups of players still with the same score according to cups.
Kushfield
View Public Profile
Send a private message to Kushfield
Visit Kushfield's homepage!
Find More Posts by Kushfield