Error en la consulta de conteo alternativo de registros: SELECT * FROM producto where subcategoria_id= and id_producto != order by nombre_esp. Mysql dijo: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and id_producto != order by nombre_esp' at line 1