Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by erdnase17 » Thu Nov 28, 2013 8:05 am
I would like to make an expression filter for hand report where I could filter for the opponent holecards but I can't figure the appropriate SQL expression for this.
When I make the hand report for hero and use id_holecard it refers to hero's holecards obviously, how can I refer to the opponent's holecards?
Thanks.
-
erdnase17
-
- Posts: 227
- Joined: Wed Feb 15, 2012 10:07 am
by kraada » Fri Nov 29, 2013 9:55 am
This should do it, but this will cause the report to take considerably longer to run than a normal report:
tourney_hand_player_statistics.id_hand in (select thps.id_hand from tourney_hand_player_statistics thps where not(thps.flg_hero) and thps.id_holecard = X)
-
kraada
- Moderator
-
- Posts: 54431
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 23 guests