statistic "faced all in preflop"

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

statistic "faced all in preflop"

Postby nyjedsazi » Fri Dec 16, 2011 4:38 am

how to create?

for tourneys.

ty.
nyjedsazi
 
Posts: 42
Joined: Thu Jun 03, 2010 5:04 pm

Re: statistic "faced all in preflop"

Postby WhiteRider » Fri Dec 16, 2011 5:30 am

What exactly do you want to count? Just the number of times a player face an all-in preflop, or that as a percentage of all hands?
I'm not sure what that would tell you..?
If you want to see hands where you faced an all-in you can do that in the Filter window.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: statistic "faced all in preflop"

Postby nyjedsazi » Fri Dec 16, 2011 5:48 am

it's not very easy for me to explain what I want :)

actually I need to add a condition to one of my stats like "AND NOT (facing all in preflop)"

so this stat will help me
WhiteRider wrote:Just the number of times a player face an all-in preflop
nyjedsazi
 
Posts: 42
Joined: Thu Jun 03, 2010 5:04 pm

Re: statistic "faced all in preflop"

Postby kraada » Fri Dec 16, 2011 9:55 am

Then add:

AND NOT(tourney_holdem_hand_player_statistics.enum_face_allin = 'P')

to your stat. P is preflop, F is flop, T is turn and R is river.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: statistic "faced all in preflop"

Postby nyjedsazi » Fri Dec 16, 2011 11:15 am

tyvm! :)
nyjedsazi
 
Posts: 42
Joined: Thu Jun 03, 2010 5:04 pm

Re: statistic "faced all in preflop"

Postby nyjedsazi » Sat Dec 17, 2011 9:00 am

hm. it doesn't work/ says that the statement is not valid SQL

tourney_holdem_hand_player_statistics.enum_allin = 'P' - this works

tourney_holdem_hand_player_statistics.enum_FACED_allin = 'P' - this doesn't

but I need second expression for my stat

my column now :
cnt_bb_steal_call_noAI
sum(if[tourney_holdem_hand_player_statistics.flg_blind_b AND tourney_holdem_hand_player_statistics.flg_blind_def_opp AND lookup_actions_p.action LIKE 'C' AND NOT (tourney_holdem_hand_player_statistics.enum_allin = 'P'), 1, 0])

and I want to add a condition for not to count a call when we are facing all-in
nyjedsazi
 
Posts: 42
Joined: Thu Jun 03, 2010 5:04 pm

Re: statistic "faced all in preflop"

Postby WhiteRider » Sat Dec 17, 2011 12:13 pm

The database field is "face", not "faced":

tourney_holdem_hand_player_statistics.enum_face_allin
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


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

Who is online

Users browsing this forum: No registered users and 2 guests