question_id
stringlengths
11
60
question_text
stringlengths
7
294
decomposition
stringlengths
13
606
operators
stringlengths
10
260
split
stringclasses
1 value
SPIDER_train_6829
Find the name, city, and country of the airport that has the lowest altitude.
return airports ;return altitudes of #1 ;return #1 where #2 is lowest ;return name of #3 ;return city of #3 ;return country of #3 ;return #4 , #5 , #6
['select', 'project', 'superlative', 'project', 'project', 'project', 'union']
train
SPIDER_train_683
Show the number of all customers without an account.
return customers ;return #1 without accounts ;return #1 besides #2 ;return number of #3
['select', 'filter', 'discard', 'aggregate']
train
SPIDER_train_6830
What is the name, city, and country of the airport with the lowest altitude?
return airports ;return altitudes of #1 ;return #1 where #2 is the lowest ;return the name of #3 ;return the city of #3 ;return the country of #3 ;return #4 , #5 , #6
['select', 'project', 'comparative', 'project', 'project', 'project', 'union']
train
SPIDER_train_6831
Find the name, city, and country of the airport that has the highest latitude.
return airports ;return latitudes of #1 ;return #1 where #2 is highest ;return name of #3 ;return city of #3 ;return country of #3 ;return #4 , #5 , #6
['select', 'project', 'superlative', 'project', 'project', 'project', 'union']
train
SPIDER_train_6832
What is the name, city, and country of the airport with the highest elevation?
return airports ;return elevations of #1 ;return #1 where #2 is highest ;return name of #3 ;return city of #3 ;return country of #3 ;return #4 , #5 , #6
['select', 'project', 'superlative', 'project', 'project', 'project', 'union']
train
SPIDER_train_6833
Find the name and city of the airport which is the destination of the most number of routes.
return destinations ;return routes of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return airport of #4 ;return name of #5 ;return city of #5 ;return #6 , #7
['select', 'project', 'group', 'superlative', 'project', 'project', 'project', 'union']
train
SPIDER_train_6834
What is the name and city of the airport that the most routes end at?
return airports ;return routes that end at #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4 ;return city of #4 ;return #5 , #6
['select', 'project', 'group', 'superlative', 'project', 'project', 'union']
train
SPIDER_train_6835
Find the names of the top 10 airlines that operate the most number of routes.
return airlines ;return routes that #1 operate ;return number of #2 for each #1 ;return #1 where #3 is in the top 10 highest ;return names of #4
['select', 'project', 'group', 'comparative', 'project']
train
SPIDER_train_6836
For the airline ids with the top 10 most routes operated, what are their names?
return airline ids ;return routes operated of #1 ;return number of #2 for each #1 ;return the 10 highest of #3 ;return #1 where #3 is equal to any of #4 ;return names of #5
['select', 'project', 'group', 'aggregate', 'comparative', 'project']
train
SPIDER_train_6837
Find the name and city of the airport which is the source for the most number of flight routes.
return airports ;return flight routes of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4 ;return city of #4 ;return #5 , #6
['select', 'project', 'group', 'superlative', 'project', 'project', 'union']
train
SPIDER_train_6838
What is the name and city of the airport from most of the routes start?
return airports ;return routes that start from #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4 ;return city of #4 ;return #5 , #6
['select', 'project', 'group', 'superlative', 'project', 'project', 'union']
train
SPIDER_train_6839
Find the number of different airports which are the destinations of the American Airlines.
return the American Airlines ;return destinations of #1 ;return airports of #2 ;return number of different #3
['select', 'project', 'project', 'project']
train
SPIDER_train_684
How many customers do not have an account?
return customers ;return #1 with accounts ;return #1 besides #2 ;return number of #3
['select', 'filter', 'discard', 'aggregate']
train
SPIDER_train_6840
What is the number of different different airports that are destinations for American Airlines?
return American Airlines ;return destinations of #1 ;return airports of #2 ;return different #3 ;return number of #4
['select', 'project', 'project', 'project', 'aggregate']
train
SPIDER_train_6841
Which countries has the most number of airlines?
return countries ;return airlines of #1 ;return number of #2 for each #1 ;return #1 where #3 is most
['select', 'project', 'group', 'superlative']
train
SPIDER_train_6842
What is the name of the country with the most number of home airlines?
return countries ;return home airlines of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_6843
Which countries has the most number of airlines whose active status is 'Y'?
return countries ;return airlines of #1 ;return active statuses of #2 ;return #2 where #3 is 'Y ;return number of #4 for each #1 ;return #1 where #5 is highest
['select', 'project', 'project', 'comparative', 'group', 'superlative']
train
SPIDER_train_6844
What are the countries with the most airlines whose active status is Y?
return countries ;return airlines of #1 ;return active statuses of #2 ;return #2 where #3 is Y ;return number of #4 for each #1 ;return #1 where #5 is highest
['select', 'project', 'project', 'comparative', 'group', 'superlative']
train
SPIDER_train_6845
List all countries and their number of airlines in the descending order of number of airlines.
return countries ;return airlines of #1 ;return number of #2 for each #1 ;return #1 , #3 ;return #4 sorted by #3 in descending order
['select', 'project', 'group', 'union', 'sort']
train
SPIDER_train_6846
How many airlines operate out of each country in descending order?
return countries ;return airlines that operate out of #1 ;return number of #2 for each #1 ;return #3 sorted by descending order
['select', 'project', 'group', 'sort']
train
SPIDER_train_6847
How many airports are there per country? Order the countries by decreasing number of airports.
return countries ;return airports in #1 ;return number of #2 for each #1 ;return #3 sorted by number of airports in decreasing Order
['select', 'project', 'group', 'sort']
train
SPIDER_train_6848
What is the number of airports per country, ordered from most to least?
return countries ;return airports in #1 ;return number of #2 for each #1 ;return #3 sorted by most to least
['select', 'project', 'group', 'sort']
train
SPIDER_train_6849
How many airports are there per city in the United States? Order the cities by decreasing number of airports.
return cities ;return #1 in the United States ;return airports in #2 ;return number of #3 for each #2 ;return #4 sorted by decreasing Order
['select', 'filter', 'project', 'group', 'sort']
train
SPIDER_train_685
Show the first names and last names of customers without any account.
return customers ;return #1 without account ;return first names of #2 ;return last names of #2 ;return #3 or #4
['select', 'filter', 'project', 'project', 'union']
train
SPIDER_train_6850
How many airports are there per city in the US ordered from most to least?
return US ;return cities of #1 ;return airports in #2 ;return number of #3 for each #2 ;return #4 sorted by most to least
['select', 'project', 'project', 'group', 'sort']
train
SPIDER_train_6851
Return the cities with more than 3 airports in the United States.
return cities ;return airports of #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than 3
['select', 'project', 'group', 'comparative']
train
SPIDER_train_6852
What is the number of cities in the United States with more than 3 airports?
return United States ;return cities of #1 ;return airports in #2 ;return number of #3 for each #2 ;return #2 where #4 is higher than 3 ;return number of #5
['select', 'project', 'project', 'group', 'comparative', 'aggregate']
train
SPIDER_train_6853
How many cities are there that have more than 3 airports?
return cities ;return airports of #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than 3 ;return number of #4
['select', 'project', 'group', 'comparative', 'aggregate']
train
SPIDER_train_6854
What is the count of cities with more than 3 airports?
return cities ;return airports in #1 ;return number of #2 for each #1 ;return number of #1 where #3 is more than 3
['select', 'project', 'group', 'None']
train
SPIDER_train_6855
List the cities which have more than one airport and number of airports.
return cities ;return airports in #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than one ;return airports in #4 ;return number of #5 for each #1 ;return #4 , #6
['select', 'project', 'group', 'comparative', 'project', 'group', 'union']
train
SPIDER_train_6856
What are the names of all cities with more than one airport and how many airports do they have?
return cities ;return airports of #1 ;return number of #2 for each #1 ;return #1 where #3 is more than one ;return airports of #4 ;return number of #5 for each #4 ;return names of #4 ;return #7 , #6
['select', 'project', 'group', 'comparative', 'project', 'group', 'project', 'union']
train
SPIDER_train_6857
List the cities which have more than 2 airports sorted by the number of airports.
return cities ;return airports in #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than 2 ;return #4 sorted by #3
['select', 'project', 'group', 'comparative', 'sort']
train
SPIDER_train_6858
What are the cities that have more than 2 airports sorted by number of airports?
return cities ;return airports in #1 ;return number of #2 for each #1 ;return #1 where #3 is higher than 2 ;return #4 sorted by #3
['select', 'project', 'group', 'comparative', 'sort']
train
SPIDER_train_6859
Find the number of routes for each source airport and the airport name.
return source airports ;return routes of #1 ;return number of #2 for each #1 ;return names of #1 ;return #3 , #4
['select', 'project', 'group', 'project', 'union']
train
SPIDER_train_686
What are the full names of customers who do not have any accounts?
return customers ;return #1 who do not have accounts ;return full names of #2
['select', 'filter', 'project']
train
SPIDER_train_6860
For each airport name, how many routes start at that airport?
return airports ;return routes that start at each #1 ;return names of #1 ;return number of #2 for each #3
['select', 'project', 'project', 'group']
train
SPIDER_train_6861
Find the number of routes and airport name for each source airport, order the results by decreasing number of routes.
return source airports ;return routes of #1 ;return number of #2 for each #1 ;return airport names of #1 ;return #3 , #4 ;return #5 sorted by #3 in decreasing order
['select', 'project', 'group', 'project', 'union', 'sort']
train
SPIDER_train_6862
For each airport name, how many routes start at that airport, ordered from most to least?
return airports ;return names of #1 ;return routes that start at #1 ;return number of #3 for each #2 ;return #4 sorted by most to least
['select', 'project', 'project', 'group', 'sort']
train
SPIDER_train_6863
Find the average elevation of all airports for each country.
return countries ;return airports of #1 ;return elevation of #2 ;return average of #3 for each #1
['select', 'project', 'project', 'group']
train
SPIDER_train_6864
For each country, what is the average elevation of that country's airports?
return countries ;return airports of #1 ;return elevations of #2 ;return average of #3 for each #1
['select', 'project', 'project', 'group']
train
SPIDER_train_6865
Find the cities which have exactly two airports.
return cities ;return #1 which have exactly two airports
['select', 'filter']
train
SPIDER_train_6866
What are the cities with exactly two airports?
return cities ;return airports in #1 ;return number of #2 for each #1 ;return #1 where #3 is exactly two
['select', 'project', 'group', 'comparative']
train
SPIDER_train_6867
For each country and airline name, how many routes are there?
return countries ;return airlines of #1 ;return routes of #2 ;return the number of #3 for each #2 ;return the sum of #4 for each #1 ;return #5 , #4
['select', 'project', 'project', 'group', 'group', 'union']
train
SPIDER_train_6868
What is the total number of routes for each country and airline in that country?
return countries ;return airlines in #1 ;return routes of #1 ;return routes of #2 ;return number of #3 ;return number of #4 for each #2 ;return #5 , #6
['select', 'project', 'project', 'project', 'aggregate', 'group', 'union']
train
SPIDER_train_6869
Find the number of routes with destination airports in Italy.
return routes ;return destination airports of #1 ;return #1 where #2 is Italy ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_687
Show distinct first and last names for all customers with an account.
return customers ;return #1 with an account ;return first name of #2 ;return last name of #2 ;return #3 , #4
['select', 'filter', 'project', 'project', 'union']
train
SPIDER_train_6870
What is the number of routes whose destinations are Italian airports?
return routes ;return destinations of #1 ;return #1 where #2 are Italian airports ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_6871
Return the number of routes with destination airport in Italy operated by the airline with name 'American Airlines'.
return routes ;return destination airports of #1 ;return #1 where #2 are in Italy ;return airlines that #1 are operated by ;return the name of #4 ;return #1 where #5 is 'American Airlines ;return #1 in both #3 and #6 ;return the number of #7
['select', 'project', 'comparative', 'project', 'project', 'comparative', 'intersection', 'aggregate']
train
SPIDER_train_6872
What is the number of routes operated by the airline American Airlines whose destinations are in Italy?
return routes ;return #1 operated by American airlines ;return destinations of #2 ;return #2 where #3 is in Italy ;return number of #4
['select', 'filter', 'project', 'comparative', 'aggregate']
train
SPIDER_train_6873
Find the number of routes that have destination John F Kennedy International Airport.
return routes ;return destinations of #1 ;return #1 where #2 is John F Kennedy International Airport ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_6874
What is the number of routes that end at John F Kennedy International Airport?
return routes ;return #1 to John F Kennedy International Airport ;return the number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_6875
Find the number of routes from the United States to Canada.
return routes ;return #1 from United States ;return #1 to Canada ;return #1 in both #2 and #3 ;return number of #4
['select', 'filter', 'filter', 'intersection', 'aggregate']
train
SPIDER_train_6876
How many routes go from the United States to Canada?
return routes ;return #1 from the United States ;return #2 to Canada ;return the number of #3
['select', 'filter', 'filter', 'aggregate']
train
SPIDER_train_6877
Find the id of routes whose source and destination airports are in the United States.
return routes ;return source airports of #1 ;return destination airports of #1 ;return where are #2 ;return where are #3 ;return #1 where #4 is in the United States ;return #1 where #5 is in the United States ;return #1 in both #6 and #7 ;return ids of #8
['select', 'project', 'project', 'project', 'project', 'comparative', 'comparative', 'intersection', 'project']
train
SPIDER_train_6878
What is the id of the routes whose source and destination airports are in the United States?
return routes ;return source airports of #1 ;return #1 where #2 is in United States ;return destination airports of #1 ;return #1 where #4 is in United States ;return #1 of both #3 and #5 ;return ids of #6
['select', 'project', 'comparative', 'project', 'comparative', 'intersection', 'project']
train
SPIDER_train_6879
Find the name of airline which runs the most number of routes.
return airlines ;return routes of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_688
What are the full names of customers who have accounts?
return customers ;return #1 who have accounts ;return full names of #2
['select', 'filter', 'project']
train
SPIDER_train_6880
What is the name of the airline with the most routes?
return airlines ;return routes of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_6881
Find the busiest source airport that runs most number of routes in China.
return source airports ;return routes that #1 runs ;return #2 in China ;return number of #3 for each #1 ;return busiest of #1 ;return #5 where #4 is highest
['select', 'project', 'filter', 'group', 'project', 'superlative']
train
SPIDER_train_6882
What is the name of the airport with the most number of routes that start in China?
return airports ;return routes of #1 ;return #2 that start in China ;return number of #3 for each #1 ;return #1 where #4 is highest ;return name of #5
['select', 'project', 'filter', 'group', 'superlative', 'project']
train
SPIDER_train_6883
Find the busiest destination airport that runs most number of routes in China.
return destination airports ;return routes of #1 ;return #2 in China ;return number of #3 for each #1 ;return #1 where #4 is highest
['select', 'project', 'filter', 'group', 'superlative']
train
SPIDER_train_6884
What is the name of the airport that is the destination of the most number of routes that start in China?
return routes ;return #1 that start in China ;return destination of #2 ;return number of #2 for each #3 ;return #3 where #4 is most ;return airport of #5 ;return name of #6
['select', 'filter', 'project', 'group', 'superlative', 'project', 'project']
train
SPIDER_train_6885
What is the id of the most recent order?
return orders ;return the most recent #1 ;return the id of #2
['select', 'project', 'project']
train
SPIDER_train_6886
Find the id of the order made most recently.
return orders ;return #1 which is made most recently ;return id of #2
['select', 'filter', 'project']
train
SPIDER_train_6887
what are the order id and customer id of the oldest order?
return orders ;return oldest #1 ;return order id of #2 ;return customer id of #2 ;return #3 , #4
['select', 'project', 'project', 'project', 'union']
train
SPIDER_train_6888
Find the order id and customer id associated with the oldest order.
return orders ;return oldest of #1 ;return order id of #2 ;return customer id of #2 ;return #3 , #4
['select', 'project', 'project', 'project', 'union']
train
SPIDER_train_6889
Find the id of the order whose shipment tracking number is "3452".
return orders ;return shipment tracking numbers of #1 ;return #1 where #2 is 3452 ;return id of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_689
How many customers have an account?
return customers ;return #1 who have an account ;return number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_6890
Which order's shipment tracking number is "3452"? Give me the id of the order.
return orders ;return shipments of #1 ;return tracking numbers of #2 ;return #1 where #3 is 3452 ;return id of #4
['select', 'project', 'project', 'comparative', 'project']
train
SPIDER_train_6891
Find the ids of all the order items whose product id is 11.
return order items ;return product ids of #1 ;return #1 where #2 is 11 ;return ids of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6892
Find all the order items whose product id is 11. What are the order item ids?
return order items ;return #1 whose product id is 11 ;return order item ids of #2
['select', 'filter', 'project']
train
SPIDER_train_6893
List the name of all the distinct customers who have orders with status "Packing".
return customers ;return orders of #1 ;return statuses of #2 ;return #1 where #3 is Packing ;return distinct #4 ;return names of #5
['select', 'project', 'project', 'comparative', 'project', 'project']
train
SPIDER_train_6894
Which customers have orders with status "Packing"? Give me the customer names.
return customers ;return orders of #1 ;return statuses of #2 ;return #1 where #3 is Packing ;return names of #4
['select', 'project', 'project', 'comparative', 'project']
train
SPIDER_train_6895
Find the details of all the distinct customers who have orders with status "On Road".
return customers ;return orders of #1 ;return statuses of #2 ;return #1 where #3 is On Road ;return distinct #4 ;return details of #5
['select', 'project', 'project', 'comparative', 'project', 'project']
train
SPIDER_train_6896
What are the distinct customers who have orders with status "On Road"? Give me the customer details?
return customers ;return orders of #1 ;return statuses of #2 ;return distinct #1 where #3 is On Road ;return customer details of #4
['select', 'project', 'project', 'None', 'project']
train
SPIDER_train_6897
What is the name of the customer who has the most orders?
return customers ;return orders of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return name of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_6898
Which customer made the most orders? Find the customer name.
return customers ;return #1 who made the most orders ;return the name of #2
['select', 'filter', 'project']
train
SPIDER_train_6899
What is the customer id of the customer who has the most orders?
return customers ;return orders of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return customer id of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_69
How many students attend course English?
return courses ;return students who attend #1 ;return #2 where #1 is English ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_690
Count the number of customers who hold an account.
return customers ;return #1 who hold an account ;return the number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_6900
Find the id of the customer who made the most orders.
return customers ;return orders #1 made ;return number of #2 for each #1 ;return #1 where #3 is highest ;return id of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_6901
Give me a list of id and status of orders which belong to the customer named "Jeramie".
return customers ;return #1 named Jeramie ;return orders of #2 ;return ids of #3 ;return statuses of #3 ;return #4 , #5
['select', 'filter', 'project', 'project', 'project', 'union']
train
SPIDER_train_6902
Which orders are made by the customer named "Jeramie"? Give me the order ids and status.
return customers ;return #1 named Jeramie ;return orders of #2 ;return order ids of #3 ;return statuses of #3 ;return #4 , #5
['select', 'filter', 'project', 'project', 'project', 'union']
train
SPIDER_train_6903
Find the dates of orders which belong to the customer named "Jeramie".
return customers ;return #1 named Jeramie ;return orders of #2 ;return dates of #3
['select', 'filter', 'project', 'project']
train
SPIDER_train_6904
What are the dates of the orders made by the customer named "Jeramie"?
return customers ;return orders of #1 ;return #2 where #1 is named Jeramie ;return dates of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6905
Give me the names of customers who have placed orders between 2009-01-01 and 2010-01-01.
return orders ;return #1 placed between 2009-01-01 and 2010-01-01 ;return customers of #2 ;return the names of #3
['select', 'filter', 'project', 'project']
train
SPIDER_train_6906
Which customers made orders between 2009-01-01 and 2010-01-01? Find their names.
return orders ;return #1 that are between 2009-01-01 and 2010-01-01 ;return the customers who made #2 ;return the names of #3
['select', 'filter', 'project', 'project']
train
SPIDER_train_6907
Give me a list of distinct product ids from orders placed between 1975-01-01 and 1976-01-01?
return orders ;return #1 placed between 1975-01-01 and 1976-01-01 ;return distinct product ids from #2
['select', 'filter', 'project']
train
SPIDER_train_6908
What are the distinct ids of products ordered between 1975-01-01 and 1976-01-01??
return products ;return #1 ordered between 1975-01-01 and 1976-01-01 ;return distinct ids of #2
['select', 'filter', 'project']
train
SPIDER_train_6909
Find the names of the customers who have order status both "On Road" and "Shipped".
return customers ;return orders of #1 ;return statuses of #2 ;return #1 where #3 is on Road ;return #1 where #3 is Shipped ;return #1 in both #4 and #5 ;return names of #6
['select', 'project', 'project', 'comparative', 'comparative', 'intersection', 'project']
train
SPIDER_train_6910
Which customers have both "On Road" and "Shipped" as order status? List the customer names.
return customers ;return orders of #1 ;return statuses of #2 ;return #1 where #3 is On Road ;return #1 where #3 is Shipped ;return #1 of both #4 and #5 ;return customer names of #6
['select', 'project', 'project', 'comparative', 'comparative', 'intersection', 'project']
train
SPIDER_train_6911
Find the id of the customers who have order status both "On Road" and "Shipped".
return customers ;return orders of #1 ;return status of #2 ;return #1 where #3 is On Road ;return #1 where #3 is Shipped ;return #1 of both #4 and #5 ;return ids of #6
['select', 'project', 'project', 'comparative', 'comparative', 'intersection', 'project']
train
SPIDER_train_6912
Which customers have both "On Road" and "Shipped" as order status? List the customer ids.
return customers ;return orders of #1 ;return statuses of #2 ;return #1 where #3 is On Road ;return #1 where #3 is Shipped ;return #1 in both #4 and #5 ;return customer ids of #6
['select', 'project', 'project', 'comparative', 'comparative', 'intersection', 'project']
train
SPIDER_train_6913
When was the order placed whose shipment tracking number is 3452? Give me the date.
return shipment ;return tracking number of #1 ;return #1 where #2 is 3452 ;return order of #3 ;return date placed of #4
['select', 'aggregate', 'comparative', 'project', 'project']
train
SPIDER_train_6914
On which day was the order placed whose shipment tracking number is 3452?
return orders ;return shipment tracking numbers of #1 ;return #1 where #2 is 3452 ;return day #3 was placed
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6915
What is the placement date of the order whose invoice number is 10?
return orders ;return invoices of #1 ;return invoice numbers of #2 ;return #1 where #3 is 10 ;return placement date of #4
['select', 'project', 'project', 'comparative', 'project']
train
SPIDER_train_6916
On what day was the order with invoice number 10 placed?
return orders ;return invoice of #1 ;return #1 where #2 is number 10 ;return day #3 was placed
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6917
List the count and id of each product in all the orders.
return orders ;return products in #1 ;return number of #2 for each #1 ;return ids of #2 ;return #3 , #4
['select', 'project', 'group', 'project', 'union']
train
SPIDER_train_6918
For each product, return its id and the number of times it was ordered.
return products ;return ids of #1 ;return times that #1 was ordered ;return number of #3 for each #1 ;return #2 , #4
['select', 'project', 'project', 'group', 'union']
train
SPIDER_train_6919
List the name and count of each product in all orders.
return orders ;return products in #1 ;return names of #2 ;return number of #2 for each #1 ;return #3 , #4
['select', 'project', 'project', 'group', 'union']
train