Hello,
i build a stat which refers to the table lookup_hole_cards and that cause big problems !!!
the problem is that the look_up table did not have a value for unknown cards and so it only show stats for
known cards on all stats.
here is the from clause of the cashe build :
FROM holdem_hand_player_statistics ,
holdem_hand_player_detail,
holdem_hand_summary,
lookup_actions lookup_actions_p,
lookup_actions lookup_actions_f,
lookup_hole_cards,
holdem_limit
WHERE (holdem_hand_player_statistics.id_hand = holdem_hand_player_detail.id_hand AND holdem_hand_player_statistics.id_player = holdem_hand_player_detail.id_player)
AND (holdem_hand_summary.id_hand = holdem_hand_player_statistics.id_hand)
AND (lookup_hole_cards.id_holecard=holdem_hand_player_statistics.id_holecard)
AND (holdem_limit.id_limit = holdem_hand_player_statistics.id_limit)
AND (holdem_hand_summary.id_hand = holdem_hand_player_detail.id_hand)
AND (lookup_actions_p.id_action=holdem_hand_player_detail.id_action_p)
AND (lookup_actions_f.id_action=holdem_hand_player_detail.id_action_f)
AND (holdem_limit.id_limit = holdem_hand_summary.id_limit)
AND (holdem_hand_player_statistics.id_player = 11032)
