I am wanting to create a Hand Range Pop-up similar to Kraada's in this post viewtopic.php?f=45&t=11188
However instead of creating 169 columns I would like to use groups of hands, for example:
creating a Hand Range Pop-up for hands that a player limps with I may use the following hand grouping:
big pairs AA,KK
large pairs QQ,JJ
medium pairs TT-77
small pairs 66-22
big suitied connectors KQs-98s
... etc ... down to ...
Junk Hands (all others not in the above)
Creating the column for when a player limps with big pairs (Hand id 1 and 26)seems easy;
cnt_limp_show_bigpair:
sum( if[holdem_hand_player_statistics.flg_p_limp AND (holdem_hand_player_statistics.id_holecard = 1 OR
holdem_hand_player_statistics.id_holecard = 26), 1, 0])
For the small pairs column, I will need to create 5 statements joined within the OR part, my question is; this will become very messy when I go to create I column for the junk hands, is there an easier way to do the sql than a huge list of OR'S joined together?
Thanks Greg
