
Ultimate access to all questions.
An e-commerce company updates its product inventory monthly. The main inventory is stored in a delta table named inventory with columns: product_id, product_name, quantity, price, and is_active. At month's end, they receive updates in a delta table updated_inventory with the same schema. If a product_id is missing in updated_inventory, the is_active column in inventory should be set to false. Which MERGE INTO statement correctly updates the inventory table under these conditions?