Question about flg_f_flush

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Question about flg_f_flush

Postby batchen » Sat May 10, 2008 2:24 pm

How can a player with unknown holecards have a flush on the flop?

This query gives me several hits..,
Code: Select all
SELECT
COUNT(*)
FROM holdem_hand_player_statistics hhps, holdem_hand_player_combinations hhpc
WHERE hhps.id_hand = hhpc.id_hand AND flg_f_flush AND id_holecard = 0


Edit: It didn't take me too long to find out that I needed to add WHERE hhps.id_player = hhpc.id_player...
batchen
 
Posts: 1
Joined: Sat May 10, 2008 12:49 pm

Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests