limp call preflop fold to CBet flop check please!

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

limp call preflop fold to CBet flop check please!

Postby js2002 » Sun Dec 28, 2008 8:54 am

Hi,

I made this stat:

http://rapidshare.com/files/177522805/p ... d.rar.html

WhideRider, can u check it plz? I think the stat is self explaining?! If not, ask.

Summary:
NOMINATOR IS:
sum( if[holdem_hand_player_statistics.flg_p_limp AND
holdem_hand_player_statistics.cnt_p_call > 1 AND
holdem_hand_player_statistics.cnt_p_raise = 0 AND
holdem_hand_player_statistics.flg_f_cbet_def_opp AND
holdem_hand_player_statistics.enum_f_cbet_action = 'F'
, 1, 0] )

DENOMINATOR IS:
sum( if[holdem_hand_player_statistics.flg_p_limp AND
holdem_hand_player_statistics.cnt_p_call > 1 AND
holdem_hand_player_statistics.cnt_p_raise = 0 AND
holdem_hand_player_statistics.flg_f_cbet_def_opp
, 1, 0] )

I tried to use sum (if[cnt_p_limp_call(my column) > 0 AND holdem_hand_player_statistics.flg_f_cbet_def_opp, 1 , 0]) instead of using the large statement again, but this "is no valid SQL". I dont know why, so I had to use it redundantly.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: limp call preflop fold to CBet flop check please!

Postby WhiteRider » Sun Dec 28, 2008 12:23 pm

That looks pretty good.

You can't use your other columns like you want to because of the way they are built - remember each column iterates through each hand to sum things up - if you included another column it would be including that column's total value for each hand..
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: limp call preflop fold to CBet flop check please!

Postby js2002 » Sun Dec 28, 2008 12:26 pm

well ok, the dev have to protect some things, thats ok. I testet some fixed limit hands with this new stat and think it is ok.

Can I filter somehow to number of players at the flop? It would be nice to see if it was headsup at flop or not....
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: limp call preflop fold to CBet flop check please!

Postby WhiteRider » Sun Dec 28, 2008 12:29 pm

Of course..
holdem_hand_summary.cnt_players_f
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: limp call preflop fold to CBet flop check please!

Postby js2002 » Sun Dec 28, 2008 12:36 pm

nice, but lot work now 4 me ;)
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