Report

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

Report

Postby raph156 » Fri Sep 23, 2011 12:55 pm

Hi,
Can i have a report or something which give custum stats for me vs a particular player? Its not possible to select other stats on the tab vs player.
Thanks for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Report

Postby kraada » Fri Sep 23, 2011 12:58 pm

Yes this can be done in a custom report - do you want your stats vs him or his stats vs you?
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Report

Postby raph156 » Fri Sep 23, 2011 1:10 pm

Almost the twice.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Report

Postby kraada » Fri Sep 23, 2011 3:11 pm

I'm sorry I don't understand what you mean - could you try saying it another way?
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Report

Postby raph156 » Fri Sep 23, 2011 3:27 pm

For exemple, i want her % pre flop raise against me and my % pre flop raise against him.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Report

Postby kraada » Fri Sep 23, 2011 3:40 pm

You won't be able to show both at the same time in one report.

Choose one player from the list at the left - that is the person whose percentage you will see. Create a custom report on the Reports tab showing PFR.

Add the following filter:

holdem_hand_player_statistics.id_hand in (SELECT hhps.id_hand from holdem_hand_player_statistics hhps, player p where hhps.id_player = p.id_player and p.player_name = 'Player Name Here')

Replace 'Player Name Here' with the player who you want to be dealt in the hand when you want to see the PFR. But keep the single quotes So for example, if you selected a player named Hero, and used this filter:

holdem_hand_player_statistics.id_hand in (SELECT hhps.id_hand from holdem_hand_player_statistics hhps, player p where hhps.id_player = p.id_player and p.player_name = 'Villain')

Then you would see Hero's PFR when Villain was dealt into the hand. To switch, change Villain to Hero and switch to looking at Villain's stats.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


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

Who is online

Users browsing this forum: No registered users and 0 guests