SCHEMA:
CREATE TABLE products (code VARCHAR, name VARCHAR, price INTEGER)
USER:
Select the code of the product that is cheapest in each product category.

QUERY:
SELECT code, name, MIN(price) FROM products GROUP BY name