What is the average price of the products for each category?
CREATE TABLE products (product_category_code VARCHAR, product_price INTEGER)
SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_code
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products (product_category_code VARCHAR, product_price INTEGER) Question: What is the average price of the products for each category? [/INST] SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_code </s>