SELECT types.name, products.name, products.price FROM types INNER JOIN products ON types.ID = products.type_id ORDER BY types.name, products.name;