tourney_holdem_summary.id_site= for CAKE POKER?

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

tourney_holdem_summary.id_site= for CAKE POKER?

Postby PA_Kid » Sat Dec 12, 2009 8:26 am

Looking to modify my tournament rakeback stat with the addition of Cake poker. As of right now I'm using the custom stat downloaded from the repository, and the amt_rakeback Column is as follows:

Code: Select all
sum(if[tourney_holdem_summary.id_site=300 ,tourney_holdem_summary.amt_rake * 0.27,if[tourney_holdem_summary.id_site=400 ,tourney_holdem_summary.amt_rake * 0.30,0]])


Site id 300 is obviously Full Tilt, and I'm guessing 400 is either UB or AP. Could you guys please tell me what Cake's site id is? For that matter, if you could provide a list of site id's that might be a good thread to archive for future reference.

Many thanks!
PA_Kid
 
Posts: 9
Joined: Wed Sep 17, 2008 4:21 am

Re: tourney_holdem_summary.id_site= for CAKE POKER?

Postby kraada » Sat Dec 12, 2009 9:28 am

Here you are:

Code: Select all
 id_site  | site_abbrev |   site_name   
---------+-------------+----------------
     100 | PS          | PokerStars
     200 | PTY         | Party
     300 | FTP         | Full Tilt
     400 | IPN         | iPoker
     500 | EVP         | Everest
     600 | PR          | OnGame
     700 | BMN         | Boss Media
     800 | ABS         | Cereus Network
     900 | PCF         | Pacific Poker
    1000 | B2B         | Entraction
    1100 | PNL         | MicroGaming
    1300 | BDG         | Bodog
    1200 | CAK         | Cake


(The data is stored in the lookup_sites table in your database, for the record.)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: tourney_holdem_summary.id_site= for CAKE POKER?

Postby PA_Kid » Sat Dec 12, 2009 8:31 pm

Awesome... many thanks for the quick reply and the ID table. Here's the modified amt_rakeback for anyone that might want to use it for Cake:
Code: Select all
sum(if[tourney_holdem_summary.id_site=300 ,tourney_holdem_summary.amt_rake * 0.27,if[tourney_holdem_summary.id_site=1200 ,tourney_holdem_summary.amt_rake * 0.33,if[tourney_holdem_summary.id_site=400 ,tourney_holdem_summary.amt_rake * 0.30,0]]])
PA_Kid
 
Posts: 9
Joined: Wed Sep 17, 2008 4:21 am

Re: tourney_holdem_summary.id_site= for CAKE POKER?

Postby WhiteRider » Sun Dec 13, 2009 4:58 am

Nice one - once you're happy with your stat you might want to upload it to the Repository to share with other users?
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


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

Who is online

Users browsing this forum: No registered users and 0 guests