Ver originalSELECT * FROM inventario LIMIT (SELECT (count( * ) DIV 10) FROM `inventario` WHERE `id` < '5'), 10
Ver originalSELECT @A:=(count( * ) DIV 10) FROM `inventario` WHERE `id` < '5'SELECT * FROM inventario LIMIT @A, 10
Ver originalSELECT (count( * ) DIV 10) AS algo FROM `inventario` WHERE `id` < '5';SELECT * FROM inventario LIMIT algo, 10