by kraada » Fri Aug 19, 2011 9:15 am
Right, the first one says if the players's holecard is 89, add 75, if not do nothing. So you'll get the number of times the player had holecard 89, times 75.
If you want the times when the player had either id_holecard = 89 or id_holecard = 75, you want to do instead:
sum( if[ (holdem_hand_player_statistics.id_holecard = 89) OR (holdem_hand_player_statistics.id_holecard = 75), 1, 0])
That will sum up the number of times the player had either of these two hands. You can add more kinds of holecards with more OR statements.