Fatal error: Uncaught exception 'Exception' with message 'Não foi possível executar o comando SQL especificado: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND partida.idJogo = cor_jogo.idJogo ) as votos, ( SELECT sum(nota) FR' at line 11' in /home/daniloaugusto1/public_html/desenvolvimento/noticiasdocorinthians/_classes/DatabaseManagement.php:388 Stack trace: #0 /home/daniloaugusto1/public_html/desenvolvimento/noticiasdocorinthians/_classes/DatabaseManagement.php(115): DatabaseManagement->execute('???SELECT ????c...') #1 /home/daniloaugusto1/public_html/desenvolvimento/noticiasdocorinthians/_classes/Jogo.php(48): DatabaseManagement->query('???SELECT ????c...') #2 /home/daniloaugusto1/public_html/desenvolvimento/noticiasdocorinthians/jogador.php(129): Jogo->__construct('???SELECT ????c...') #3 {main} thrown in /home/daniloaugusto1/public_html/desenvolvimento/noticiasdocorinthians/_classes/DatabaseManagement.php on line 388