SELECT BGRP.player_id as Player, COUNT(DISTINCT(BGRP.round_id)) AS Rounds, SUM(BGRP.win) as Wins, SUM(BGRP.loose) as Looses, SUM(BGRP.bye) as Bye, IF(SUM(BGRP.sum)> 0 ,SUM(BGRP.sum),0) as TOTAL, SUM(BGRP.gp_added) as GPSum, (SUM(BGRP.sum)+(SUM(BGRP.gp_added)*GAMES.game_amount)) as SUMPLUSGP, (SELECT gp_added FROM bg_r_p_sum WHERE player_id = Player
AND round_id = '845') AS GP FROM bg_r_p_sum as BGRP LEFT JOIN bg_games as GAMES on GAMES.game_id = BGRP.game_id WHERE BGRP.game_id='107' GROUP BY BGRP.player_id ORDER BY TOTAL DESC, GPSum DESC, Player DESC, Rounds DESC
Warning: Use of undefined constant current_game - assumed 'current_game' (this will throw an Error in a future version of PHP) in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 9163
Warning: Use of undefined constant current_game - assumed 'current_game' (this will throw an Error in a future version of PHP) in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 9165
Warning: Use of undefined constant current_game - assumed 'current_game' (this will throw an Error in a future version of PHP) in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 9167
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2780
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2785
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2789
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Warning: A non-numeric value encountered in /mnt/web109/b0/33/5108633/htdocs/TRIPLE/functions.inc.php on line 2797
Summary