(mysqli): SELECT * FROM cms LIMIT 1  

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

(mysqli): SELECT id, name, city FROM location WHERE active = 1 ORDER BY name ASC  

(mysqli): SELECT id, name, state FROM tournament WHERE 1 ORDER BY name ASC  

(mysqli): SELECT e.id, e.date, e.time, l.default_time, e.name, e.tournament_id, e.location_id, COUNT(pts.player_id) as player_count FROM event e INNER JOIN player_pts pts ON pts.event_id = e.id LEFT JOIN location AS l ON e.location_id = l.id WHERE e.location_id = 367 AND pts.action = 'CHECK_IN' GROUP BY pts.event_id ORDER BY e.date DESC LIMIT 50  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 10366 AND pts.action = 1  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 10357 AND pts.action = 1  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 10348 AND pts.action = 1  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 10311 AND pts.action = 1  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 9943 AND pts.action = 1  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 10039 AND pts.action = 1  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 10030 AND pts.action = 1  

(mysqli): SELECT CONCAT(p.first,' ',p.last) as wname, p.id as wid FROM player_pts pts INNER JOIN player p ON p.id = pts.player_id WHERE pts.event_id = 10048 AND pts.action = 1  
DATE DAY EVENT TIME PLAYERS WON BY
08/26/2012 Sun Pub Poker 7:00 PM 17 Thomas Terry
08/19/2012 Sun Pub Poker 7:00 PM 23 Cheryl Grande
08/12/2012 Sun Pub Poker 7:00 PM 22 Scott Plouff
08/05/2012 Sun Pub Poker 7:00 PM 11 Charles LeCorn
07/29/2012 Sun Pub Poker 7:00 PM 14 Scott Plouff
07/22/2012 Sun Pub Poker 7:00 PM 23 Mike Valentine
07/15/2012 Sun Pub Poker 7:00 PM 12 Kevin Russell
07/08/2012 Sun Pub Poker 7:00 PM 24 Mike Gauthier