Results 1 to 7 of 7

Thread: Mysql in cod2 query question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts

    Mysql in cod2 query question

    Hey guys,

    Im currently developing a jumpmod with mysql support (thx to kung for porting mysql to cod2) and am in need of a certain query.

    What i have: A table filled with statistics for a certain checkpoint (checkpoint_statistics)
    What i want: the 10th time_played from that table for a certain cp_id

    What i think might work, but doesnt:

    Code:
    SELECT time_played FROM (SELECT * FROM checkpoint_statistics WHERE cp_id = 1081 ORDER BY time_played DESC LIMIT 10) LIMIT 1
    Please help me
    Last edited by IzNoGoD; 11th January 2013 at 11:07.

Posting Permissions

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