Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2011
    Posts
    28

    Unanswered: Poker Database running off Postgres

    Im looking to develop a stat off a potgres db whereby I can obatin the average stack of a certain type of player X. Does this code look correct?


    if( val_icon = X, live_player_stat( str_player_name, 'amt_stack' ), 0 )

  2. #2
    Join Date
    Nov 2003
    Posts
    2,933
    Provided Answers: 12
    No it doesn't because that is not valid SQL

  3. #3
    Join Date
    Mar 2011
    Posts
    28
    hmmm ok but does this look like SQL?

    sum( if[holdem_hand_player_statistics.flg_blind_b = true AND holdem_hand_player_statistics.flg_blind_s AND holdem_hand_player_statistics.flg_vpip, 1, 0] )

  4. #4
    Join Date
    Nov 2003
    Posts
    2,933
    Provided Answers: 12
    Still no valid SQL (square brackets not allowed, if not allowed)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •