You don't need this part at the end of either column (because you have already tested for being in the big blind position with "tourney_hand_player_statistics.position=8"): " and tourney_hand_player_statistics.flg_blind_b" ..so you should remove that. Your parentheses are mismatc...