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
by SpiltMilk » Sat Mar 13, 2010 11:15 am
Hi,
I currently have a simple report listing 150bb+ pot size hands. Does anyone know how I would filter out hands that went to SD and hero folded? I just want to be able to make notes on hands I may have missed where other players played a big pot.
Thanks.
-
SpiltMilk
-
- Posts: 13
- Joined: Wed Apr 30, 2008 7:39 pm
by kraada » Sat Mar 13, 2010 1:46 pm
Add the following filter:
holdem_hand_player_statistics.id_hand in (select holdem_hand_player_statistics.id_hand from holdem_hand_player_statistics where id_player = (select setting_value::int from settings where setting_name = 'my_player_id') and not(flg_showdown))
And that should do it for you. (Note: You want to leave it actually saying "my_player_id")
-
kraada
- Moderator
-
- Posts: 54430
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
by SpiltMilk » Sat Mar 13, 2010 5:40 pm
That's excellent. Works great. Thanks alot for your help.
-
SpiltMilk
-
- Posts: 13
- Joined: Wed Apr 30, 2008 7:39 pm
Return to Custom Stats, Reports, and SQL [Read Only]
Users browsing this forum: No registered users and 0 guests