array (
  0 => '00000',
  1 => NULL,
  2 => NULL,
)

SELECT "item"."id","item"."codigo","item"."codigo_interno","item"."nombre","item"."detalle","item"."marca","m"."nombre" AS "nombre_marca","item"."valor","item"."valorUSD","item"."valorUF","item"."descuento","item"."descuento_monto","item"."tax","item"."type","item"."visita","item"."disponibleweb","item"."disponibletienda","item"."stock","item"."stock_old","item"."qty_enabled","item"."qty_total","item"."peso_embalaje","item"."dimension_embalaje","item"."disabled","item"."createdby","item"."modedby","item"."fechareg","item"."fechamod","item_categoria_item"."category_id" AS "categoria" FROM "item_categoria_item" LEFT JOIN "item" ON "item_categoria_item"."product_id" = "item"."id" LEFT JOIN "item_marca" AS "m" ON "item"."marca" = "m"."id" WHERE "item"."disabled" = 0 AND "item_categoria_item"."category_id" = '10' GROUP BY "item"."id" ORDER BY "item"."id" DESC LIMIT 996,12