% win after raise on the board

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

% win after raise on the board

Postby raph156 » Wed Feb 24, 2010 6:57 am

Hello,

I created a column with success for % win after raise on the flop and other board situation but not for total board situation. I try many options without success, exemple :
sum( if[ (holdem_hand_player_statistics.cnt_f_raise OR holdem_hand_player_statistics.cnt_t_raise OR holdem_hand_player_statistics.cnt_r_raise > 0) and (holdem_hand_player_statistics.flg_won_hand), 1, 0])

Can i have help please?
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: % win after raise on the board

Postby kraada » Wed Feb 24, 2010 10:00 am

cnt_f_raise is a number, not a truth value; you need to use a test to resolve it to a truth value, for example:

sum( if[ (holdem_hand_player_statistics.cnt_f_raise > 0 OR holdem_hand_player_statistics.cnt_t_raise > 0 OR holdem_hand_player_statistics.cnt_r_raise > 0) and (holdem_hand_player_statistics.flg_won_hand), 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