Task: Text to Code
Input (English): SQL: SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id ORDER BY Count ( * ) Desc LIMIT 3
Feedback: In step 1 and 2 replace supplier id with product id .
Output (English): SELECT product_id FROM product_suppliers ORDER BY total_amount_purchased DESC LIMIT 3