What is the average price for each type of product?
CREATE TABLE products (
    product_type_code VARCHAR,
    product_price INTEGER
)
SELECT product_type_code, AVG(product_price) FROM products GROUP BY product_type_code
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average price for each type of product? ### Input: CREATE TABLE products (
    product_type_code VARCHAR,
    product_price INTEGER
) ### Response: SELECT product_type_code, AVG(product_price) FROM products GROUP BY product_type_code