SELECT nota.* FROM notas nota WHERE nota.habilitar = 1 AND nota.id = GROUP BY nota.id; ERROR: 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 'GROUP BY nota.id' at line 7 |