SELECT nombre, apellido, ci_adm, administradores.nivel FROM administradores WHERE ci_adm = -1You 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 actividades.tipo_act = 1 ORDER BY agno DESC, actividades.actividad' at line 1