show percent of score in latest leaderboards

This commit is contained in:
norohind committed 2023-03-08 20:01:21 +03:00
1 parent f4ec819373
commit 4574882c70
1 file changed
+1
+1
View File
@@ -191,6 +191,7 @@ select
tag,
rank,
score,
round(score / (select sum(score) from leaderboard) * 100, 2)::real as score_percent,
to_char(squads_stats_states_action_info.timestamp, 'YYYY-MM-DD HH24:MI:SS') as timestamp,
squads_stats_states_action_info.leaderboard_type as leaderboard_type,
squads_stats_states_action_info.platform as platform,