Min Raising with AA or KK

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

Min Raising with AA or KK

Postby Th0rgal » Fri Feb 12, 2010 7:09 pm

Hi There,

I am looking to get a count of how many times someone limps or min raise with AA or KK

Limp I think looks like this
cnt_limp_AA
sum( if[tourney_holdem_hand_player_statistics.flg_p_limp and tourney_holdem_hand_player_statistics.id_holecard=1, 1, 0])
cnt_AA
sum( if[ tourney_holdem_hand_player_statistics.id_holecard=1, 1, 0] )
Stat
(cnt_limp_AA / cnt_AA) * 100

I need direction on how to go about building the min raise
Th0rgal
 
Posts: 90
Joined: Sat Apr 19, 2008 7:45 am

Re: Min Raising with AA or KK

Postby kraada » Fri Feb 12, 2010 7:16 pm

You want to look at the holdem_hand_player_detail.amt_p_raise_made column - if it's twice the size of the big blind (holdem_limit.amt_bb) then it's a minraise.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Min Raising with AA or KK

Postby Mike_ » Sat Feb 13, 2010 9:51 am

tourney_holdem_hand_player_statistics.flg_p_limp

Has this statistic been created manually too or is it there by default ?
Mike_
 
Posts: 193
Joined: Tue Nov 04, 2008 1:58 pm

Re: Min Raising with AA or KK

Postby WhiteRider » Sat Feb 13, 2010 9:58 am

That's not a statistic, it's a field in the database. That field does exist - you can't add new database fields, all you can do is create new Columns to extract information from the database, and Statistics to use the Columns.
Tutorial: How Statistics are structured
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 0 guests