Return the average price of products that have each category code.
CREATE TABLE staff (
    staff_id number,
    gender text,
    first_name text,
    last_name text,
    email_address text,
    phone_number text
)

CREATE TABLE products (
    product_id number,
    parent_product_id number,
    product_category_code text,
    date_product_first_available time,
    date_product_discontinued time,
    product_name text,
    product_description text,
    product_price number
)

CREATE TABLE complaints (
    complaint_id number,
    product_id number,
    customer_id number,
    complaint_outcome_code text,
    complaint_status_code text,
    complaint_type_code text,
    date_complaint_raised time,
    date_complaint_closed time,
    staff_id number
)

CREATE TABLE customers (
    customer_id number,
    customer_type_code text,
    address_line_1 text,
    address_line_2 text,
    town_city text,
    state text,
    email_address text,
    phone_number text
)
SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_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: Return the average price of products that have each category code. ### Input: CREATE TABLE staff (
    staff_id number,
    gender text,
    first_name text,
    last_name text,
    email_address text,
    phone_number text
)

CREATE TABLE products (
    product_id number,
    parent_product_id number,
    product_category_code text,
    date_product_first_available time,
    date_product_discontinued time,
    product_name text,
    product_description text,
    product_price number
)

CREATE TABLE complaints (
    complaint_id number,
    product_id number,
    customer_id number,
    complaint_outcome_code text,
    complaint_status_code text,
    complaint_type_code text,
    date_complaint_raised time,
    date_complaint_closed time,
    staff_id number
)

CREATE TABLE customers (
    customer_id number,
    customer_type_code text,
    address_line_1 text,
    address_line_2 text,
    town_city text,
    state text,
    email_address text,
    phone_number text
) ### Response: SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_code