(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 = 36233  

(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 = 36233 GROUP BY event_id) pts LEFT JOIN (SELECT event_id, SUM(points) AS points FROM participation_points WHERE player_id = 36233 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 = 36233 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
11/13/2023 Moose MONDAY - $300 GTD + BPO Tokens! 51 13 FRAM
10/16/2023 Moose MONDAY - $300 GTD + BPO Tokens! 61 11 FRAM
07/10/2023 Moose MONDAY - $300 GTD + BPO Tokens! 85 8 FRAM
07/06/2023 Caipy Sports Bar | $300 GTD + BPO TOKENS 122 2 FRAM
09/17/2016 $10,000 Monthly Championship 10 - CHAM
09/01/2016 Son's of Italy | Thursdays | $300 GTD + BPO Tokens 10 - N.SHR
08/31/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 44 15 FRAM
08/30/2016 *2/14* Speaker's- Double Stacks/Double Payouts! 10 - FRAM
08/26/2016 Am Vets Post 79-- $300 Guaranteed! 118 3 FRAM
08/25/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 87 8 FRAM
08/23/2016 *2/14* Speaker's- Double Stacks/Double Payouts! 10 - FRAM
08/19/2016 Am Vets Post 79-- $300 Guaranteed! 69 10 FRAM
08/18/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 84 8 FRAM
08/13/2016 $10,000 Monthly Championship 94 9 CHAR
08/08/2016 The Westender- $200 GTD! 10 - FRAM
08/05/2016 Am Vets Post 79-- $300 Guaranteed! 48 14 FRAM
08/04/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 68 10 FRAM
08/02/2016 $300 GTD @ Sports Legends Pub- BPO TOKENS! 10 - RI
07/30/2016 $60 Cheapstack @ Norwood Elks 10 - CHAR
07/28/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 89 7 FRAM
07/27/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
07/26/2016 *2/14* Speaker's- Double Stacks/Double Payouts! 10 - FRAM
07/23/2016 Italian American Club (Walpole) 10 - CHAR
07/22/2016 Am Vets Post 79-- $300 Guaranteed! 41 15 FRAM
07/21/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 97 6 FRAM
07/20/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 49 14 FRAM
07/19/2016 *2/14* Speaker's- Double Stacks/Double Payouts! 10 - FRAM
07/16/2016 $10,000 Guaranteed Payout! 50K Finals Seat Added 89 8 CHAR
07/14/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 64 11 FRAM
07/13/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 76 9 FRAM
07/12/2016 *2/14* Speaker's- Double Stacks/Double Payouts! 108 4 FRAM
06/23/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 114 3 FRAM
06/21/2016 HE Fletcher Club (TUES) $300 GTD +BPO Tokens! 10 - LWLL
06/20/2016 The Westender- $200 GTD! 10 - FRAM
06/17/2016 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
06/15/2016 American Civic League | WED| $300 GTD +BPO TOKENS 10 - LWLL
06/14/2016 HE Fletcher Club (TUES) $300 GTD +BPO Tokens! 10 - LWLL
06/08/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 45 15 FRAM
05/16/2016 The Westender- $200 GTD! 10 - FRAM
05/12/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 42 15 FRAM