Create a table order_items with columns: order_id (INTEGER), product_id (INTEGER), quantity (INTEGER), unit_price (DECIMAL(10,2)). Use the composite distribution key DISTRIBUTED BY (order_id, product_id).
Sign in to solve