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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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)

products : product_id (number) , product_id (number) | order_items : product_id (number) , order_id (number) | customers : customer_id (number) , customer_name (text) , customer_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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)

products : product_id (number) , product_id (number) | order_items : product_id (number) , order_id (number) | customers : customer_id (number) , customer_name (text) , customer_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_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)

customers : customer_id (number) , customer_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | 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)

customers : customer_id (number) , customer_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | 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_id (number) | customer_orders : order_date (time) , customer_id (number) , order_status (text) , order_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_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_id (number) | customer_orders : order_date (time) , customer_id (number) , order_status (text) , order_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_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) , order_id (number)


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


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


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


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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : 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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : 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) , 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) , 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) , 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) , 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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text) , product_id (number)


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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text) , product_id (number)


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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : 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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : 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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text) , product_id (number)


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_id (number) | customer_addresses : customer_id (number) | customer_contact_channels : customer_id (number) | customer_orders : customer_id (number) , order_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) | products : product_id (number) , product_details (text) , product_id (number)


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

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

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

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

artist : artist_id (number) , artist_id (number) | volume : artist_id (number) , volume_id (number) | music_festival : volume (number) , 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) , artist_id (number) | music_festival : volume (number) , id (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) , artist_id (number) | music_festival : volume (number) , id (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) | country : name (text) , country_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)

roller_coaster : name (text) , roller_coaster_id (number) | 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)


Question: Please show the most common status 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 : status (text) , roller_coaster_id (number)


Question: List the status shared by more than two 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 : status (text) , roller_coaster_id (number)


Question: Show the park of the roller coaster with the highest speed.

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 : park (text) , speed (text) , roller_coaster_id (number)


Question: Show the names of roller coasters and names of country they are in.

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) , country_id (number) , roller_coaster_id (number) | country : name (text) , country_id (number) , country_id (number)


Question: Show the names of countries that have more than one 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 : name (text) , country_id (number) , roller_coaster_id (number) | country : name (text) , country_id (number) , country_id (number)


Question: Show the name and population of the country that has the highest 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 : name (text) , country_id (number) , height (number) , roller_coaster_id (number) | country : name (text) , population (number) , country_id (number) , country_id (number)


Question: Show the names of countries and the average speed of roller coasters from each country.

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) , speed (text) , country_id (number) , roller_coaster_id (number) | country : name (text) , country_id (number) , country_id (number)


Question: How many countries do not have an roller coaster longer than 3000?

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 : country_id (number) , length (number) , roller_coaster_id (number) | country : country_id (number) , country_id (number)


Question: What are the country names, area and population which has both roller coasters with speed higher

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) , country_id (number) , speed (text) , roller_coaster_id (number) | country : name (text) , area (number) , population (number) , country_id (number) , country_id (number)


Question: How many different captain ranks are there?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , captain_id (number)


Question: Count the number of different ranks of captain.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , captain_id (number)


Question: How many captains are in each rank?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , captain_id (number)


Question: Count the number of captains that have each rank.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , captain_id (number)


Question: How many captains with younger than 50 are in each rank?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , age (text) , captain_id (number)


Question: Count the number of captains younger than 50 of each rank.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , age (text) , captain_id (number)


Question: Sort all captain names by their ages from old to young.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , age (text) , captain_id (number) | ship : name (text) , ship_id (number)


Question: What are the names of captains, sorted by age descending?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , age (text) , captain_id (number) | ship : name (text) , ship_id (number)


Question: Find the name, class and rank of all captains.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , class (text) , rank (text) , captain_id (number) | ship : name (text) , class (text) , ship_id (number)


Question: What are the names, classes, and ranks of all captains?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , class (text) , rank (text) , captain_id (number) | ship : name (text) , class (text) , ship_id (number)


Question: Which rank is the most common among captains?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , captain_id (number)


Question: Return the rank for which there are the fewest captains.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , captain_id (number)


Question: Which classes have more than two captains?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: Give the classes that have more than two captains.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: Find the name of captains whose rank are either Midshipman or Lieutenant.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , rank (text) , captain_id (number) | ship : name (text) , ship_id (number)


Question: What are the names of captains that have either the rank Midshipman or Lieutenant?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , rank (text) , captain_id (number) | ship : name (text) , ship_id (number)


Question: What are the average and minimum age of captains in different class?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : age (text) , class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: Return the average and minimum age of captains in each class.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : age (text) , class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: Find the captain rank that has some captains in both Cutter and Armed schooner classes.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: What are the ranks of captains that are both in the Cutter and Armed schooner classes?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: Find the captain rank that has no captain in Third-rate ship of the line class.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: What are the ranks of captains that have no captain that are in the Third-rate ship of the line class?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : rank (text) , class (text) , captain_id (number) | ship : class (text) , ship_id (number)


Question: What is the name of the youngest captain?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , age (text) , captain_id (number) | ship : name (text) , ship_id (number)


Question: Return the name of the youngest captain.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , age (text) , captain_id (number) | ship : name (text) , ship_id (number)


Question: how many ships are there?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)


Question: Count the number of ships.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)


Question: Find the name, type, and flag of the ship that is built in the most recent year.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , captain_id (number) | ship : name (text) , type (text) , flag (text) , built_year (number) , ship_id (number)


Question: What is the name, type, and flag of the ship that was built in the most recent year?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , captain_id (number) | ship : name (text) , type (text) , flag (text) , built_year (number) , ship_id (number)


Question: Group by ships by flag, and return number of ships that have each flag.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)


Question: What are the different ship flags, and how many ships have each?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)


Question: Which flag is most widely used among all ships?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)


Question: Return the flag that is most common among all ships.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)


Question: List all ship names in the order of built year and class.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , class (text) , captain_id (number) | ship : name (text) , built_year (number) , class (text) , ship_id (number)


Question: What are the names of ships, ordered by year they were built and their class?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , class (text) , captain_id (number) | ship : name (text) , built_year (number) , class (text) , ship_id (number)


Question: Find the ship type that are used by both ships with Panama and Malta flags.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

ship : type (text) , flag (text) , ship_id (number)


Question: What types of ships have both ships that have Panama Flags and Malta flags?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

ship : type (text) , flag (text) , ship_id (number)


Question: In which year were most of ships built?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

ship : built_year (number) , ship_id (number)


Question: What is the year in which most ships were built?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

ship : built_year (number) , ship_id (number)


Question: Find the name of the ships that have more than one captain.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , captain_id (number) | ship : name (text) , ship_id (number) , ship_id (number)


Question: What are the names of ships that have more than one captain?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , captain_id (number) | ship : name (text) , ship_id (number) , ship_id (number)


Question: what are the names and classes of the ships that do not have any captain yet?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , class (text) , ship_id (number) , captain_id (number) | ship : name (text) , class (text) , ship_id (number) , ship_id (number)


Question: Return the names and classes of ships that do not have a captain?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , class (text) , ship_id (number) , captain_id (number) | ship : name (text) , class (text) , ship_id (number) , ship_id (number)


Question: Find the name of the ship that is steered by the youngest captain.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , age (text) , captain_id (number) | ship : name (text) , ship_id (number) , ship_id (number)


Question: What is the name of the ship that is commanded by the youngest captain?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , age (text) , captain_id (number) | ship : name (text) , ship_id (number) , ship_id (number)


Question: Find the name and flag of ships that are not steered by any captain with Midshipman rank.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , rank (text) , captain_id (number) | ship : name (text) , flag (text) , ship_id (number) , ship_id (number)


Question: What are the names and flags of ships that do not have a captain with the rank of Midshipman?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , rank (text) , captain_id (number) | ship : name (text) , flag (text) , ship_id (number) , ship_id (number)