Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.
I came across that a while ago and from my note it looks as if adding another filter too (e.g. filtering to a limit, or probably all limits) might let you get around this until the bug is fixed.
id_hand NOT IN (SELECT id_hand from holdem_hand_player_statistics where holdem_hand_player_statistics.id_player = (SELECT setting_value::int from settings where setting_name = 'my_player_id'))
No, I meant to copy and paste what I have exactly. my_player_id is the setting name that is used in our database. No alteration is necessary to the above filter.
Make sure you have the single quotes as well: id_hand NOT IN (SELECT id_hand from holdem_hand_player_statistics where holdem_hand_player_statistics.id_player = (SELECT setting_value::int from settings where setting_name = 'my_player_id'))
is EXACTLY how it should look. I tested this and it works fine for me.