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)

addresses : city (text) , address_id (number)


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)

addresses : city (text) , address_id (number)


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) , address_id (number)


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) , address_id (number)


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) , address_id (number)


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) , address_id (number)


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) , order_id (number)


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) , order_id (number)


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) , order_id (number)


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) , order_id (number)


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) , order_id (number)


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) , order_id (number)


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) , address_id (number)


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) , address_id (number)


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) , customer_id (number)


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) , customer_id (number)


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) , order_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) , order_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)

artist : age (number) , artist (text) , artist_id (number)


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)

artist : age (number) , artist (text) , artist_id (number)


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)

artist : age (number) , artist (text) , artist_id (number)


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)

artist : age (number) , artist (text) , artist_id (number)


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) , artist_id (number)


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) , artist_id (number)


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) , artist_id (number)


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) , artist_id (number)


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) , id (number)


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) , id (number)


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) , id (number)


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) , id (number)


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)

volume : weeks_on_top (number) , volume_id (number)


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)

volume : weeks_on_top (number) , volume_id (number)


Question: What are the songs in volumes with more than 1 week on top?

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)

volume : song (text) , weeks_on_top (number) , volume_id (number)


Question: Give the songs included in volumes that have more than 1 week on top.

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)

volume : song (text) , weeks_on_top (number) , volume_id (number)


Question: Please list all songs in volumes in ascending alphabetical order.

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)

volume : song (text) , volume_id (number)


Question: What are the the songs in volumes, listed in ascending order?

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)

volume : song (text) , volume_id (number)


Question: How many distinct artists do the volumes associate to?

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)

volume : artist_id (number) , volume_id (number)


Question: Count the number of distinct artists who have 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)

volume : artist_id (number) , volume_id (number)


Question: Please show the date of ceremony of the volumes that last more than 2 weeks on top.

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) , music_festival (text) , volume (number) , id (number) | volume : volume_id (number) , weeks_on_top (number)


Question: What are the dates of ceremony at music festivals corresponding to volumes that lasted more than 2 weeks on top?

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) , music_festival (text) , volume (number) , id (number) | volume : volume_id (number) , weeks_on_top (number)


Question: Please show the songs that have result "nominated" at 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)

volume : song (text) , volume_id (number) | music_festival : music_festival (text) , volume (number) , result (text) , id (number)


Question: What are the songs in volumes that have resulted in a nomination at 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)

volume : song (text) , volume_id (number) | music_festival : music_festival (text) , volume (number) , result (text) , id (number)


Question: What are the issue dates of volumes associated with the artist "Gorgoroth"?

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)

volume : issue_date (text) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number)


Question: Return the issue dates of volumes that are by the artist named Gorgoroth.

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)

volume : issue_date (text) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number)


Question: What are the songs in volumes associated with the artist aged 32 or older?

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)

volume : song (text) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number) , age (number)


Question: Return names of songs in volumes that are by artists that are at least 32 years old.

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)

volume : song (text) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number) , age (number)


Question: What is the average weeks on top of volumes associated with the artist aged 25 or younger?

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)

volume : weeks_on_top (number) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number) , age (number)


Question: Return the average number of weeks on top for volumes by artists that are at most 25 years old.

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)

volume : weeks_on_top (number) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number) , age (number)


Question: What are the famous title of the artists associated with volumes with more than 2 weeks on top?

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) , artist_id (number) | volume : artist_id (number) , weeks_on_top (number) , volume_id (number)


Question: Return the famous titles for artists that have volumes that lasted more than 2 weeks on top.

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) , artist_id (number) | volume : artist_id (number) , weeks_on_top (number) , volume_id (number)


Question: Please list the age and famous title of artists in descending order of age.

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) , age (number) , artist (text) , artist_id (number)


Question: What are the famous titles and ages of each artist, listed in descending order by age?

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) , age (number) , artist (text) , artist_id (number)


Question: What is the famous release date of the artist with the oldest age?

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) , age (number) , artist_id (number)


Question: Return the famous release date for the oldest artist.

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) , age (number) , artist_id (number)


Question: Please show the categories of the music festivals and the count.

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) , id (number)


Question: Return the number of music festivals of each category.

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) , id (number)


Question: What is the most common result of the 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 : result (text) , music_festival (text) , id (number)


Question: Return the result that is most frequent at 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 : result (text) , music_festival (text) , id (number)


Question: Please show the categories of the music festivals with count more than 1.

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) , id (number)


Question: What are the categories of music festivals for which there have been more than 1 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 : category (text) , music_festival (text) , id (number)


Question: What is the song in the volume with the maximum weeks on top?

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)

volume : song (text) , weeks_on_top (number) , volume_id (number)


Question: Return the song in the volume that has spent the most weeks on top?

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)

volume : song (text) , weeks_on_top (number) , volume_id (number)


Question: Find the famous titles of artists that do not have any volume.

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) , artist_id (number) | volume : artist_id (number) , volume_id (number)


Question: What are the famous titles of artists who do not have any 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)

artist : famous_title (text) , artist (text) , artist_id (number) | volume : artist_id (number) , volume_id (number)


Question: Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top.

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) , artist_id (number) | volume : artist_id (number) , weeks_on_top (number) , volume_id (number)


Question: What are the famous titles of artists who have not only had volumes that spent more than 2 weeks on top but also volumes that spent less than 2 weeks on top?

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) , artist_id (number) | volume : artist_id (number) , weeks_on_top (number) , volume_id (number)


Question: What are the date of ceremony of music festivals with category "Best Song" and 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 : date_of_ceremony (text) , music_festival (text) , category (text) , result (text) , id (number)


Question: Return the dates of ceremony corresponding to music festivals that had the category "Best Song" and 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 : date_of_ceremony (text) , music_festival (text) , category (text) , result (text) , id (number)


Question: What is the issue date of the volume with the minimum weeks on top?

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)

volume : issue_date (text) , weeks_on_top (number) , volume_id (number)


Question: Return the issue date of the volume that has spent the fewest weeks on top.

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)

volume : issue_date (text) , weeks_on_top (number) , volume_id (number)


Question: How many distinct artists have 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)

volume : artist_id (number) , volume_id (number)


Question: Count the number of artists who have had 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)

volume : artist_id (number) , volume_id (number)


Question: Please show the results of music festivals and the number of music festivals that have had each, ordered by this count.

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 : result (text) , music_festival (text) , id (number)


Question: How many music festivals have had each kind of result, ordered descending by count?

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 : result (text) , music_festival (text) , id (number)


Question: What are the issue dates of volumes associated with the artist aged 23 or younger?

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)

volume : issue_date (text) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number) , age (number)


Question: Return the issue dates of volumes by artists who are at most 23 years old?

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)

volume : issue_date (text) , artist_id (number) , volume_id (number) | artist : artist (text) , artist_id (number) , age (number)


Question: How many roller coasters are there?

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)


Question: List the names of roller coasters by ascending order of length.

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)

roller_coaster : name (text) , length (number) , roller_coaster_id (number)


Question: What are the lengths and heights of roller coasters?

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)

roller_coaster : length (number) , height (number) , roller_coaster_id (number)


Question: List the names of countries whose language is not "German".

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)

country : name (text) , languages (text) , country_id (number)


Question: Show the statuses of roller coasters longer than 3300 or higher than 100.

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)

roller_coaster : status (text) , length (number) , height (number) , roller_coaster_id (number)


Question: What are the speeds of the longest roller coaster?

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)

roller_coaster : speed (text) , length (number) , roller_coaster_id (number)


Question: What is the average speed of roller coasters?

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)

roller_coaster : speed (text) , roller_coaster_id (number)


Question: Show the different statuses and the numbers of roller coasters for each status.

roller_coaster : roller_coaster_id (number) , name (text) , park (text) , country_id (number) , length (number) , height (number) , speed (text) , opened (text) , status (text) | country : country_id (number) , name (text) , population (number) , area (number) , languages (text)

roller_coaster : status (text) , roller_coaster_id (number)