Question: Find the name of all customers.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: What are the names of all the customers?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: How many customers are there?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Return the total number of distinct customers.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: What is the average amount of items ordered in each order?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Find the average order quantity per order.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: What are the names of customers who use payment method "Cash"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , payment_method (text)


Question: Which customers use "Cash" for payment method? Return the customer names.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , payment_method (text)


Question: Find the "date became customers" of the customers whose ID is between 10 and 20.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : date_became_customer (time) , customer_id (number)


Question: What are the dates when customers with ids between 10 and 20 became customers?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : date_became_customer (time) , customer_id (number)


Question: Which payment method is used by most customers?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : payment_method (text) , customer_id (number)


Question: Find the payment method that is used most frequently.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : payment_method (text) , customer_id (number)


Question: What are the names of customers using the most popular payment method?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , payment_method (text) , customer_id (number)


Question: Find the name of the customers who use the most frequently used payment method.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , payment_method (text) , customer_id (number)


Question: What are all the payment methods?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Return all the distinct payment methods used by customers.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: What are the details of all products?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Return the the details of all products.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Find the name of all customers whose name contains "Alex".

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Which customer's name contains "Alex"? Find the full name.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Find the detail of products whose detail contains the word "Latte" or the word "Americano"

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Which product's detail contains the word "Latte" or "Americano"? Return the full detail.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: What is the address content of the customer named "Maudie Kertzmann"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : address_content (text) , address_id (number) | customers : customer_id (number) , customer_name (text) | customer_addresses : customer_id (number) , address_id (number)


Question: Return the address content for the customer whose name is "Maudie Kertzmann".

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : address_content (text) , address_id (number) | customers : customer_id (number) , customer_name (text) | customer_addresses : customer_id (number) , address_id (number)


Question: How many customers are living in city "Lake Geovannyton"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_id (number) | customer_addresses : customer_id (number) , address_id (number) | addresses : address_id (number) , city (text)


Question: Find the number of customers who live in the city called Lake Geovannyton.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_id (number) | customer_addresses : customer_id (number) , address_id (number) | addresses : address_id (number) , city (text)


Question: Find the name of customers who are living in Colorado?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_addresses : customer_id (number) , address_id (number) | addresses : address_id (number) , state_province_county (text)


Question: What are the names of customers who live in Colorado state?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_addresses : customer_id (number) , address_id (number) | addresses : address_id (number) , state_province_county (text)


Question: Find the list of cities that no customer is living in.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : city (text) , address_id (number) | customers : customer_id (number) | customer_addresses : customer_id (number) , address_id (number)


Question: What are the cities no customers live in?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : city (text) , address_id (number) | customers : customer_id (number) | customer_addresses : customer_id (number) , address_id (number)


Question: Which city has the most customers living in?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : city (text) , address_id (number) | customers : customer_id (number) | customer_addresses : customer_id (number) , address_id (number)


Question: Find the city where the most customers live.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : city (text) , address_id (number) | customers : customer_id (number) | customer_addresses : customer_id (number) , address_id (number)


Question: Retrieve the list of all cities.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: List all the distinct cities

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)


Question: Find the city with post code 255.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : city (text) , zip_postcode (text)


Question: Which city is post code 255 located in?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : city (text) , zip_postcode (text)


Question: Find the state and country of all cities with post code starting with 4.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : state_province_county (text) , country (text) , zip_postcode (text)


Question: What are the state and country of all the cities that have post codes starting with 4.\

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : state_province_county (text) , country (text) , zip_postcode (text)


Question: List the countries having more than 4 addresses listed.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : country (text) , address_id (number)


Question: For which countries are there more than four distinct addresses listed?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : country (text) , address_id (number)


Question: List all the contact channel codes that were used less than 5 times.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : channel_code (text) , customer_id (number)


Question: Which contact channel codes were used less than 5 times?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : channel_code (text) , customer_id (number)


Question: Which contact channel has been used by the customer with name "Tillman Ernser"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : channel_code (text) , customer_id (number) | customers : customer_id (number) , customer_name (text)


Question: Find the contact channel code that was used by the customer named "Tillman Ernser".

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : channel_code (text) , customer_id (number) | customers : customer_id (number) , customer_name (text)


Question: What is the "active to date" of the latest contact channel used by "Tillman Ernser"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : active_to_date (time) , customer_id (number) | customers : customer_id (number) , customer_name (text)


Question: Return the the "active to date" of the latest contact channel used by the customer named "Tillman Ernser".

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : active_to_date (time) , customer_id (number) | customers : customer_id (number) , customer_name (text)


Question: What is the average time span of contact channels in the database?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : active_to_date (time) , active_from_date (time)


Question: Compute the average active time span of contact channels.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : active_to_date (time) , active_from_date (time)


Question: What is the channel code and contact number of the customer contact channel that was active for the longest time?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : channel_code (text) , contact_number (text) , active_to_date (time) , active_from_date (time)


Question: Return the channel code and contact number of the customer contact channel whose active duration was the longest.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_contact_channels : channel_code (text) , contact_number (text) , active_to_date (time) , active_from_date (time)


Question: Find the name and active date of the customer that use email as the contact channel.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_contact_channels : active_from_date (time) , customer_id (number) , channel_code (text)


Question: What are the name and active date of the customers whose contact channel code is email?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_contact_channels : active_from_date (time) , customer_id (number) , channel_code (text)


Question: What is the name of the customer that made the order with the largest quantity?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , order_quantity (text)


Question: Find the name of the customer who made the order of the largest amount of goods.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , order_quantity (text)


Question: What is the name of the customer that has purchased the most items?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , order_quantity (text)


Question: Give me the name of the customer who ordered the most items in total.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , order_quantity (text)


Question: What is the payment method of the customer that has purchased the least quantity of items?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : payment_method (text) , customer_id (number) , customer_name (text) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , order_quantity (text)


Question: Tell me the payment method used by the customer who ordered the least amount of goods in total.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : payment_method (text) , customer_id (number) , customer_name (text) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , order_quantity (text)


Question: How many types of products have Rodrick Heaney bought in total?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : product_id (number) , order_id (number) | customers : customer_id (number) , customer_name (text) | customer_orders : customer_id (number) , order_id (number)


Question: Find the number of distinct products Rodrick Heaney has bought so far.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : product_id (number) , order_id (number) | customers : customer_id (number) , customer_name (text) | customer_orders : customer_id (number) , order_id (number)


Question: What is the total quantity of products purchased by "Rodrick Heaney"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : order_quantity (text) , order_id (number) | customers : customer_id (number) , customer_name (text) | customer_orders : customer_id (number) , order_id (number)


Question: Tell me the total quantity of products bought by the customer called "Rodrick Heaney".

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : order_quantity (text) , order_id (number) | customers : customer_id (number) , customer_name (text) | customer_orders : customer_id (number) , order_id (number)


Question: How many customers have at least one order with status "Cancelled"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_orders : customer_id (number) , order_status (text)


Question: Return the number of customers who have at least one order with "Cancelled" status.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_orders : customer_id (number) , order_status (text)


Question: How many orders have detail "Second time"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_orders : order_details (text) , order_id (number)


Question: Tell me the number of orders with "Second time" as order detail.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customer_orders : order_details (text) , order_id (number)


Question: Find the customer name and date of the orders that have the status "Delivered".

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : order_date (time) , customer_id (number) , order_status (text)


Question: What are the customer name and date of the orders whose status is "Delivered".

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : order_date (time) , customer_id (number) , order_status (text)


Question: What is the total number of products that are in orders with status "Cancelled"?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : order_quantity (text) , order_id (number) | customer_orders : order_id (number) , order_status (text)


Question: Find the total quantity of products associated with the orders in the "Cancelled" status.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : order_quantity (text) , order_id (number) | customer_orders : order_id (number) , order_status (text)


Question: Find the total amount of products ordered before 2018-03-17 07:13:53.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : order_quantity (text) , order_id (number) | customer_orders : order_id (number) , order_date (time)


Question: What is the total amount of products purchased before 2018-03-17 07:13:53?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

order_items : order_quantity (text) , order_id (number) | customer_orders : order_id (number) , order_date (time)


Question: Who made the latest order?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_date (time)


Question: Find the name of the customer who made an order most recently.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_date (time)


Question: Which product has been ordered most number of times?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

products : product_details (text) , product_id (number) | order_items : product_id (number)


Question: What is the most frequently ordered product? Tell me the detail of the product

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

products : product_details (text) , product_id (number) | order_items : product_id (number)


Question: Find the name and ID of the product whose total order quantity is the largest.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

products : product_details (text) , product_id (number) | order_items : product_id (number) , order_quantity (text)


Question: What are the name and ID of the product bought the most.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

products : product_details (text) , product_id (number) | order_items : product_id (number) , order_quantity (text)


Question: Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : address_content (text) , city (text) , state_province_county (text)


Question: What are all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

addresses : address_content (text) , city (text) , state_province_county (text)


Question: Find the name of customers who did not pay with Cash.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , payment_method (text)


Question: What is the name of customers who do not use Cash as payment method.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , payment_method (text)


Question: Find the names of customers who never ordered product Latte.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text)


Question: What are names of customers who never ordered product Latte.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text)


Question: Find the names of customers who never placed an order.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number)


Question: What are the names of customers who never made an order.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number)


Question: Find the names of customers who ordered both products Latte and Americano.

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text)


Question: What are the names of customers who have purchased both products Latte and Americano?

addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | products : product_id (number) , product_details (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , date_became_customer (time) , other_customer_details (text) | customer_addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | customer_contact_channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | customer_orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | order_items : order_id (number) , product_id (number) , order_quantity (text)

customers : customer_name (text) , customer_id (number) | customer_orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text)


Question: How many artists are there?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

artist : artist (text) , artist_id (number)


Question: Count the number of artists.

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

artist : artist (text) , artist_id (number)


Question: List the age of all music artists.

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)


Question: What are the ages of all music artists?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)


Question: What is the average age of all artists?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)


Question: Return the average age across all artists.

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)


Question: What are the famous titles of the artist "Triumfall"?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

artist : famous_title (text) , artist (text)


Question: Return the famous titles of the artist called "Triumfall".

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

artist : famous_title (text) , artist (text)


Question: What are the distinct Famous release dates?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

artist : famous_release_date (text) , artist (text)


Question: Give the distinct famous release dates for all artists.

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

artist : famous_release_date (text) , artist (text)


Question: Return the dates of ceremony and the results of all music festivals

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

music_festival : date_of_ceremony (text) , result (text) , music_festival (text)


Question: What are the dates of ceremony and results for each music festival?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

music_festival : date_of_ceremony (text) , result (text) , music_festival (text)


Question: What are the category of music festivals with result "Awarded"?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

music_festival : category (text) , music_festival (text) , result (text)


Question: Return the categories of music festivals that have the result "Awarded".

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)

music_festival : category (text) , music_festival (text) , result (text)


Question: What are the maximum and minimum week on top of all volumes?

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)


Question: Give the maximum and minimum weeks on top across all volumes.

artist : artist_id (number) , artist (text) , age (number) , famous_title (text) , famous_release_date (text) | volume : volume_id (number) , volume_issue (text) , issue_date (text) , weeks_on_top (number) , song (text) , artist_id (number) | music_festival : id (number) , music_festival (text) , date_of_ceremony (text) , category (text) , volume (number) , result (text)