db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
tracking_orders
|
What is the placement date of the order whose invoice number is 10?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
orders : date_order_placed (time) , order_id (number) | shipments : order_id (number) , invoice_number (number)
| 0.851852 |
tracking_orders
|
On what day was the order with invoice number 10 placed?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
orders : date_order_placed (time) , order_id (number) | shipments : order_id (number) , invoice_number (number)
| 0.851852 |
tracking_orders
|
List the count and id of each product in all the orders.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
products : product_id (number) | order_items : product_id (number) , order_id (number) , order_item_id (number) | orders : order_id (number)
| 0.814815 |
tracking_orders
|
For each product, return its id and the number of times it was ordered.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
products : product_id (number) | order_items : product_id (number) , order_id (number) , order_item_id (number) | orders : order_id (number)
| 0.814815 |
tracking_orders
|
List the name and count of each product in all orders.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
products : product_name (text) , product_id (number) | orders : order_id (number) | order_items : order_id (number) , product_id (number) , order_item_id (number)
| 0.777778 |
tracking_orders
|
For each product, show its name and the number of times it was ordered.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
products : product_name (text) , product_id (number) | orders : order_id (number) | order_items : order_id (number) , product_id (number) , order_item_id (number)
| 0.777778 |
tracking_orders
|
Find the ids of orders which are shipped after 2000-01-01.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
shipments : order_id (number) , shipment_date (time)
| 0.925926 |
tracking_orders
|
Which orders have shipment after 2000-01-01? Give me the order ids.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
shipments : order_id (number) , shipment_date (time)
| 0.925926 |
tracking_orders
|
Find the id of the order which is shipped most recently.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
shipments : order_id (number) , shipment_date (time)
| 0.925926 |
tracking_orders
|
Which order has the most recent shipment? Give me the order id.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
shipments : order_id (number) , shipment_date (time)
| 0.925926 |
tracking_orders
|
List the names of all distinct products in alphabetical order.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
products : product_name (text)
| 0.962963 |
tracking_orders
|
Sort all the distinct products in alphabetical order.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
products : product_name (text)
| 0.962963 |
tracking_orders
|
List the ids of all distinct orders ordered by placed date.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
orders : order_id (number) , date_order_placed (time)
| 0.925926 |
tracking_orders
|
What are ids of the all distinct orders, sorted by placement date?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
orders : order_id (number) , date_order_placed (time)
| 0.925926 |
tracking_orders
|
What is the id of the order which has the most items?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
orders : order_id (number) | order_items : order_id (number) , order_item_id (number)
| 0.888889 |
tracking_orders
|
Which order deals with the most items? Return the order id.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
orders : order_id (number) | order_items : order_id (number) , order_item_id (number)
| 0.888889 |
tracking_orders
|
What is the name of the customer who has the largest number of orders?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
| 0.851852 |
tracking_orders
|
Find the name of the customer who made the most orders.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
| 0.851852 |
tracking_orders
|
Find the invoice numbers which are created before 1989-09-03 or after 2007-12-25.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
invoices : invoice_number (number) , invoice_date (time)
| 0.925926 |
tracking_orders
|
What are the invoice numbers created before 1989-09-03 or after 2007-12-25?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
invoices : invoice_number (number) , invoice_date (time)
| 0.925926 |
tracking_orders
|
Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
invoices : invoice_details (text) , invoice_date (time)
| 0.925926 |
tracking_orders
|
What are the distinct details of invoices created before 1989-09-03 or after 2007-12-25?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
invoices : invoice_details (text) , invoice_date (time)
| 0.925926 |
tracking_orders
|
For each customer who has at least two orders, find the customer name and number of orders made.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
| 0.851852 |
tracking_orders
|
Which customers have made at least two orders? Give me each customer name and number of orders made.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
| 0.851852 |
tracking_orders
|
Find the name of the customers who have at most two orders.
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
| 0.851852 |
tracking_orders
|
What are the names of the customers who have made two or less orders?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
| 0.851852 |
tracking_orders
|
List the names of the customers who have once bought product "food".
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) , order_item_id (number) | products : product_id (number) , product_name (text)
| 0.666667 |
tracking_orders
|
What are the names of the customers who bought product "food" at least once?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) , order_item_id (number) | products : product_id (number) , product_name (text)
| 0.666667 |
tracking_orders
|
List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) , order_item_status (text) , order_item_id (number) | products : product_id (number) , product_name (text)
| 0.62963 |
tracking_orders
|
Which customers have ever canceled the purchase of the product "food" (the item status is "Cancel")?
|
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
|
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number) | order_items : order_id (number) , product_id (number) , order_item_status (text) , order_item_id (number) | products : product_id (number) , product_name (text)
| 0.62963 |
architecture
|
How many architects are female?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : gender (text) , id (text)
| 0.882353 |
architecture
|
List the name, nationality and id of all male architects ordered by their names lexicographically.
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : name (text) , nationality (text) , id (text) , gender (text)
| 0.764706 |
architecture
|
What is the maximum length in meters for the bridges and what are the architects' names?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
bridge : length_meters (number) , name (text) , architect_id (number) , id (number) | architect : name (text) , id (text)
| 0.647059 |
architecture
|
What is the average length in feet of the bridges?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
bridge : length_feet (number)
| 0.941176 |
architecture
|
What are the names and year of construction for the mills of 'Grondzeiler' type?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
mill : name (text) , built_year (number) , type (text)
| 0.823529 |
architecture
|
What are the distinct names and nationalities of the architects who have ever built a mill?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : name (text) , nationality (text) , id (text) | mill : name (text) , id (number) , architect_id (number)
| 0.647059 |
architecture
|
What are the names of the mills which are not located in 'Donceel'?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
mill : name (text) , location (text)
| 0.882353 |
architecture
|
What are the distinct types of mills that are built by American or Canadian architects?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
mill : type (text) , architect_id (number) , id (number) | architect : id (text) , nationality (text)
| 0.705882 |
architecture
|
What are the ids and names of the architects who built at least 3 bridges ?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : id (text) , name (text) | bridge : id (number) , name (text) , architect_id (number) , id (text)
| 0.647059 |
architecture
|
What is the id, name and nationality of the architect who built most mills?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : id (text) , name (text) , nationality (text) | mill : id (number) , name (text) , architect_id (number) , id (text)
| 0.588235 |
architecture
|
What are the ids, names and genders of the architects who built two bridges or one mill?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : id (text) , name (text) , gender (text) | bridge : id (number) , name (text) , architect_id (number) , id (text) | mill : id (number) , name (text) , architect_id (number) , id (text)
| 0.352941 |
architecture
|
What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
bridge : location (text) , name (text)
| 0.882353 |
architecture
|
Which of the mill names contains the french word 'Moulin'?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
mill : name (text)
| 0.941176 |
architecture
|
What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : name (text) , id (text) | bridge : name (text) , architect_id (number) , id (number) , length_meters (number) | mill : name (text) , architect_id (number) , id (number)
| 0.470588 |
architecture
|
What is the most common mill type, and how many are there?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
mill : type (text) , id (text)
| 0.882353 |
architecture
|
How many architects haven't built a mill before year 1850?
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : id (text) | mill : id (number) , architect_id (number) , built_year (number) , id (text)
| 0.705882 |
architecture
|
show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
|
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
|
architect : name (text) , id (text) , nationality (text) | bridge : name (text) , architect_id (number) , id (number) , length_feet (number)
| 0.588235 |
culture_company
|
How many book clubs are there?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : book_club_id (number)
| 0.947368 |
culture_company
|
Count the number of book clubs.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : book_club_id (number)
| 0.947368 |
culture_company
|
show the titles, and authors or editors for all books made after the year 1989.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : book_title (text) , author_or_editor (text) , year (number)
| 0.842105 |
culture_company
|
What are the titles and authors or editors that correspond to books made after 1989?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : book_title (text) , author_or_editor (text) , year (number)
| 0.842105 |
culture_company
|
Show all distinct publishers for books.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text)
| 0.947368 |
culture_company
|
What are all the different book publishers?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text)
| 0.947368 |
culture_company
|
Show the years, book titles, and publishers for all books, in descending order by year.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : year (number) , book_title (text) , publisher (text)
| 0.842105 |
culture_company
|
What are the years, titles, and publishers for all books, ordered by year descending?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : year (number) , book_title (text) , publisher (text)
| 0.842105 |
culture_company
|
Show all publishers and the number of books for each publisher.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , book_club_id (number)
| 0.894737 |
culture_company
|
How many books are there for each publisher?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , book_club_id (number)
| 0.894737 |
culture_company
|
What is the publisher with most number of books?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , book_club_id (number)
| 0.894737 |
culture_company
|
Return the publisher that has published the most books.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , book_club_id (number)
| 0.894737 |
culture_company
|
Show all book categories and the number of books in each category.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : category (text) , book_club_id (number)
| 0.894737 |
culture_company
|
How many books fall into each category?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : category (text) , book_club_id (number)
| 0.894737 |
culture_company
|
List categories that have at least two books after year 1989.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : category (text) , year (number) , book_club_id (number)
| 0.842105 |
culture_company
|
What categories have two or more corresponding books that were made after 1989?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : category (text) , year (number) , book_club_id (number)
| 0.842105 |
culture_company
|
Show publishers with a book published in 1989 and a book in 1990.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , year (number)
| 0.894737 |
culture_company
|
What are the publishers who have published a book in both 1989 and 1990?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , year (number)
| 0.894737 |
culture_company
|
Show all publishers which do not have a book in 1989.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , year (number)
| 0.894737 |
culture_company
|
Which publishers did not publish a book in 1989?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
book_club : publisher (text) , year (number)
| 0.894737 |
culture_company
|
Show all movie titles, years, and directors, ordered by budget.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : title (text) , year (number) , director (text) , budget_million (number)
| 0.789474 |
culture_company
|
What are the titles, years, and directors of all movies, ordered by budget in millions?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : title (text) , year (number) , director (text) , budget_million (number)
| 0.789474 |
culture_company
|
How many movie directors are there?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : director (text)
| 0.947368 |
culture_company
|
Count the number of different directors.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : director (text)
| 0.947368 |
culture_company
|
What is the title and director for the movie with highest worldwide gross in the year 2000 or before?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : title (text) , director (text) , year (number) , gross_worldwide (number)
| 0.789474 |
culture_company
|
Return the title and director of the movie released in the year 2000 or earlier that had the highest worldwide gross.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : title (text) , director (text) , year (number) , gross_worldwide (number)
| 0.789474 |
culture_company
|
Show all director names who have a movie in both year 1999 and 2000.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : director (text) , year (number)
| 0.894737 |
culture_company
|
Which directors had a movie both in the year 1999 and 2000?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : director (text) , year (number)
| 0.894737 |
culture_company
|
Show all director names who have a movie in the year 1999 or 2000.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : director (text) , year (number)
| 0.894737 |
culture_company
|
Which directors had a movie in either 1999 or 2000?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : director (text) , year (number)
| 0.894737 |
culture_company
|
What is the average, maximum, and minimum budget for all movies before 2000.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : budget_million (number) , year (number)
| 0.894737 |
culture_company
|
Return the average, maximum, and minimum budgets in millions for movies made before the year 2000.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : budget_million (number) , year (number)
| 0.894737 |
culture_company
|
List all company names with a book published by Alyson.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
culture_company : company_name (text) , book_club_id (text) | book_club : book_club_id (number) , publisher (text)
| 0.789474 |
culture_company
|
What are all the company names that have a book published by Alyson?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
culture_company : company_name (text) , book_club_id (text) | book_club : book_club_id (number) , publisher (text)
| 0.789474 |
culture_company
|
Show the movie titles and book titles for all companies in China.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : title (text) , movie_id (number) | book_club : book_title (text) , book_club_id (number) | culture_company : movie_id (text) , book_club_id (text) , incorporated_in (text)
| 0.631579 |
culture_company
|
What are the titles of movies and books corresponding to companies incorporated in China?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
movie : title (text) , movie_id (number) | book_club : book_title (text) , book_club_id (number) | culture_company : movie_id (text) , book_club_id (text) , incorporated_in (text)
| 0.631579 |
culture_company
|
Show all company names with a movie directed in year 1999.
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
culture_company : company_name (text) , movie_id (text) | movie : movie_id (number) , year (number)
| 0.789474 |
culture_company
|
What are all company names that have a corresponding movie directed in the year 1999?
|
book_club : book_club_id (number) , year (number) , author_or_editor (text) , book_title (text) , publisher (text) , category (text) , result (text) | movie : movie_id (number) , title (text) , year (number) , director (text) , budget_million (number) , gross_worldwide (number) | culture_company : company_name (text) , type (text) , incorporated_in (text) , group_equity_shareholding (number) , book_club_id (text) , movie_id (text)
|
culture_company : company_name (text) , movie_id (text) | movie : movie_id (number) , year (number)
| 0.789474 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.