by WhiteRider » Tue Sep 20, 2011 3:51 am
I'm afraid that information isn't stored in the database. The first and last raise you make are stored, but only the last raise you faced.
You may be able to infer the information you want in this case (where you are against a single opponent) by using the size of your bet (holdem_hand_player_detail.amt_f_bet_made) and the absolute and relative sizes of your first raise.
The absolute size is "holdem_hand_player_detail.amt_f_raise_made"
The relative size is "holdem_hand_player_detail.val_f_raise_made_pct"
(I'll leave out the table names here for clarity, but you'll need them in your expression of course.)
In your example:
amt_f_bet_made = 100
amt_f_raise_made = 300
val_f_raise_made_pct = (200 - 100) / (100 + 200) = 100 / 300 = 33%
I don't know exactly what you're trying to do, but we can probably work out what you need from the above fields if you want to explain what you're trying to build...
If you're playing tournaments you'll need to add "tourney_" to the start of the table names, or change holdem for omaha if you're playing omaha.