flg_p_limp_opp Q?

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

flg_p_limp_opp Q?

Postby warrior04 » Thu Mar 24, 2011 11:20 am

i'm having trouble building a stat to check limp_opp...

was thinking something like:
Code: Select all
select ....
from....
where
NOT flg_p_open_opp
AND NOT flg_p_face_raise


but it doesn't cover the case if a player limp then faced a raise.
any idea of how can i make it right?
warrior04
 
Posts: 39
Joined: Wed Jul 21, 2010 11:44 am

Re: flg_p_limp_opp Q?

Postby kraada » Thu Mar 24, 2011 12:09 pm

The following will give you your list of limp opportunities:

(NOT(holdem_hand_player_statistics.flg_p_face_raise) OR (holdem_hand_player_statistics.flg_p_limp) OR (holdem_hand_player_statistics.flg_p_first_raise)) AND NOT(holdem_hand_player_statistics.flg_blind_b)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: flg_p_limp_opp Q?

Postby warrior04 » Thu Mar 24, 2011 2:47 pm

tnx... :)
one more query

flg_p_limp_behind_opp.... what do i need to add to see if someone limped behind me?
warrior04
 
Posts: 39
Joined: Wed Jul 21, 2010 11:44 am

Re: flg_p_limp_opp Q?

Postby kraada » Thu Mar 24, 2011 3:13 pm

cnt_p_limp_after_limpers_opp is defined by default - it's a count of how often a player limped behind other limpers. Figuring out if anybody limped after you is going to be incredibly difficult unless you're restricting yourself to unraised pots (at which point you just check to make sure you're not in position).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: flg_p_limp_opp Q?

Postby warrior04 » Thu Mar 24, 2011 4:22 pm

a small correction... i meant a flg query to see if someone had limp before me...

and try to build the query in sql...
warrior04
 
Posts: 39
Joined: Wed Jul 21, 2010 11:44 am

Re: flg_p_limp_opp Q?

Postby kraada » Thu Mar 24, 2011 5:18 pm

If you click Configure --> Configure Statistics go to the Holdem Cash Player Statistics section and highlight cnt_p_limp_after_limpers_opp you can see how we do it.
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 1 guest