Error en la consulta de conteo alternativo de registros: select * from restaurantes where idrestaurante in () order by estado asc. Mysql dijo: 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 ') order by estado asc' at line 1