"cnt_f_saw_won" stat

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

"cnt_f_saw_won" stat

Postby tobybooth » Wed May 18, 2011 4:28 pm

I don't see a similar stat for the Turn or The River? I'm just asking prior to trying to make them.

There are "cnt_t_saw" and "cnt_r_saw" but no "_won" iterations.

Will I have to create new columns etc. Any guidelines are appreciated, thank you.
tobybooth
 
Posts: 39
Joined: Sat May 24, 2008 1:22 pm

Re: "cnt_f_saw_won" stat

Postby kraada » Wed May 18, 2011 4:43 pm

You would need to create new columns for these as they are not part of the standard set. They'd be defined as follows:

cnt_t_saw_won: sum(if[holdem_hand_player_statistics.flg_won_hand AND holdem_hand_player_statistics.flg_t_saw, 1, 0])
cnt_r_saw_won: sum(if[holdem_hand_player_statistics.flg_won_hand AND holdem_hand_player_statistics.flg_r_saw, 1, 0])
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


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

Who is online

Users browsing this forum: No registered users and 0 guests