Fatal error: Uncaught mysqli_sql_exception: 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 index_subgrupo.isu_index_grupo =' at line 1 in /var/www/html/transparencia/bloco.php:17
Stack trace:
#0 /var/www/html/transparencia/bloco.php(17): mysqli_query()
#1 {main}
thrown in /var/www/html/transparencia/bloco.php on line 17