Task: Text to Code
Input (English): How many distinct order ids correspond to each product?
Output (English): SELECT product_id ,  count(DISTINCT order_id) FROM Order_items GROUP BY product_id