Compare your stack to opponents

Hi,
i'd want to select hands according to opponent stack.
Especially when me and one opponent have an equal stack. That is not possible with "effective stack" or "short stack".
So i try to construct an expression filter, but that's failed: "tourney_hand_player_statistics.amt_before = (tourney_hand_player_statistics.amt_before where flg_hero = false)" is not valid.
Someone with better skill in SQL can help me to select this type of hands ?
Thank you very much
i'd want to select hands according to opponent stack.
Especially when me and one opponent have an equal stack. That is not possible with "effective stack" or "short stack".
So i try to construct an expression filter, but that's failed: "tourney_hand_player_statistics.amt_before = (tourney_hand_player_statistics.amt_before where flg_hero = false)" is not valid.
Someone with better skill in SQL can help me to select this type of hands ?
Thank you very much