(mysqli): SELECT * FROM cms LIMIT 1  

(mysqli): SELECT code FROM menus WHERE type ='tree'  
Eastern Poker Tour

(mysqli): SELECT p.first, opt.nickname FROM player p LEFT JOIN player_opt opt ON p.id = opt.player_id WHERE p.id = 29729  

(mysqli): SELECT pts.points as points, bonus_p.points as ppts, bonus_b.points as bpts, pts.action, e.date as date, e.points_multiplier as points_multiplier, e.id as eid, e.name as ename, t.id as tid, t.nickname as tname, t.abbreviation as tabbr, l.id as lid, l.name as lname FROM (SELECT event_id, SUM(points) AS points, SUBSTRING_INDEX(GROUP_CONCAT(action ORDER BY points DESC, id ASC), ',', 1) AS action, MAX(id) AS sort_id FROM player_pts WHERE player_id = 29729 GROUP BY event_id) pts LEFT JOIN (SELECT event_id, SUM(points) AS points FROM participation_points WHERE player_id = 29729 GROUP BY event_id) bonus_p ON bonus_p.event_id = pts.event_id LEFT JOIN (SELECT event_id, SUM(points) AS points FROM bounty_points WHERE player_id = 29729 GROUP BY event_id) bonus_b ON bonus_b.event_id = pts.event_id LEFT JOIN event e ON e.id = pts.event_id LEFT JOIN tournament t ON t.id = e.tournament_id LEFT JOIN location l ON l.id = e.location_id ORDER BY e.date DESC, pts.sort_id DESC  
DATE LOCATION PTS RNK TOURNAMENT
05/09/2022 Moose MONDAY - $300 GTD + BPO Tokens! 37 16 FRAM
04/25/2022 Moose MONDAY - $300 GTD + BPO Tokens! 10 - FRAM
02/28/2022 Moose MONDAY - $300 GTD + BPO Tokens! 10 - FRAM
12/16/2021 Caipy Sports Bar | $300 GTD + BPO TOKENS 10 - FRAM
06/16/2019 The Westender- $200 GTD Reload Special! 67 10 FRAM
06/17/2018 The Westender- $200 GTD Reload Special! 52 13 FRAM
01/25/2018 Caipy Sports Bar | $300 GTD + BPO TOKENS 62 11 FRAM
12/21/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 10 - FRAM
10/26/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 10 - FRAM
10/19/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 10 - FRAM
10/08/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
09/17/2017 The Westender- $200 GTD Reload Special! 85 8 FRAM
08/17/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 91 7 FRAM
07/27/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 122 2 FRAM
07/07/2017 Am Vets Post 79-- $300 Guaranteed! 40 16 FRAM
06/25/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
04/29/2017 $30K FINALS CHAMPIONSHIP (POINTS) 10 - CHAM
03/30/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 67 10 FRAM
03/16/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 43 15 FRAM
02/23/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 74 9 FRAM
02/02/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 107 4 FRAM
02/01/2017 *CANCELLED 2/17** ALUMNI 10 - C.MA
01/29/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
01/27/2017 Am Vets Post 79-- $300 Guaranteed! 117 3 FRAM
01/26/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 37 16 FRAM
01/20/2017 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 121 3 C.MA
01/19/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 10 - FRAM
01/12/2017 Caipy Sports Bar | $300 GTD + BPO TOKENS 10 - FRAM
01/08/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
01/07/2017 $200 GTD Italian Vets - 12:30 PM (Sat) 94 6 C.MA
01/06/2017 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
01/01/2017 The Westender- $200 GTD Reload Special! 135 1 FRAM
12/30/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 50 15 C.MA
12/21/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
12/17/2016 Natick Elks- Saturday- $200 GTD PAYOUT! 3:30 PM 96 5 FRAM
12/11/2016 The Westender- $200 GTD Reload Special! 117 3 FRAM
12/09/2016 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
12/04/2016 The Westender- $200 GTD Reload Special! 71 9 FRAM
11/13/2016 The Westender- $200 GTD Reload Special! 96 6 FRAM
10/22/2016 Natick Elks- Saturday- $200 GTD PAYOUT! 3:30 PM 10 - FRAM
09/02/2016 Am Vets Post 79-- $300 Guaranteed! 60 12 FRAM
04/03/2016 The Westender- $200 GTD Reload Special! 10 - FRAM
07/12/2015 The Westender Sports Bar 10 - FRAM
07/05/2015 The Westender Sports Bar 10 - FRAM
06/28/2015 The Westender Sports Bar 10 - FRAM
11/10/2013 The Westender Sports Bar 10 - FRAM
07/22/2013 *3/28* The Westender Sports Bar- DSDP 10 - FRAM