sasieightynine wrote:I'm using this for filtering out FT hands in reports. " NOT ((tourney_results.val_finish > 9) OR ((tourney_results.val_finish between 7 AND 9) AND (tourney_hand_player_statistics.cnt_players < 7))) " This filters out every hand when hero finishing 10th+ and also when hero is finishing between 7th and 9th but have not knocked out on the final table.
It's not working the way I expected so I've tried to create a more detailed expression filter:
tourney_hand_player_statistics.id_hand in (
SELECT id_hand, SUM(amt_before)
FROM tourney_hand_player_statistics
WHERE id_player = id_player
GROUP BY id_hand
HAVING SUM(amt_before) = (tourney_summary.cnt_players * 1500))
Why is it not working? (Expression is not valid)