I have query to determine what Cbet Flop all players have an average of a database
- Code: Select all
SELECT COALESCE(CAST(SUM(CASE WHEN flg_f_cbet THEN 1 ELSE 0 END) AS real)
/ NULLIF(SUM(CASE WHEN flg_f_cbet_opp THEN 1 ELSE 0 END), 0), -1)
AS result
FROM holdem_hand_player_statistics as PS INNER JOIN holdem_hand_summary as HS ON (PS.id_hand = HS.id_hand)
in the PT3 this report also I cannt make and see the SQL syntax
