You need to define all of the actions, preflop and postflop, from the point of view of the player who the stat is for so you cannot use cash_hand_player_statistics.flg_p_first_raise AND cash_hand_player_statistics.position = 9 for this. If you want to specify the preflop action sequence by positions...