question_id
stringlengths
11
60
question_text
stringlengths
7
294
decomposition
stringlengths
13
606
operators
stringlengths
10
260
split
stringclasses
1 value
SPIDER_train_692
Count the number of customers.
return customers ;return number of #1
['select', 'aggregate']
train
SPIDER_train_6920
For each product, show its name and the number of times it was ordered.
return products ;return names of #1 ;return times #1 was ordered ;return number of #3 for each #1 ;return #2 , #4
['select', 'project', 'project', 'group', 'union']
train
SPIDER_train_6921
Find the ids of orders which are shipped after 2000-01-01.
return orders ;return #1 which are shipped after 2000-01-01 ;return ids of #2
['select', 'filter', 'project']
train
SPIDER_train_6922
Which orders have shipment after 2000-01-01? Give me the order ids.
return orders ;return shipments of #1 ;return #1 where #2 are after 2000-01-01 ;return order ids of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6923
Find the id of the order which is shipped most recently.
return orders ;return when #1 was shipped ;return #1 where #2 is the most recently ;return the id of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6924
Which order has the most recent shipment? Give me the order id.
return orders ;return shipments of #1 ;return #1 where #2 is the most recent ;return order id of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6925
List the names of all distinct products in alphabetical order.
return products ;return distinct #1 ;return names of #2 ;return #3 sorted by alphabetical order
['select', 'project', 'project', 'sort']
train
SPIDER_train_6926
Sort all the distinct products in alphabetical order.
return products ;return distinct #1 ;return #2 sorted by alphabetical order
['select', 'project', 'sort']
train
SPIDER_train_6927
List the ids of all distinct orders ordered by placed date.
return orders ;return distinct #1 ;return ids of #2 ;return dates placed of #2 ;return #3 sorted by #4
['select', 'project', 'project', 'project', 'sort']
train
SPIDER_train_6928
What are ids of the all distinct orders, sorted by placement date?
return distinct orders ;return the ids of #1 ;return the placement date of #1 ;return #2 sorted by #3
['select', 'project', 'project', 'sort']
train
SPIDER_train_6929
What is the id of the order which has the most items?
return orders ;return items in #1 ;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_693
Show ids, first names, last names, and phones for all customers.
return customers ;return ids of #1 ;return first names of #1 ;return last names of #1 ;return phones of #1 ;return #2 , #3 , #4 , #5
['select', 'project', 'project', 'project', 'project', 'union']
train
SPIDER_train_6930
Which order deals with the most items? Return the order id.
return orders ;return items of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return order id of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_6931
What is the name of the customer who has the largest number of 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_6932
Find the name 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 name of #4
['select', 'project', 'group', 'superlative', 'project']
train
SPIDER_train_6933
Find the invoice numbers which are created before 1989-09-03 or after 2007-12-25.
return invoices ;return created date of #1 ;return #1 where #2 is lower than 1989-09-03 ;return #1 where #2 is higher than 2007-12-25 ;return #3 , #4 ;return numbers of #5
['select', 'project', 'comparative', 'comparative', 'union', 'project']
train
SPIDER_train_6934
What are the invoice numbers created before 1989-09-03 or after 2007-12-25?
return invoice numbers ;return #1 created before 1989-09-03 ;return #1 created after 2007-12-25 ;return #2 or #3
['select', 'filter', 'filter', 'union']
train
SPIDER_train_6935
Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25.
return invoices ;return #1 created before 1989-09-03 ;return #1 created after 2007-12-25 ;return #2 and #3 ;return details of #4 ;return distinct #5
['select', 'filter', 'filter', 'union', 'project', 'project']
train
SPIDER_train_6936
What are the distinct details of invoices created before 1989-09-03 or after 2007-12-25?
return invoices ;return #1 created before 1989-09-03 ;return #1 created after 2007-12-25 ;return #2 or #3 ;return distinct details of #4
['select', 'filter', 'filter', 'union', 'project']
train
SPIDER_train_6937
For each customer who has at least two orders, find the customer name and number of orders made.
return customers ;return orders of #1 ;return number of #2 for each #1 ;return #1 where #3 is at least two ;return customer names of #4 ;return number of #2 for each #4 ;return #5 , #6
['select', 'project', 'group', 'comparative', 'project', 'group', 'union']
train
SPIDER_train_6938
Which customers have made at least two orders? Give me each customer name and number of orders made.
return customers ;return orders made of #1 ;return number of #2 for each #1 ;return #1 where #3 is at least two ;return customer names of #4 ;return orders made of #4 ;return number of #6 for each #4 ;return #5 , #7
['select', 'project', 'group', 'comparative', 'project', 'project', 'group', 'union']
train
SPIDER_train_6939
Find the name of the customers who have at most two orders.
return customers ;return orders of #1 ;return number of #2 ;return #1 where #2 at most two ;return names of #4
['select', 'project', 'aggregate', 'comparative', 'project']
train
SPIDER_train_694
What are the ids, full names, and phones of each customer?
return customers ;return ids of #1 ;return full names of #1 ;return phones of #1 ;return #2 , #3 , #4
['select', 'project', 'project', 'project', 'union']
train
SPIDER_train_6940
What are the names of the customers who have made two or less orders?
return customers ;return orders of #1 ;return number of #2 for each #1 ;return #1 where #3 lower than two ;return names of #4
['select', 'project', 'group', 'comparative', 'project']
train
SPIDER_train_6941
List the names of the customers who have once bought product "food".
return customers ;return products #1 bought ;return #1 where #2 is food ;return names of #3
['select', 'project', 'comparative', 'project']
train
SPIDER_train_6942
What are the names of the customers who bought product "food" at least once?
return customers ;return #1 who bought product food at least once ;return names of #2
['select', 'filter', 'project']
train
SPIDER_train_6943
List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").
return customers ;return products #1 purchase ;return #1 where #2 is food ;return item status of #3 ;return #3 where #4 is Cancel ;return names of #5
['select', 'project', 'comparative', 'project', 'comparative', 'project']
train
SPIDER_train_6944
Which customers have ever canceled the purchase of the product "food" (the item status is "Cancel")?
return customers ;return #1 who have ever canceled the purchase of the product food ;return #2 where the item status is Cancel
['select', 'filter', 'filter']
train
SPIDER_train_6945
How many architects are female?
return architects ;return #1 that are female ;return number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_6946
List the name, nationality and id of all male architects ordered by their names lexicographically.
return architects ;return #1 that are male ;return names of #2 ;return nationalities of #2 ;return ids of #2 ;return #3 , #4 , #5 ;return #6 sorted by #3 lexicographically
['select', 'filter', 'project', 'project', 'project', 'union', 'sort']
train
SPIDER_train_6947
What is the maximum length in meters for the bridges and what are the architects' names?
return bridges ;return lengths in meters of #1 ;return the highest of #2 ;return #1 where #2 is equal to #3 ;return architects of #4 ;return names of #5 ;return #6 , #3
['select', 'project', 'aggregate', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_6948
What is the average length in feet of the bridges?
return bridges ;return lengths of #1 in feet ;return average of #2
['select', 'project', 'aggregate']
train
SPIDER_train_6949
What are the names and year of construction for the mills of 'Grondzeiler' type?
return mills ;return types of #1 ;return #1 where #2 is 'Grondzeiler ;return names of #3 ;return years of construction of #3 ;return #4 , #5
['select', 'project', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_695
What is the phone and email for customer with first name Aniyah and last name Feest?
return customers ;return #1 with first name Aniyah ;return #2 with last name Feest ;return the phone of #3 ;return the email of #3 ;return #4 , #5
['select', 'filter', 'filter', 'project', 'project', 'union']
train
SPIDER_train_6950
What are the distinct names and nationalities of the architects who have ever built a mill?
return architects ;return #1 who built a mill ;return distinct names of #2 ;return nationalities of #2 ;return #3 , #4
['select', 'filter', 'project', 'project', 'union']
train
SPIDER_train_6951
What are the names of the mills which are not located in 'Donceel'?
return mills ;return #1 not located in 'Donceel ;return names of #2
['select', 'filter', 'project']
train
SPIDER_train_6952
What are the distinct types of mills that are built by American or Canadian architects?
return architects ;return #1 that are American ;return #1 that are Canadian ;return mills built by #2 ;return mills built by #3 ;return #4 , #5 ;return the distinct types of #6
['select', 'filter', 'filter', 'project', 'project', 'union', 'project']
train
SPIDER_train_6953
What are the ids and names of the architects who built at least 3 bridges ?
return architects ;return bridges #1 built ;return number of #2 for each #1 ;return #1 where #3 is at least 3 ;return ids of #4 ;return names of #4 ;return #5 , #6
['select', 'project', 'group', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_6954
What is the id, name and nationality of the architect who built most mills?
return architects ;return #1 who built the most mills ;return the id of #2 ;return the name of #2 ;return the nationality of #2 ;return #3 , #4 , #5
['select', 'filter', 'project', 'project', 'project', 'union']
train
SPIDER_train_6955
What are the ids, names and genders of the architects who built two bridges or one mill?
return architects ;return bridges #1 built ;return number of #2 for each #1 ;return #1 where #3 is two ;return mills #1 built ;return number of #5 for each #1 ;return #1 where #6 is one ;return #4 or #7 ;return ids of #8 ;return names of #8 ;return genders of #8 ;return #9 , #10 , #11
['select', 'project', 'group', 'comparative', 'project', 'group', 'comparative', 'union', 'project', 'project', 'project', 'union']
train
SPIDER_train_6956
What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'?
return bridges ;return #1 named 'Kolob Arch ;return #1 named 'Rainbow bridge ;return #2 or #3 ;return location of #4
['select', 'filter', 'filter', 'union', 'project']
train
SPIDER_train_6957
Which of the mill names contains the french word 'Moulin'?
return mill names ;return #1 that contains the french word 'Moulin
['select', 'filter']
train
SPIDER_train_6958
What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters?
return architects ;return #1 who have built a bridge longer than 80 meters ;return mills built by #2 ;return distinct names of #3
['select', 'filter', 'project', 'project']
train
SPIDER_train_6959
What is the most common mill type, and how many are there?
return mill ;return type of #1 ;return number of #1 for each #2 ;return #2 where #3 is highest ;return number of #4 ;return #4 , #5
['select', 'project', 'group', 'superlative', 'aggregate', 'union']
train
SPIDER_train_696
Return the phone and email of the customer with the first name Aniyah and last name Feest.
return customers ;return first names of #1 ;return #1 where #2 is Aniyah ;return #1 where #2 is Feest ;return #1 of both #3 and #4 ;return phone of #5 ;return email of #5 ;return #6 , #7
['select', 'project', 'comparative', 'comparative', 'intersection', 'project', 'project', 'union']
train
SPIDER_train_6960
How many architects haven't built a mill before year 1850?
return architects ;return #1 who have not built mills before 1850 ;return number of #2
['select', 'filter', 'aggregate']
train
SPIDER_train_6961
show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
return bridges ;return archtects that designed #1 ;return #1 where #2 is american ;return names of #3 ;return length of #3 in feet ;return #4 sorted by #5
['select', 'project', 'comparative', 'project', 'project', 'sort']
train
SPIDER_train_6962
How many book clubs are there?
return book clubs ;return number of #1
['select', 'aggregate']
train
SPIDER_train_6963
Count the number of book clubs.
return book clubs ;return the number of #1
['select', 'aggregate']
train
SPIDER_train_6964
show the titles, and authors or editors for all books made after the year 1989.
return books ;return #1 made after 1989 ;return titles of #2 ;return authors of #2 ;return editors of #2 ;return #3 , #4 , #5
['select', 'filter', 'project', 'project', 'project', 'union']
train
SPIDER_train_6965
What are the titles and authors or editors that correspond to books made after 1989?
return books ;return #1 made after 1989 ;return titles that correspond to #2 ;return authors that correspond to #2 ;return editors that correspond to #2 ;return #3 , #4 or #5
['select', 'filter', 'project', 'project', 'project', 'union']
train
SPIDER_train_6966
Show all distinct publishers for books.
return books ;return publishers for #1 ;return distinct #2
['select', 'project', 'project']
train
SPIDER_train_6967
What are all the different book publishers?
return book publishers ;return different #1
['select', 'project']
train
SPIDER_train_6968
Show the years, book titles, and publishers for all books, in descending order by year.
return books ;return years of #1 ;return book titles of #1 ;return publishers of #1 ;return #2 , #3 , #4 ;return #5 sorted by #2 in descending order
['select', 'project', 'project', 'project', 'union', 'sort']
train
SPIDER_train_6969
What are the years, titles, and publishers for all books, ordered by year descending?
return books ;return years of #1 ;return titles of #1 ;return publishers of #1 ;return #2 , #3 , #4 ;return #5 sorted by #2 descending
['select', 'project', 'project', 'project', 'union', 'sort']
train
SPIDER_train_697
Show the number of customer cards.
return customer cards ;return number of #1
['select', 'aggregate']
train
SPIDER_train_6970
Show all publishers and the number of books for each publisher.
return publishers ;return books of #1 ;return number of #2 for each #1
['select', 'project', 'group']
train
SPIDER_train_6971
How many books are there for each publisher?
return publishers ;return books of #1 ;return number of #2 for each #1
['select', 'project', 'group']
train
SPIDER_train_6972
What is the publisher with most number of books?
return publishers ;return books of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest
['select', 'project', 'group', 'superlative']
train
SPIDER_train_6973
Return the publisher that has published the most books.
return publishers ;return books of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest
['select', 'project', 'group', 'superlative']
train
SPIDER_train_6974
Show all book categories and the number of books in each category.
return books ;return categories of #1 ;return number of #1 for each #2
['select', 'project', 'group']
train
SPIDER_train_6975
How many books fall into each category?
return categories ;return books in #1 ;return number of #2 for each #1
['select', 'project', 'group']
train
SPIDER_train_6976
List categories that have at least two books after year 1989.
return books ;return #1 after year 1989 ;return categories of #2 ;return number of #2 for each #3 ;return #3 where #4 is at least two
['select', 'filter', 'project', 'group', 'comparative']
train
SPIDER_train_6977
What categories have two or more corresponding books that were made after 1989?
return categories ;return books of #1 ;return #2 made after 1989 ;return number of #3 for each #1 ;return #1 where #4 is at least two
['select', 'project', 'filter', 'group', 'comparative']
train
SPIDER_train_6978
Show publishers with a book published in 1989 and a book in 1990.
return publishers ;return #1 with a book published in 1989 ;return #1 with a book published in 1990 ;return #1 in both #2 and #3
['select', 'filter', 'filter', 'intersection']
train
SPIDER_train_6979
What are the publishers who have published a book in both 1989 and 1990?
return publishers ;return #1 who have published a book ;return #2 in 1989 ;return #2 in 1990 ;return #1 in both #3 and #4
['select', 'filter', 'filter', 'filter', 'intersection']
train
SPIDER_train_698
How many customer cards are there?
return customer cards ;return number of #1
['select', 'aggregate']
train
SPIDER_train_6980
Show all publishers which do not have a book in 1989.
return publishers ;return books of #1 ;return #1 where #2 is not in 1989
['select', 'project', 'comparative']
train
SPIDER_train_6981
Which publishers did not publish a book in 1989?
return publishers ;return #1 that did publish a book in 1989 ;return #1 besides #2
['select', 'filter', 'discard']
train
SPIDER_train_6982
Show all movie titles, years, and directors, ordered by budget.
return movies ;return titles of #1 ;return years of #1 ;return directors of #1 ;return budgets of #1 ;return #2 , #3 , #4 ;return #6 sorted by #5
['select', 'project', 'project', 'project', 'project', 'union', 'sort']
train
SPIDER_train_6983
What are the titles, years, and directors of all movies, ordered by budget in millions?
return movies ;return titles of #1 ;return years of #1 ;return directors of #1 ;return budgets of #1 ;return #2 , #3 , #4 ;return #6 sorted by #5 in millions
['select', 'project', 'project', 'project', 'project', 'union', 'sort']
train
SPIDER_train_6984
How many movie directors are there?
return movie directors ;return number of #1
['select', 'aggregate']
train
SPIDER_train_6985
Count the number of different directors.
return directors ;return different #1 ;return Count of #2
['select', 'project', 'project']
train
SPIDER_train_6986
What is the title and director for the movie with highest worldwide gross in the year 2000 or before?
return movies ;return worldwide gross of #1 ;return #2 in the year 2000 or before ;return #1 where #3 is the highest ;return the title of #4 ;return the director of #4 ;return #5 , #6
['select', 'project', 'filter', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_6987
Return the title and director of the movie released in the year 2000 or earlier that had the highest worldwide gross.
return movies ;return years released of #1 ;return #1 where #2 is 2000 or earlier ;return worldwide gross of #1 ;return #1 where #4 is highest ;return #3 or #5 ;return title of #6 ;return director of #6 ;return #7 , #8
['select', 'project', 'comparative', 'project', 'superlative', 'union', 'project', 'project', 'union']
train
SPIDER_train_6988
Show all director names who have a movie in both year 1999 and 2000.
return directors ;return movies of #1 ;return years of #2 ;return #2 where #3 is 1999 ;return #2 where #3 is 2000 ;return the number of #4 for each #1 ;return the number of #5 for each #1 ;return #1 where #6 is at least one ;return #1 where #7 is at least one ;return #1 in both #8 and #9 ;return the names of #10
['select', 'project', 'project', 'comparative', 'comparative', 'group', 'group', 'comparative', 'comparative', 'intersection', 'project']
train
SPIDER_train_6989
Which directors had a movie both in the year 1999 and 2000?
return directors ;return movies of #1 ;return #2 in 1999 ;return #2 in 2000 ;return directors of both #3 and #4
['select', 'project', 'filter', 'filter', 'intersection']
train
SPIDER_train_699
Show ids, customer ids, card type codes, card numbers for all cards.
return cards ;return ids of #1 ;return customers with #1 ;return ids of #3 ;return card type codes of #1 ;return card numbers of #1 ;return #2 , #4 , #5 , #6
['select', 'project', 'project', 'project', 'project', 'project', 'union']
train
SPIDER_train_6990
Show all director names who have a movie in the year 1999 or 2000.
return directors ;return movies of #1 ;return years of #2 ;return #1 where #3 is 1999 ;return #1 where #3 is 2000 ;return #4 or #5 ;return names of #6
['select', 'project', 'project', 'comparative', 'comparative', 'union', 'project']
train
SPIDER_train_6991
Which directors had a movie in either 1999 or 2000?
return directors ;return movies of #1 ;return #2 in 1999 ;return #2 in 2000 ;return #1 of #3 or #4
['select', 'project', 'filter', 'filter', 'filter']
train
SPIDER_train_6992
What is the average, maximum, and minimum budget for all movies before 2000.
return movies ;return #1 before 2000 ;return budgets of #2 ;return average of #3 ;return maximum of #3 ;return minimum of #3 ;return #4 , #5 , #6
['select', 'filter', 'project', 'aggregate', 'aggregate', 'aggregate', 'union']
train
SPIDER_train_6993
Return the average, maximum, and minimum budgets in millions for movies made before the year 2000.
return movies ;return years made of #1 ;return #1 where #2 is before 2000 ;return budgets in millions of #3 ;return average of #4 ;return maximum of #4 ;return minimum of #4 ;return #5 , #6 , #7
['select', 'project', 'comparative', 'project', 'aggregate', 'aggregate', 'aggregate', 'union']
train
SPIDER_train_6994
List all company names with a book published by Alyson.
return Alyson ;return books published by #1 ;return companies of #2 ;return names of #3
['select', 'project', 'project', 'project']
train
SPIDER_train_6995
What are all the company names that have a book published by Alyson?
return Alyson ;return books published by #1 ;return company names that have #2
['select', 'project', 'project']
train
SPIDER_train_6996
Show the movie titles and book titles for all companies in China.
return companies ;return #1 in China ;return movies of #2 ;return titles of #3 ;return books of #2 ;return titles of #5 ;return #4 , #6
['select', 'filter', 'project', 'project', 'project', 'project', 'union']
train
SPIDER_train_6997
What are the titles of movies and books corresponding to companies incorporated in China?
return companies ;return #1 incorporated in China ;return movies of #2 ;return titles of #3 ;return books of #2 ;return titles of #5 ;return #4 , #6
['select', 'filter', 'project', 'project', 'project', 'project', 'union']
train
SPIDER_train_6998
Show all company names with a movie directed in year 1999.
return movies ;return #1 in 1999 ;return companies that directed #2 ;return names of #3
['select', 'filter', 'project', 'project']
train
SPIDER_train_6999
What are all company names that have a corresponding movie directed in the year 1999?
return companies ;return movies of #1 ;return years directed of #2 ;return #1 where #3 is 1999 ;return names of #4
['select', 'project', 'project', 'comparative', 'project']
train
SPIDER_train_7
What are the names of the states where at least 3 heads were born?
return states ;return heads born in #1 ;return number of #2 for each #1 ;return #1 where #3 is at least 3 ;return names of #4
['select', 'project', 'group', 'comparative', 'project']
train
SPIDER_train_70
How many students are attending English courses?
return students ;return courses of #1 ;return #1 where #2 are English ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_700
What are card ids, customer ids, card types, and card numbers for each customer card?
return customer cards ;return card ids of #1 ;return customer ids of #1 ;return card types of #1 ;return card numbers of #1 ;return #2 , #3 , #4 , #5
['select', 'project', 'project', 'project', 'project', 'union']
train
SPIDER_train_701
Show the date valid from and the date valid to for the card with card number '4560596484842'.
return card numbers ;return #1 that are '4560596484842 ;return date valid to of #2 ;return date valid from of #2 ;return #3 or #4
['select', 'filter', 'project', 'project', 'union']
train
SPIDER_train_702
What are the valid from and valid to dates for the card with the number 4560596484842?
return cards ;return numbers of #1 ;return #1 where #2 is 4560596484842 ;return valid from date of #3 ;return valid to date of #3 ;return #4 , #5
['select', 'project', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_703
What is the first name, last name, and phone of the customer with card 4560596484842.
return customers ;return cards of #1 ;return #1 where #2 is 4560596484842 ;return first name of #3 ;return last name of #3 ;return phone of #3 ;return #4 , #5 , #6
['select', 'project', 'comparative', 'project', 'project', 'project', 'union']
train
SPIDER_train_704
Return the full name and phone of the customer who has card number 4560596484842.
return customers ;return card numbers of #1 ;return #1 where #2 is 4560596484842 ;return full name of #3 ;return phone of #3 ;return #4 , #5
['select', 'project', 'comparative', 'project', 'project', 'union']
train
SPIDER_train_705
How many cards does customer Art Turcotte have?
return customers ;return cards of #1 ;return #2 where #1 is Art Turcotte ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train
SPIDER_train_706
Count the number of cards the customer with the first name Art and last name Turcotte has.
return customers ;return first names of #1 ;return #1 where #2 is Art ;return last names of #1 ;return #1 where #4 is Turcotte ;return #1 of both #3 and #5 ;return cards of #6 ;return number of #7
['select', 'project', 'comparative', 'project', 'comparative', 'intersection', 'project', 'aggregate']
train
SPIDER_train_707
How many debit cards do we have?
return debit cards ;return number of #1
['select', 'aggregate']
train
SPIDER_train_708
Count the number of customer cards of the type Debit.
return customers ;return cards of #1 ;return types of #2 ;return #2 where #3 is Debit ;return number of #4
['select', 'project', 'project', 'comparative', 'aggregate']
train
SPIDER_train_709
How many credit cards does customer Blanche Huels have?
return customers ;return credit cards of #1 ;return #2 where #1 is Blanche Huels ;return number of #3
['select', 'project', 'comparative', 'aggregate']
train