Page 1 of 1

Hands that go to showdown that include a specific villain

PostPosted: Fri Sep 11, 2026 5:27 pm
by mishroom222
Hi.

I am trying to build a hand report, where it includes all hands that:
- go to showdown
- include myself & a specific villain

I've done some googling and I've found this bit of code to use as an expression filter (where villain is replaced with the persons username) :

Code: Select all
cash_hand_player_statistics.id_hand in (SELECT chps.id_hand from cash_hand_player_statistics chps, player p where chps.id_player = p.id_player and p.player_name = 'villain')


But this includes all hands where villain was part of the ring, not necessarily betting in hands and going to showdown. Is there a way to narrow this down to only include hands where villain sticks until showdown?

Thanks

Re: Hands that go to showdown that include a specific villai

PostPosted: Sat Sep 12, 2026 6:36 am
by Flag_Hippo
Code: Select all
cash_hand_player_statistics.flg_showdown and cash_hand_player_statistics.id_hand in (SELECT chps.id_hand from cash_hand_player_statistics chps, player p where chps.id_player = p.id_player and p.player_name = 'villain' and chps.flg_showdown)

Re: Hands that go to showdown that include a specific villai

PostPosted: Sun Sep 13, 2026 11:20 pm
by mishroom222
Thanks! This worked :)