Results 1 to 7 of 7

Thread: Mysql in cod2 query question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Try a inner join with player table.


    Code:
    select c.player_id, p.name, MIN(c.time_played) from checkpoint_statistics c INNER JOIN player p ON c.player_id = p.id  WHERE cp_id = 1071 GROUP BY c.player_id ORDER BY MIN(c.time_played) LIMIT 10
    Edit: might some editing

  2. The Following User Says Thank You to Mitch For This Useful Post:

    kung foo man (19th January 2013)

Posting Permissions

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