now I see my query works!
But i thik I need a little more help
I want to add specific limit in my query
i have example
- Code: Select all
// hands
"SELECT count(id_hand) as result \
FROM holdem_hand_player_statistics as PS, holdem_limit L, player as P \
WHERE PS.id_player = P.id_player \
AND P.player_name = '%SCREENNAME%' \
AND P.id_site = '%SITEID%' \
AND L.amt_bb = %BB%"
AND L.amt_bb = %BB% its big blind of the limit
I add for example 1 for 1/2$ fixed limit
But I dont get hands numbers for this limit
number what I get much bigger
for example my total hands number is 8000 but query show 20000
when I delete AND L.amt_bb = 1
query show total hands number for all limts
Where I have error now?
