From 06b1ce002f237c94f4168137ac9c0063cf8986ac Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sat, 23 May 2009 09:47:50 +0100 Subject: [PATCH] fix sql to work in postgres --- pyfpdb/SQL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index 33ea3590..02193287 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -324,7 +324,7 @@ class Sql: AND gt1.category = gt2.category AND gt1.limittype = gt2.limittype AND gt2.id = h.gametypeId) - GROUP BY hc.PlayerId, hc.styleKey + GROUP BY hc.PlayerId, p.name, hc.styleKey """ self.query['get_players_from_hand'] = """