Poker Software
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    23

    Default Count hands in DB?

    Is there a way to count the number of hands I have stored in my database?
    If it is, is it also possible to count the number of hands per stakes?

    Thanks.

  2. #2
    Senior Member e306's Avatar
    Join Date
    Sep 2008
    Posts
    126

  3. #3
    Junior Member
    Join Date
    Jul 2008
    Posts
    23

    Default

    Kewl! Now how can I count just the NL100 hands, for example?

  4. #4
    Senior Member e306's Avatar
    Join Date
    Sep 2008
    Posts
    126

    Default

    you have to play around with the SQL-query.
    if you know sql: do the same query, group by gametype and left join with "gametypes".

    if you downt know how sql works, tell me and i'll look at the query tomorrow.

  5. #5
    Junior Member
    Join Date
    Jul 2008
    Posts
    23

    Default

    Quote Originally Posted by e306 View Post
    you have to play around with the SQL-query.
    if you know sql: do the same query, group by gametype and left join with "gametypes".

    if you downt know how sql works, tell me and i'll look at the query tomorrow.
    I know some basic SQL, but at the moment we start with LEFT JOIN I´m afraid it´s out of my knowledge.

    Im´interested in couting based on stakes and if possible on month, to know how much I´ve datamined in a month

  6. #6
    Senior Member e306's Avatar
    Join Date
    Sep 2008
    Posts
    126

    Default

    ok, that does it:

    Code:
    SELECT gametypes.gametypedescription,count(*) FROM pokerhands LEFT JOIN gametypes ON pokerhands.gametype_id = gametypes.gametype_id GROUP BY gametypes.gametypedescription

Similar Threads

  1. Table Manager count 0 fishes
    By canfron in forum Manager General
    Replies: 1
    Last Post: 08-29-2008, 03:52 PM

Posting Permissions

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