Loading…
An operations team needs to reconcile closing inventory from inventory_opening and inventory_movements. Closing units equal opening_units plus every signed quantity_change. Preserve products that have no movements.
Return exactly two columns: product_id and . Return one row per product, ordered by .
closing_unitsproduct_idCreate a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.