stat 4 hud, cnt tourneys

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

stat 4 hud, cnt tourneys

Postby js2002 » Mon Oct 10, 2011 4:21 am

count(tourney_holdem_summary.id_tourney)

Does it work? A buddy tells me that his handcount == count(tourney_holdem_summary.id_tourney)
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: stat 4 hud, cnt tourneys

Postby js2002 » Mon Oct 10, 2011 4:34 am

tested it, the andcount and mtt count is really the same, wtf?

do i need to use count unique oder sum at the stat column? tried both, same result.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: stat 4 hud, cnt tourneys

Postby kraada » Mon Oct 10, 2011 9:33 am

I think you want count(distinct tourney_holdem_summary.id_tourney)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: stat 4 hud, cnt tourneys

Postby js2002 » Mon Oct 10, 2011 9:38 am

TU!
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests