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

(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 = 40731 GROUP BY event_id) pts LEFT JOIN (SELECT event_id, SUM(points) AS points FROM participation_points WHERE player_id = 40731 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 = 40731 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
03/06/2020 Am Vets Post 79-- $300 Guaranteed! 42 15 FRAM
02/28/2020 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
02/21/2020 Am Vets Post 79-- $300 Guaranteed! 68 10 FRAM
01/24/2020 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
01/17/2020 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
01/10/2020 Am Vets Post 79-- $300 Guaranteed! 36 16 FRAM
01/03/2020 Am Vets Post 79-- $300 Guaranteed! 63 11 FRAM
12/27/2019 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
12/20/2019 Am Vets Post 79-- $300 Guaranteed! 91 6 FRAM
12/13/2019 Am Vets Post 79-- $300 Guaranteed! 82 8 FRAM
12/06/2019 Am Vets Post 79-- $300 Guaranteed! 89 7 FRAM
11/08/2019 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
11/01/2019 Am Vets Post 79-- $300 Guaranteed! 83 8 FRAM
10/25/2019 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
10/04/2019 Am Vets Post 79-- $300 Guaranteed! 115 3 FRAM
09/27/2019 Am Vets Post 79-- $300 Guaranteed! 43 15 FRAM
09/13/2019 Am Vets Post 79-- $300 Guaranteed! 46 14 FRAM
06/14/2019 Am Vets Post 79-- $300 Guaranteed! 61 11 FRAM
04/19/2019 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
04/12/2019 Am Vets Post 79-- $300 Guaranteed! 68 10 FRAM