CREATE TABLE supplier_addresses (supplier_id DECIMAL, address_id DECIMAL, date_from TIME, date_to TIME)
CREATE TABLE products (product_id DECIMAL, product_type_code TEXT, product_name TEXT, product_price DECIMAL)
CREATE TABLE order_items (order_item_id DECIMAL, order_id DECIMAL, product_id DECIMAL)
CREATE TABLE staff (staff_id DECIMAL, staff_gender TEXT, staff_name TEXT)
CREATE TABLE staff_department_assignments (staff_id DECIMAL, department_id DECIMAL, date_assigned_from TIME, job_title_code TEXT, date_assigned_to TIME)
CREATE TABLE department_store_chain (dept_store_chain_id DECIMAL, dept_store_chain_name TEXT)
CREATE TABLE customers (customer_id DECIMAL, payment_method_code TEXT, customer_code TEXT, customer_name TEXT, customer_address TEXT, customer_phone TEXT, customer_email TEXT)
CREATE TABLE customer_addresses (customer_id DECIMAL, address_id DECIMAL, date_from TIME, date_to TIME)
CREATE TABLE department_stores (dept_store_id DECIMAL, dept_store_chain_id DECIMAL, store_name TEXT, store_address TEXT, store_phone TEXT, store_email TEXT)
CREATE TABLE departments (department_id DECIMAL, dept_store_id DECIMAL, department_name TEXT)
CREATE TABLE addresses (address_id DECIMAL, address_details TEXT)
CREATE TABLE suppliers (supplier_id DECIMAL, supplier_name TEXT, supplier_phone TEXT)
CREATE TABLE customer_orders (order_id DECIMAL, customer_id DECIMAL, order_status_code TEXT, order_date TIME)
CREATE TABLE product_suppliers (product_id DECIMAL, supplier_id DECIMAL, date_supplied_from TIME, date_supplied_to TIME, total_amount_purchased TEXT, total_value_purchased DECIMAL)

Give the maximum and minimum product prices for each product type, grouped and ordered by product type.
SELECT MAX(product_price), MIN(product_price), product_type_code FROM products GROUP BY product_type_code ORDER BY product_type_code
SELECT MAX("product_price"), MIN("product_price"), "product_type_code" FROM "products" GROUP BY "product_type_code" ORDER BY "product_type_code" NULLS FIRST