Something's wrong, example: I have a player in my database who have exactly 1 hand with the factors I mentioned above (BB vs only SB, SB limp).
In that hand I was the one who limped from the SB, and he raised me.
The promblem is that both cnt_p_bb_hands_vs_sb_limp and cnt_p_bb_raise_vs_sb_limp do not couting that hand, ang give result 0 / 0 for the player (Chocobo2008). I pasted to the columns exactly what you wrote.
The hand what I'm talking about:
PokerStars Hand #80979716822: Hold'em No Limit ($0.10/$0.25 USD) - 2012/05/25 13:28:51 CET [2012/05/25 7:28:51 ET]
Table 'Tirela' 9-max Seat #3 is the button
Seat 1: NoFaNoJo ($53.61 in chips)
Seat 2: LA VIDA EL.. ($9.65 in chips)
Seat 3: Undertake ($26.76 in chips)
Seat 4: sasi89 ($10 in chips)
Seat 5: Chocobo2008 ($28.88 in chips)
Seat 6: SunnyB€ach ($31.31 in chips)
Seat 7: pepegois ($10.71 in chips)
Seat 8: FiliusSatani ($66.10 in chips)
Seat 9: KillingAce ($25 in chips)
sasi89: posts small blind $0.10
Chocobo2008: posts big blind $0.25
*** HOLE CARDS ***
Dealt to sasi89 [Td Kc]
SunnyB€ach: folds
pepegois: folds
FiliusSatani: folds
KillingAce: folds
NoFaNoJo: folds
LA VIDA EL..: folds
Undertake: folds
sasi89: calls $0.15
Chocobo2008: raises $0.75 to $1
sasi89: calls $0.75
*** FLOP *** [8d 6c Tc]
sasi89: checks
Chocobo2008: checks
*** TURN *** [8d 6c Tc] [Kh]
sasi89: checks
Chocobo2008: bets $1.50
sasi89: raises $7.50 to $9 and is all-in
Chocobo2008: calls $7.50
*** RIVER *** [8d 6c Tc Kh] [Ks]
*** SHOW DOWN ***
sasi89: shows [Td Kc] (a full house, Kings full of Tens)
Chocobo2008: mucks hand
sasi89 collected $19.10 from pot
*** SUMMARY ***
Total pot $20 | Rake $0.90
Board [8d 6c Tc Kh Ks]
Seat 1: NoFaNoJo folded before Flop (didn't bet)
Seat 2: LA VIDA EL.. folded before Flop (didn't bet)
Seat 3: Undertake (button) folded before Flop (didn't bet)
Seat 4: sasi89 (small blind) showed [Td Kc] and won ($19.10) with a full house, Kings full of Tens
Seat 5: Chocobo2008 (big blind) mucked [Kd Ad]
Seat 6: SunnyB€ach folded before Flop (didn't bet)
Seat 7: pepegois folded before Flop (didn't bet)
Seat 8: FiliusSatani folded before Flop (didn't bet)
Seat 9: KillingAce folded before Flop (didn't bet)
