diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index 13f592cd..3c25963f 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -2498,7 +2498,7 @@ class Sql: INNER JOIN Sites s on (s.Id = gt.siteId) INNER JOIN Players p on (p.Id = hp.playerId) WHERE hp.playerId in - AND date_format(h.handStart, '%Y-%m-%d') + AND h.handStart ORDER by time""" elif db_server == 'sqlite': self.query['sessionStats'] = """ """