help with all-ins tourney query and hole cards

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

help with all-ins tourney query and hole cards

Postby mtagliaf » Sun Aug 17, 2008 8:33 pm

Can someone help me write a query that will show:

-all the (tournament only) hands where I was all-in
-what my hole cards were
-what my opponents (could be more than one) hole cards were

thank you
mtagliaf
 
Posts: 45
Joined: Tue Feb 12, 2008 10:30 pm

Re: help with all-ins tourney query and hole cards

Postby WhiteRider » Mon Aug 18, 2008 4:30 am

You can use these database fields:
tourney_holdem_hand_player_statistics.enum_allin
.. where the value will be (N)one, (P)reflop, (F)lop, (T)urn, (R)iver.

tourney_holdem_hand_player_detail.holecard_1
tourney_holdem_hand_player_detail.holecard_2
tourney_holdem_hand_player_detail.id_hand

It's not currently possible to access your opponents' hole cards in Custom Stats / Reports.

Custom Statistics and Reports FAQ.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: help with all-ins tourney query and hole cards

Postby mtagliaf » Mon Aug 18, 2008 5:29 pm

WhiteRider wrote:It's not currently possible to access your opponents' hole cards in Custom Stats / Reports.


thanks, I'm looking to do some "outside of PT3" queries against the db, so I won't need access from withing Custom Stats /Reports

thanks again
mtagliaf
 
Posts: 45
Joined: Tue Feb 12, 2008 10:30 pm


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

Who is online

Users browsing this forum: No registered users and 0 guests