From: Ant Zucaro Date: Sun, 22 Jan 2012 17:36:21 +0000 (-0500) Subject: Whoops, add the 32 game req. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e2dd394b03be02a768f3b9ded6203671d760bfac;p=xonotic%2Fxonstatdb.git Whoops, add the 32 game req. --- diff --git a/scripts/update_ranks.sql b/scripts/update_ranks.sql index 0b50125..2fcd64c 100644 --- a/scripts/update_ranks.sql +++ b/scripts/update_ranks.sql @@ -11,6 +11,7 @@ begin; select p.player_id, p.nick, pe.game_type_cd, pe.elo, rank() over (partition by pe.game_type_cd order by pe.elo desc) from players p, player_elos pe - where p.player_id = pe.player_id; + where p.player_id = pe.player_id + and pe.games > 32; end;