What are the codes and names of the cheapest products in each category?
select code, name, min(price) from products group by name