What are the average prices of products, grouped by manufacturer name?
select avg(t1.price), t2.name from products as t1 join manufacturers as t2 on t1.manufacturer = t2.code group by t2.name