preflop open allin hole_cards

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

preflop open allin hole_cards

Postby nafptq25 » Mon Apr 27, 2009 10:11 am

Hi! Is there a separate topic for PT2 SQL questions?
I want to filter all preflop open allin hole_cards.
Code: Select all
SELECT hole_cards FROM tourney_game_players WHERE pre_flop_bet=chip_count AND hole_cards IS NOT NULL

the problem if someone is BB then the pre_flop_bet=chip_count-blind_amt OR if he SB pre_flop_bet=chip_count-(blind_amt/2)
how should i build this into my query?
nafptq25
 
Posts: 2
Joined: Sat Apr 25, 2009 10:53 pm

Re: preflop open allin hole_cards

Postby kraada » Mon Apr 27, 2009 10:32 am

I don't know the PTv2 database in that much detail so I've moved this thread to the PTv2 PostgreSQL forum and hopefully you'll get a better response there.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: preflop open allin hole_cards

Postby ptrack pat » Mon Apr 27, 2009 11:38 am

What email was used to purchase PT2? I have no record of the name or email you used to register for the site.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: preflop open allin hole_cards

Postby nafptq25 » Mon Apr 27, 2009 12:09 pm

i pm'd the emailaddress
nafptq25
 
Posts: 2
Joined: Sat Apr 25, 2009 10:53 pm


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 0 guests