erro pegando categoriaYou 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 a.id_categoria = b.id_categoria GROUP BY a.id_categoria ORDER by' at line 5