Database: customer_complaints
Question: Return the average price of products that have each category code.
SQL:
SELECT avg(product_price) ,  product_category_code FROM products GROUP BY product_category_code