Task: Text to Code
Input (English): What are the average prices of products for each manufacturer?
Output (English): SELECT avg(T1.price) ,  T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.name