by MaxWeiss » Thu Apr 03, 2008 3:38 am
I still cannot seem to get this working. In the PT3 database, I have 2545 hands, have won $354.10 and it says on the main PT3 screen that I make about 13.91 BB/100 in this (small) sample. But I get a weird number, 34.17, when I use this code, which is what is listed in the columns tab for amt_bb_won and then as you see divided by (number of hands / 100). For the life of me, I don't know what the problem is!
[codezzp]SELECT round(sum(hhps.amt_won/(hhl.amt_bb*hhl.val_nlpl_mult))/(COUNT(hhps.id_player)/100),2) AS bets_per_hundo FROM player p, holdem_hand_player_statistics hhps, holdem_limit hhl WHERE p.id_player = hhps.id_player AND p.player_name = 'MY_NAME_HERE';[/codezzp]
I have also tried many different variations and cannot get it to work! Can you possibly find out where the problem lies??? Thank you so much!!!!!