diff options
Diffstat (limited to 'crunch_player.sql')
| -rw-r--r-- | crunch_player.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crunch_player.sql b/crunch_player.sql index 4e449f3..ea10d95 100644 --- a/crunch_player.sql +++ b/crunch_player.sql @@ -50,7 +50,7 @@ group by p.player_api_id, s.id, f.id, h.id, gm.id, r.id order by p.id on duplicate key update -updated_at = case when values(updated_at) > updated_a then values(updated_at) else updated_at end, +updated_at = case when values(updated_at) > updated_at then values(updated_at) else updated_at end, played = played + values(played), wins = wins + values(wins), trueskill_max = case when values(trueskill_max) > trueskill_max then values(trueskill_max) else trueskill_max end, |
