From e2dd394b03be02a768f3b9ded6203671d760bfac Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 22 Jan 2012 12:36:21 -0500 Subject: [PATCH] Whoops, add the 32 game req. --- scripts/update_ranks.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2