question_id stringlengths 11 60 | question_text stringlengths 7 294 | decomposition stringlengths 13 606 | operators stringlengths 10 260 | split stringclasses 1
value | program stringlengths 20 771 |
|---|---|---|---|---|---|
SPIDER_train_5206 | What is the most used instrument? | return instrument ;return number of used #1 ;return #1 where #2 is most | ['select', 'project', 'superlative'] | train | ["SELECT['instrument']", "PROJECT['number of used #REF', '#1']", "SUPERLATIVE['max', '#1', '#2']"] |
SPIDER_train_5207 | What instrument is used the most? | return instrument ;return #1 used the most | ['select', 'filter'] | train | ["SELECT['instrument']", "FILTER['#1', 'used the most']"] |
SPIDER_train_5208 | How many songs have used the instrument "drums"? | return songs ;return instruments used in #1 ;return #1 where #2 is drums ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['instruments used in #REF', '#1']", "COMPARATIVE['#1', '#2', 'is drums']", "AGGREGATE['count', '#3']"] |
SPIDER_train_5209 | How many songs use drums as an instrument? | return songs ;return instruments of #1 ;return #1 where #2 is drums ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['instruments of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is drums']", "AGGREGATE['count', '#3']"] |
SPIDER_train_521 | What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies. | return students ;return first names of #1 ;return #1 where #2 is Lisa ;return allergies of #3 ;return types of #4 ;return names of #4 ;return #4 , #5 sorted by #6 | ['select', 'project', 'comparative', 'project', 'project', 'project', 'sort'] | train | ["SELECT['students']", "PROJECT['first names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Lisa']", "PROJECT['allergies of #REF', '#3']", "PROJECT['types of #REF', '#4']", "PROJECT['names of #REF', '#4']", "SORT['#4 , #5', '#6']"] |
SPIDER_train_5210 | What instruments does the the song "Le Pop" use? | return songs ;return instruments #1 use ;return #2 where #1 is Le Pop | ['select', 'project', 'comparative'] | train | ["SELECT['songs']", "PROJECT['instruments #REF use', '#1']", "COMPARATIVE['#2', '#1', 'is Le Pop']"] |
SPIDER_train_5211 | What are the instruments are used in the song "Le Pop"? | return instruments ;return #1 in song Le Pop | ['select', 'filter'] | train | ["SELECT['instruments']", "FILTER['#1', 'in song Le Pop']"] |
SPIDER_train_5212 | How many instruments does the song "Le Pop" use? | return instruments ;return #1 from the song Le Pop ;return number of #2 | ['select', 'filter', 'aggregate'] | train | ["SELECT['instruments']", "FILTER['#1', 'from the song Le Pop']", "AGGREGATE['count', '#2']"] |
SPIDER_train_5213 | How many different instruments are used in the song "Le Pop"? | return songs ;return instruments used in #1 ;return #2 where #1 is Le Pop ;return different #3 ;return number of #4 | ['select', 'project', 'comparative', 'project', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['instruments used in #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Le Pop']", "PROJECT['different #REF', '#3']", "AGGREGATE['count', '#4']"] |
SPIDER_train_5214 | How many instrument does the musician with last name "Heilo" use? | return musicians ;return last names of #1 ;return #1 where #2 is Heilo ;return instruments #3 uses ;return number of #4 | ['select', 'project', 'comparative', 'project', 'aggregate'] | train | ["SELECT['musicians']", "PROJECT['last names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Heilo']", "PROJECT['instruments #REF uses', '#3']", "AGGREGATE['count', '#4']"] |
SPIDER_train_5215 | How many different instruments does the musician with the last name "Heilo" use? | return musicians ;return last names of #1 ;return #1 where #2 is Heilo ;return instruments #3 uses ;return different #4 ;return number of #5 | ['select', 'project', 'comparative', 'project', 'project', 'aggregate'] | train | ["SELECT['musicians']", "PROJECT['last names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Heilo']", "PROJECT['instruments #REF uses', '#3']", "PROJECT['different #REF', '#4']", "AGGREGATE['count', '#5']"] |
SPIDER_train_5216 | Find all the instruments ever used by the musician with last name "Heilo"? | return musicians with last name Heilo ;return instruments used by #1 | ['select', 'project'] | train | ["SELECT['musicians with last name Heilo']", "PROJECT['instruments used by #REF', '#1']"] |
SPIDER_train_5217 | What are all the instruments used by the musician with the last name "Heilo"? | return musicians ;return last names of #1 ;return #1 where #2 is Heilo ;return instruments used by #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['musicians']", "PROJECT['last names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Heilo']", "PROJECT['instruments used by #REF', '#3']"] |
SPIDER_train_5218 | Which song has the most vocals? | return songs ;return vocals ;return number of #2 for each #1 ;return #1 where #3 is highest | ['select', 'select', 'group', 'superlative'] | train | ["SELECT['songs']", "SELECT['vocals']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']"] |
SPIDER_train_5219 | What is the song with the most vocals? | return songs ;return vocals of #1 ;return number of #2 for each #1 ;return #1 where #3 is the highest | ['select', 'project', 'group', 'comparative'] | train | ["SELECT['songs']", "PROJECT['vocals of #REF', '#1']", "GROUP['count', '#2', '#1']", "COMPARATIVE['#1', '#3', 'is the highest']"] |
SPIDER_train_522 | What are the allergies the girl named Lisa has? And what are the types of them? Order the result by allergy names. | return girl ;return #1 that is named Lisa ;return allergies of #2 ;return types of #3 ;return names of #3 ;return #3 , #4 ;return #6 sorted by #5 | ['select', 'filter', 'project', 'project', 'project', 'union', 'sort'] | train | ["SELECT['girl']", "FILTER['#1', 'that is named Lisa']", "PROJECT['allergies of #REF', '#2']", "PROJECT['types of #REF', '#3']", "PROJECT['names of #REF', '#3']", "UNION['#3', '#4']", "SORT['#6', '#5']"] |
SPIDER_train_5220 | Which vocal type is the most frequently appearring type? | return vocal types ;return #1 that is most frequently appearring | ['select', 'filter'] | train | ["SELECT['vocal types']", "FILTER['#1', 'that is most frequently appearring']"] |
SPIDER_train_5221 | What is the type of vocables that appears most frequently? | return vocables ;return types of #1 ;return how frequently #2 appear ;return #2 where #3 is the most frequently | ['select', 'project', 'project', 'comparative'] | train | ["SELECT['vocables']", "PROJECT['types of #REF', '#1']", "PROJECT['how frequently #REF appear', '#2']", "COMPARATIVE['#2', '#3', 'is the most frequently']"] |
SPIDER_train_5222 | Which vocal type has the band mate with last name "Heilo" played the most? | return band mates ;return last names of #1 ;return #1 where #2 is Heilo ;return vocal types of #3 ;return most played of #4 | ['select', 'project', 'comparative', 'project', 'project'] | train | ["SELECT['band mates']", "PROJECT['last names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Heilo']", "PROJECT['vocal types of #REF', '#3']", "PROJECT['most played of #REF', '#4']"] |
SPIDER_train_5223 | What is the type of vocals that the band member with the last name "Heilo" played the most? | return band members ;return #1 with the last name Heilo ;return the type of vocals #2 played ;return #3 played the most | ['select', 'filter', 'project', 'filter'] | train | ["SELECT['band members']", "FILTER['#1', 'with the last name Heilo']", "PROJECT['the type of vocals #REF played', '#2']", "FILTER['#3', 'played the most']"] |
SPIDER_train_5224 | What are the vocal types used in song "Le Pop"? | return songs ;return vocal types of #1 ;return #2 where #1 is Le Pop | ['select', 'project', 'comparative'] | train | ["SELECT['songs']", "PROJECT['vocal types of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Le Pop']"] |
SPIDER_train_5225 | What are the types of vocals used in the song "Le Pop"? | return song ;return #1 that is Le Pop ;return vocals of #2 ;return types of #3 | ['select', 'filter', 'project', 'project'] | train | ["SELECT['song']", "FILTER['#1', 'that is Le Pop']", "PROJECT['vocals of #REF', '#2']", "PROJECT['types of #REF', '#3']"] |
SPIDER_train_5226 | Find the number of vocal types used in song "Demon Kitty Rag"? | return songs ;return vocal types used in #1 ;return #2 where #1 is Demon Kitty Rag ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['vocal types used in #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Demon Kitty Rag']", "AGGREGATE['count', '#3']"] |
SPIDER_train_5227 | What are the types of vocals used in the song "Demon Kitty Rag"? | return song Demon Kitty Rag ;return vocals used in #1 ;return types of #2 | ['select', 'project', 'project'] | train | ["SELECT['song Demon Kitty Rag']", "PROJECT['vocals used in #REF', '#1']", "PROJECT['types of #REF', '#2']"] |
SPIDER_train_5228 | How many songs have a lead vocal? | return songs ;return vocals of #1 ;return #1 where #2 is lead ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['vocals of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is lead']", "AGGREGATE['count', '#3']"] |
SPIDER_train_5229 | How many songs have vocals of type lead? | return songs ;return vocals of #1 ;return type of #2 ;return #1 where #3 is lead ;return number of #4 | ['select', 'project', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['vocals of #REF', '#1']", "PROJECT['type of #REF', '#2']", "COMPARATIVE['#1', '#3', 'is lead']", "AGGREGATE['count', '#4']"] |
SPIDER_train_523 | Find the first name and gender of the student who has allergy to milk but not cat. | return students ;return #1 with milk allergy ;return #1 with cat allergy ;return #1 of both #2 and not #3 ;return first name of #4 ;return gender of #4 ;return #5 , #6 | ['select', 'filter', 'filter', 'intersection', 'project', 'project', 'union'] | train | ["SELECT['students']", "FILTER['#1', 'with milk allergy']", "FILTER['#1', 'with cat allergy']", "INTERSECTION['#1', '#2', '#3']", "PROJECT['first name of #REF', '#4']", "PROJECT['gender of #REF', '#4']", "UNION['#5', '#6']"] |
SPIDER_train_5230 | Which vocal type did the musician with first name "Solveig" played in the song with title "A Bar in Amsterdam"? | return musicians ;return #1 with first name Solveig ;return vocal types that #2 played ;return #3 in the song with title A Bar in Amsterdam | ['select', 'filter', 'project', 'filter'] | train | ["SELECT['musicians']", "FILTER['#1', 'with first name Solveig']", "PROJECT['vocal types that #REF played', '#2']", "FILTER['#3', 'in the song with title A Bar in Amsterdam']"] |
SPIDER_train_5231 | What are the types of vocals that the musician with the first name "Solveig" played in the song "A Bar in Amsterdam"? | return musicians ;return #1 with the first names Solveig ;return #2 that played in the song A Bar in Amsterdam ;return vocals of #3 ;return types of #4 | ['select', 'filter', 'filter', 'project', 'project'] | train | ["SELECT['musicians']", "FILTER['#1', 'with the first names Solveig']", "FILTER['#2', 'that played in the song A Bar in Amsterdam']", "PROJECT['vocals of #REF', '#3']", "PROJECT['types of #REF', '#4']"] |
SPIDER_train_5232 | Find all the songs that do not have a lead vocal. | return songs ;return #1 that have a lead vocal ;return #1 besides #2 | ['select', 'filter', 'discard'] | train | ["SELECT['songs']", "FILTER['#1', 'that have a lead vocal']", "DISCARD['#1', '#2']"] |
SPIDER_train_5233 | What are the names of the songs without a lead vocal? | return songs ;return #1 with a lead vocal ;return #1 besides #2 ;return names of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['songs']", "FILTER['#1', 'with a lead vocal']", "DISCARD['#1', '#2']", "PROJECT['names of #REF', '#3']"] |
SPIDER_train_5234 | Find all the vocal types. | return vocal types ;return all #1 | ['select', 'project'] | train | ["SELECT['vocal types']", "PROJECT['all #REF', '#1']"] |
SPIDER_train_5235 | What are the different types of vocals? | return vocals ;return different types of #1 | ['select', 'project'] | train | ["SELECT['vocals']", "PROJECT['different types of #REF', '#1']"] |
SPIDER_train_5236 | What are the albums produced in year 2010? | return albums ;return years produced of #1 ;return #1 where #2 is 2010 | ['select', 'project', 'comparative'] | train | ["SELECT['albums']", "PROJECT['years produced of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is 2010']"] |
SPIDER_train_5237 | What information is there on albums from 2010? | return albums ;return #1 from 2010 ;return information on #2 | ['select', 'filter', 'project'] | train | ["SELECT['albums']", "FILTER['#1', 'from 2010']", "PROJECT['information on #REF', '#2']"] |
SPIDER_train_5238 | Who performed the song named "Le Pop"? | return the song named Le Pop ;return who performed #1 | ['select', 'project'] | train | ["SELECT['the song named Le Pop']", "PROJECT['who performed #REF', '#1']"] |
SPIDER_train_5239 | What is the first and last name of artist who performed "Le Pop"? | return artists ;return #1 who performed Le Pop ;return first name of #2 ;return last name of #2 ;return #3 , #4 | ['select', 'filter', 'project', 'project', 'union'] | train | ["SELECT['artists']", "FILTER['#1', 'who performed Le Pop']", "PROJECT['first name of #REF', '#2']", "PROJECT['last name of #REF', '#2']", "UNION['#3', '#4']"] |
SPIDER_train_524 | What are the first name and gender of the students who have allergy to milk but can put up with cats? | return students ;return allergy of #1 ;return #1 where #2 is milk ;return #1 where #2 is not cats ;return #1 of both #3 and #4 ;return first names of #5 ;return gender of #5 ;return #6 , #7 | ['select', 'project', 'comparative', 'comparative', 'intersection', 'project', 'project', 'union'] | train | ["SELECT['students']", "PROJECT['allergy of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is milk']", "COMPARATIVE['#1', '#2', 'is not cats']", "INTERSECTION['#1', '#3', '#4']", "PROJECT['first names of #REF', '#5']", "PROJECT['gender of #REF', '#5']", "UNION['#6', '#7']"] |
SPIDER_train_5240 | What is the last name of the musician that have produced the most songs? | return musicians ;return songs #1 produced ;return number of #2 for each #1 ;return #1 where #3 is highest ;return last name of #4 | ['select', 'project', 'group', 'superlative', 'project'] | train | ["SELECT['musicians']", "PROJECT['songs #REF produced', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']", "PROJECT['last name of #REF', '#4']"] |
SPIDER_train_5241 | What is the last name of the artist who sang the most songs? | return artists ;return songs #1 sang ;return number of #2 for each #1 ;return #1 where #3 is highest ;return last name of #4 | ['select', 'project', 'group', 'superlative', 'project'] | train | ["SELECT['artists']", "PROJECT['songs #REF sang', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']", "PROJECT['last name of #REF', '#4']"] |
SPIDER_train_5242 | What instrument did the musician with last name "Heilo" use in the song "Badlands"? | return musicians ;return #1 with last name Heilo ;return instruments that #2 uses ;return #3 in the song Badlands | ['select', 'filter', 'project', 'filter'] | train | ["SELECT['musicians']", "FILTER['#1', 'with last name Heilo']", "PROJECT['instruments that #REF uses', '#2']", "FILTER['#3', 'in the song Badlands']"] |
SPIDER_train_5243 | What instruments did the musician with the last name "Heilo" play in "Badlands"? | return musicians ;return #1 with the last name Heilo ;return instruments that #2 play ;return #3 in Badlands | ['select', 'filter', 'project', 'filter'] | train | ["SELECT['musicians']", "FILTER['#1', 'with the last name Heilo']", "PROJECT['instruments that #REF play', '#2']", "FILTER['#3', 'in Badlands']"] |
SPIDER_train_5244 | How many instruments does the song "Badlands" use? | return songs ;return instruments of #1 ;return #2 where #1 is Badlands ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['instruments of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Badlands']", "AGGREGATE['count', '#3']"] |
SPIDER_train_5245 | How many different instruments are used in the song "Badlands"? | return songs ;return instruments used in #1 ;return #2 where #1 is Badlands ;return different #3 ;return number of #4 | ['select', 'project', 'comparative', 'project', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['instruments used in #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Badlands']", "PROJECT['different #REF', '#3']", "AGGREGATE['count', '#4']"] |
SPIDER_train_5246 | What are the vocal types used in song "Badlands"? | return vocal types ;return #1 used in song Badlands | ['select', 'filter'] | train | ["SELECT['vocal types']", "FILTER['#1', 'used in song Badlands']"] |
SPIDER_train_5247 | What types of vocals are used in the song "Badlands"? | return the song Badlands ;return vocals used in #1 ;return the types of #2 | ['select', 'project', 'project'] | train | ["SELECT['the song Badlands']", "PROJECT['vocals used in #REF', '#1']", "PROJECT['the types of #REF', '#2']"] |
SPIDER_train_5248 | Find the number of vocal types used in song "Le Pop" | return vocal types ;return #1 used in song Le Pop ;return number of #2 | ['select', 'filter', 'aggregate'] | train | ["SELECT['vocal types']", "FILTER['#1', 'used in song Le Pop']", "AGGREGATE['count', '#2']"] |
SPIDER_train_5249 | How many vocal types are used in the song "Le Pop"? | return songs ;return vocal types of #1 ;return #2 where #1 is Le Pop ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['vocal types of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Le Pop']", "AGGREGATE['count', '#3']"] |
SPIDER_train_525 | Find the average age of the students who have allergies with food and animal types. | return students ;return #1 who have allergies ;return #2 with food ;return #2 with animals ;return #3 , #4 ;return the ages of #5 ;return the average of #6 | ['select', 'filter', 'filter', 'filter', 'union', 'project', 'aggregate'] | train | ["SELECT['students']", "FILTER['#1', 'who have allergies']", "FILTER['#2', 'with food']", "FILTER['#2', 'with animals']", "UNION['#3', '#4']", "PROJECT['the ages of #REF', '#5']", "AGGREGATE['avg', '#6']"] |
SPIDER_train_5250 | How many songs have a shared vocal? | return songs ;return vocals of #1 ;return #1 where #2 are shared ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['songs']", "PROJECT['vocals of #REF', '#1']", "COMPARATIVE['#1', '#2', 'are shared']", "AGGREGATE['count', '#3']"] |
SPIDER_train_5251 | How many different songs have shared vocals? | return songs ;return #1 that have shared vocals ;return different #2 ;return number of #3 | ['select', 'filter', 'project', 'aggregate'] | train | ["SELECT['songs']", "FILTER['#1', 'that have shared vocals']", "PROJECT['different #REF', '#2']", "AGGREGATE['count', '#3']"] |
SPIDER_train_5252 | Find all the songs that do not have a back vocal. | return songs ;return #1 that have a back vocal ;return #1 besides #2 | ['select', 'filter', 'discard'] | train | ["SELECT['songs']", "FILTER['#1', 'that have a back vocal']", "DISCARD['#1', '#2']"] |
SPIDER_train_5253 | What are the different names of all songs without back vocals? | return songs ;return #1 without back vocals ;return different names of #2 | ['select', 'filter', 'project'] | train | ["SELECT['songs']", "FILTER['#1', 'without back vocals']", "PROJECT['different names of #REF', '#2']"] |
SPIDER_train_5254 | Which vocal type has the band mate with first name "Solveig" played the most? | return band mates ;return first names of #1 ;return #1 where #2 is Solveig ;return vocal types of #3 ;return play of #4 ;return number of #5 for each #4 ;return #4 where #6 is the highest | ['select', 'project', 'comparative', 'project', 'project', 'group', 'comparative'] | train | ["SELECT['band mates']", "PROJECT['first names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Solveig']", "PROJECT['vocal types of #REF', '#3']", "PROJECT['play of #REF', '#4']", "GROUP['count', '#5', '#4']", "COMPARATIVE['#4', '#6', 'is the highest']"] |
SPIDER_train_5255 | What are the types of vocals that the band member with the first name "Solveig" played the most? | return band members ;return #1 with the first name Solveig ;return vocals that #2 played the most ;return the types of #3 | ['select', 'filter', 'project', 'project'] | train | ["SELECT['band members']", "FILTER['#1', 'with the first name Solveig']", "PROJECT['vocals that #REF played the most', '#2']", "PROJECT['the types of #REF', '#3']"] |
SPIDER_train_5256 | Which vocal type did the musician with last name "Heilo" played in the song with title "Der Kapitan"? | return musicians ;return #1 with last name Heilo ;return vocal types that #2 played ;return #3 in the song with the title Der Kapitan | ['select', 'filter', 'project', 'filter'] | train | ["SELECT['musicians']", "FILTER['#1', 'with last name Heilo']", "PROJECT['vocal types that #REF played', '#2']", "FILTER['#3', 'in the song with the title Der Kapitan']"] |
SPIDER_train_5257 | What are the types of vocals that the musician with the last name "Heilo" played in "Der Kapitan"? | return musicians ;return #1 with the last name Heilo ;return vocals that #2 played ;return #3 in Der Kapitan ;return the types of #4 | ['select', 'filter', 'project', 'filter', 'project'] | train | ["SELECT['musicians']", "FILTER['#1', 'with the last name Heilo']", "PROJECT['vocals that #REF played', '#2']", "FILTER['#3', 'in Der Kapitan']", "PROJECT['the types of #REF', '#4']"] |
SPIDER_train_5258 | Find the first name of the band mate that has performed in most songs. | return band mates ;return songs that #1 performed in ;return number of #2 for each #1 ;return #1 where #3 is highest ;return first name of #4 | ['select', 'project', 'group', 'superlative', 'project'] | train | ["SELECT['band mates']", "PROJECT['songs that #REF performed in', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']", "PROJECT['first name of #REF', '#4']"] |
SPIDER_train_5259 | What is the first name of the band mate who perfomed in the most songs? | return band mates ;return songs perfomed in of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return first name of #4 | ['select', 'project', 'group', 'superlative', 'project'] | train | ["SELECT['band mates']", "PROJECT['songs perfomed in of #REF', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']", "PROJECT['first name of #REF', '#4']"] |
SPIDER_train_526 | How old are the students with allergies to food and animal types on average? | return students ;return #1 with allergies to food types ;return #1 with allergies to animal types ;return #1 in both #2 and #3 ;return how old are #4 ;return average of #5 | ['select', 'filter', 'filter', 'intersection', 'project', 'aggregate'] | train | ["SELECT['students']", "FILTER['#1', 'with allergies to food types']", "FILTER['#1', 'with allergies to animal types']", "INTERSECTION['#1', '#2', '#3']", "PROJECT['how old are #REF', '#4']", "AGGREGATE['avg', '#5']"] |
SPIDER_train_5260 | Which vocal type has the band mate with first name "Marianne" played the most? | return band mate ;return #1 with first names Marianne ;return vocal type of #2 ;return number of #3 played ;return #3 where #4 is highest | ['select', 'filter', 'project', 'aggregate', 'superlative'] | train | ["SELECT['band mate']", "FILTER['#1', 'with first names Marianne']", "PROJECT['vocal type of #REF', '#2']", "AGGREGATE['count', '#3']", "SUPERLATIVE['max', '#3', '#4']"] |
SPIDER_train_5261 | What is the vocal type of the band mate whose first name is "Marianne" played the most? | return band mates ;return first names of #1 ;return #1 where #2 is Marianne ;return vocal types of #3 ;return the most played #4 | ['select', 'project', 'comparative', 'project', 'project'] | train | ["SELECT['band mates']", "PROJECT['first names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Marianne']", "PROJECT['vocal types of #REF', '#3']", "PROJECT['the most played #REF', '#4']"] |
SPIDER_train_5262 | Who is performing in the back stage position for the song "Der Kapitan"? Show the first name and last name. | return the song Der Kapitan ;return Who is performing in #1 ;return #2 in the back stage position ;return the first name of #3 ;return the last name of #3 ;return #4 , #5 | ['select', 'project', 'filter', 'project', 'project', 'union'] | train | ["SELECT['the song Der Kapitan']", "PROJECT['Who is performing in #REF', '#1']", "FILTER['#2', 'in the back stage position']", "PROJECT['the first name of #REF', '#3']", "PROJECT['the last name of #REF', '#3']", "UNION['#4', '#5']"] |
SPIDER_train_5263 | What is the first and last name of the artist who performed back stage for the song "Der Kapitan"? | return Der Kapitan ;return artist who performed back stage for #1 ;return the first name of #2 ;return the last name of #2 ;return #3 , #4 | ['select', 'project', 'project', 'project', 'union'] | train | ["SELECT['Der Kapitan']", "PROJECT['artist who performed back stage for #REF', '#1']", "PROJECT['the first name of #REF', '#2']", "PROJECT['the last name of #REF', '#2']", "UNION['#3', '#4']"] |
SPIDER_train_5264 | Find the name of songs that does not have a back vocal. | return songs ;return back vocals of #1 ;return number of #2 for each #1 ;return #1 where #3 is zero ;return names of #4 | ['select', 'project', 'group', 'comparative', 'project'] | train | ["SELECT['songs']", "PROJECT['back vocals of #REF', '#1']", "GROUP['count', '#2', '#1']", "COMPARATIVE['#1', '#3', 'is zero']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_5265 | What are the names of the songs that do not have back vocals? | return songs ;return #1 that have back vocals ;return #1 besides #2 ;return names of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['songs']", "FILTER['#1', 'that have back vocals']", "DISCARD['#1', '#2']", "PROJECT['names of #REF', '#3']"] |
SPIDER_train_5266 | What are the songs in album "A Kiss Before You Go: Live in Hamburg"? | return the album A Kiss Before You Go Live in Hamburg ;return the songs in #1 | ['select', 'project'] | train | ["SELECT['the album A Kiss Before You Go Live in Hamburg']", "PROJECT['the songs in #REF', '#1']"] |
SPIDER_train_5267 | What are the song titles on the album "A Kiss Before You Go: Live in Hamburg"? | return songs ;return #1 on the album A Kiss Before You Go Live in Hamburg ;return song titles of #2 | ['select', 'filter', 'project'] | train | ["SELECT['songs']", "FILTER['#1', 'on the album A Kiss Before You Go Live in Hamburg']", "PROJECT['song titles of #REF', '#2']"] |
SPIDER_train_5268 | What are all the songs in albums under label "Universal Music Group"? | return albums ;return labels of #1 ;return #1 where #2 is Universal Music Group ;return songs in #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['albums']", "PROJECT['labels of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Universal Music Group']", "PROJECT['songs in #REF', '#3']"] |
SPIDER_train_5269 | What are the names of all the songs whose album is under the label of "Universal Music Group"? | return albums ;return labels of #1 ;return #1 where #2 is Universal Music Group ;return songs of #3 ;return names of #4 | ['select', 'project', 'comparative', 'project', 'project'] | train | ["SELECT['albums']", "PROJECT['labels of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Universal Music Group']", "PROJECT['songs of #REF', '#3']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_527 | List the first and last name of the students who do not have any food type allergy. | return students ;return allergies of #1 ;return types of #2 ;return #1 where #3 is not food ;return first names of #4 ;return last names of #4 ;return #5 , #6 | ['select', 'project', 'project', 'comparative', 'project', 'project', 'union'] | train | ["SELECT['students']", "PROJECT['allergies of #REF', '#1']", "PROJECT['types of #REF', '#2']", "COMPARATIVE['#1', '#3', 'is not food']", "PROJECT['first names of #REF', '#4']", "PROJECT['last names of #REF', '#4']", "UNION['#5', '#6']"] |
SPIDER_train_5270 | Find the number of songs in all the studio albums. | return studio albums ;return songs in #1 ;return number of #2 | ['select', 'project', 'aggregate'] | train | ["SELECT['studio albums']", "PROJECT['songs in #REF', '#1']", "AGGREGATE['count', '#2']"] |
SPIDER_train_5271 | How many songs appear in studio albums? | return studio albums ;return songs that appear in #1 ;return number of #2 | ['select', 'project', 'aggregate'] | train | ["SELECT['studio albums']", "PROJECT['songs that appear in #REF', '#1']", "AGGREGATE['count', '#2']"] |
SPIDER_train_5272 | Who is the founder of Sony? | return founder of Sony | ['select'] | train | ["SELECT['founder of Sony']"] |
SPIDER_train_5273 | Return the founder of Sony. | return Sony ;return founder of #1 | ['select', 'project'] | train | ["SELECT['Sony']", "PROJECT['founder of #REF', '#1']"] |
SPIDER_train_5274 | Where is the headquarter of the company founded by James? | return companies ;return #1 founded by James ;return the headquarter of #2 ;return Where is #3 | ['select', 'filter', 'project', 'project'] | train | ["SELECT['companies']", "FILTER['#1', 'founded by James']", "PROJECT['the headquarter of #REF', '#2']", "PROJECT['Where is #REF', '#3']"] |
SPIDER_train_5275 | What is the headquarter of the company whose founder is James? | return companies ;return founders of #1 ;return #2 that is James ;return company with #3 ;return headquarters of #4 | ['select', 'project', 'filter', 'project', 'project'] | train | ["SELECT['companies']", "PROJECT['founders of #REF', '#1']", "FILTER['#2', 'that is James']", "PROJECT['company with #REF', '#3']", "PROJECT['headquarters of #REF', '#4']"] |
SPIDER_train_5276 | Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first. | return manufacturers ;return names of #1 ;return headquarters of #1 ;return revenues of #1 ;return #2 , #3 ;return #5 sorted by #4 from highest to lowest | ['select', 'project', 'project', 'project', 'union', 'sort'] | train | ["SELECT['manufacturers']", "PROJECT['names of #REF', '#1']", "PROJECT['headquarters of #REF', '#1']", "PROJECT['revenues of #REF', '#1']", "UNION['#2', '#3']", "SORT['#5', '#4 from highest to lowest']"] |
SPIDER_train_5277 | What are the names and headquarters of all manufacturers, ordered by revenue descending? | return manufacturers ;return names of #1 ;return headquarters of #1 ;return revenue of #1 ;return #2 , #3 ;return #5 sorted by descending #4 | ['select', 'project', 'project', 'project', 'union', 'sort'] | train | ["SELECT['manufacturers']", "PROJECT['names of #REF', '#1']", "PROJECT['headquarters of #REF', '#1']", "PROJECT['revenue of #REF', '#1']", "UNION['#2', '#3']", "SORT['#5', 'descending #4']"] |
SPIDER_train_5278 | What are the average, maximum and total revenues of all companies? | return companies ;return revenues of #1 ;return average of #2 ;return maximum of #2 ;return sum of #2 ;return #3 , #4 , #5 | ['select', 'project', 'aggregate', 'aggregate', 'aggregate', 'union'] | train | ["SELECT['companies']", "PROJECT['revenues of #REF', '#1']", "AGGREGATE['avg', '#2']", "AGGREGATE['max', '#2']", "AGGREGATE['sum', '#2']", "UNION['#3', '#4', '#5']"] |
SPIDER_train_5279 | Return the average, maximum, and total revenues across all manufacturers. | return manufacturers ;return revenues of #1 ;return average of #2 ;return maximum of #2 ;return sum of #2 ;return #3 , #4 , #5 | ['select', 'project', 'aggregate', 'aggregate', 'aggregate', 'union'] | train | ["SELECT['manufacturers']", "PROJECT['revenues of #REF', '#1']", "AGGREGATE['avg', '#2']", "AGGREGATE['max', '#2']", "AGGREGATE['sum', '#2']", "UNION['#3', '#4', '#5']"] |
SPIDER_train_528 | What is the full name of each student who is not allergic to any type of food. | return students ;return #1 that are allergic ;return #2 to any type of food ;return #1 besides #3 ;return full name of #4 | ['select', 'filter', 'filter', 'discard', 'project'] | train | ["SELECT['students']", "FILTER['#1', 'that are allergic']", "FILTER['#2', 'to any type of food']", "DISCARD['#1', '#3']", "PROJECT['full name of #REF', '#4']"] |
SPIDER_train_5280 | How many companies were created by Andy? | return companies ;return #1 created by Andy ;return number of #2 | ['select', 'filter', 'aggregate'] | train | ["SELECT['companies']", "FILTER['#1', 'created by Andy']", "AGGREGATE['count', '#2']"] |
SPIDER_train_5281 | Return the number of companies created by Andy. | return companies ;return #1 created by Andy ;return number of #2 | ['select', 'filter', 'aggregate'] | train | ["SELECT['companies']", "FILTER['#1', 'created by Andy']", "AGGREGATE['count', '#2']"] |
SPIDER_train_5282 | Find the total revenue created by the companies whose headquarter is located at Austin. | return companies ;return headquarters of #1 ;return #1 where #2 is Austin ;return revenue of #3 ;return sum of #4 | ['select', 'project', 'comparative', 'project', 'aggregate'] | train | ["SELECT['companies']", "PROJECT['headquarters of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Austin']", "PROJECT['revenue of #REF', '#3']", "AGGREGATE['sum', '#4']"] |
SPIDER_train_5283 | What is the sum of revenue from companies with headquarters in Austin? | return companies ;return headquarters of #1 ;return #1 where #2 is in Austin ;return revenue of #3 ;return sums of #4 | ['select', 'project', 'comparative', 'project', 'project'] | train | ["SELECT['companies']", "PROJECT['headquarters of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is in Austin']", "PROJECT['revenue of #REF', '#3']", "PROJECT['sums of #REF', '#4']"] |
SPIDER_train_5284 | What are the different cities listed? | return different cities | ['select'] | train | ["SELECT['different cities']"] |
SPIDER_train_5285 | Give the distinct headquarters of manufacturers. | return manufacturers ;return headquarters of #1 ;return distinct #2 | ['select', 'project', 'project'] | train | ["SELECT['manufacturers']", "PROJECT['headquarters of #REF', '#1']", "PROJECT['distinct #REF', '#2']"] |
SPIDER_train_5286 | Find the number of manufactures that are based in Tokyo or Beijing. | return manufactures ;return #1 based in Tokyo ;return #1 based in Beijing ;return number of #2 ;return number of #3 ;return sum of #4 and #5 | ['select', 'filter', 'filter', 'aggregate', 'aggregate', 'arithmetic'] | train | ["SELECT['manufactures']", "FILTER['#1', 'based in Tokyo']", "FILTER['#1', 'based in Beijing']", "AGGREGATE['count', '#2']", "AGGREGATE['count', '#3']", "ARITHMETIC['sum', '#4', '#5']"] |
SPIDER_train_5287 | How many manufacturers have headquarters in either Tokyo or Beijing? | return manufacturers ;return headquarters of #1 ;return #1 where #2 is in Tokyo ;return #1 where #2 is in Beijing ;return #3 or #4 ;return number of #5 | ['select', 'project', 'comparative', 'comparative', 'union', 'aggregate'] | train | ["SELECT['manufacturers']", "PROJECT['headquarters of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is in Tokyo']", "COMPARATIVE['#1', '#2', 'is in Beijing']", "UNION['#3', '#4']", "AGGREGATE['count', '#5']"] |
SPIDER_train_5288 | Find the founder of the company whose name begins with the letter 'S'. | return company ;return founders of #1 ;return names of #2 ;return #2 where #3 begins with 'S | ['select', 'project', 'project', 'comparative'] | train | ["SELECT['company']", "PROJECT['founders of #REF', '#1']", "PROJECT['names of #REF', '#2']", 'COMPARATIVE[\'#2\', \'#3\', "begins with \'S"]'] |
SPIDER_train_5289 | Who is the founders of companies whose first letter is S? | return companies ;return first letters of #1 ;return #1 where #2 is S ;return founders of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['companies']", "PROJECT['first letters of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is S']", "PROJECT['founders of #REF', '#3']"] |
SPIDER_train_529 | Find the number of male (sex is 'M') students who have some food type allery. | return students ;return #1 where sex is male ;return #2 where has food allery ;return number of #3 | ['select', 'filter', 'filter', 'aggregate'] | train | ["SELECT['students']", "FILTER['#1', 'where sex is male']", "FILTER['#2', 'where has food allery']", "AGGREGATE['count', '#3']"] |
SPIDER_train_5290 | Find the name of companies whose revenue is between 100 and 150. | return companies ;return revenues of #1 ;return #1 where #2 is between 100 and 150 ;return the names of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['companies']", "PROJECT['revenues of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is between 100 and 150']", "PROJECT['the names of #REF', '#3']"] |
SPIDER_train_5291 | What are the names of companies with revenue between 100 and 150? | return companies ;return revenues of #1 ;return #1 where #2 is at least 100 ;return #1 where #2 is at most 150 ;return #1 of both #3 and #4 ;return names of #5 | ['select', 'project', 'comparative', 'comparative', 'intersection', 'project'] | train | ["SELECT['companies']", "PROJECT['revenues of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is at least 100']", "COMPARATIVE['#1', '#2', 'is at most 150']", "INTERSECTION['#1', '#3', '#4']", "PROJECT['names of #REF', '#5']"] |
SPIDER_train_5292 | What is the total revenue of all companies whose main office is at Tokyo or Taiwan? | return companies ;return main offices office #1 ;return #1 where #2 is in Tokyo ;return #1 where #2 is in Taiwan ;return #3 or #4 ;return revenues of #5 ;return sum of #6 | ['select', 'project', 'comparative', 'comparative', 'union', 'project', 'aggregate'] | train | ["SELECT['companies']", "PROJECT['main offices office #REF', '#1']", "COMPARATIVE['#1', '#2', 'is in Tokyo']", "COMPARATIVE['#1', '#2', 'is in Taiwan']", "UNION['#3', '#4']", "PROJECT['revenues of #REF', '#5']", "AGGREGATE['sum', '#6']"] |
SPIDER_train_5293 | Return the total revenue of companies with headquarters in Tokyo or Taiwan. | return companies ;return headquarters of #1 ;return #1 where #2 is equal to Tokyo ;return #1 where #2 is equal to Taiwan ;return #3 , #4 ;return revenues of #5 ;return sum of #6 | ['select', 'project', 'comparative', 'comparative', 'union', 'project', 'aggregate'] | train | ["SELECT['companies']", "PROJECT['headquarters of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is equal to Tokyo']", "COMPARATIVE['#1', '#2', 'is equal to Taiwan']", "UNION['#3', '#4']", "PROJECT['revenues of #REF', '#5']", "AGGREGATE['sum', '#6']"] |
SPIDER_train_5294 | Find the name of product that is produced by both companies Creative Labs and Sony. | return products ;return #1 produced by Creative Labs ;return #1 produced by Sony ;return #1 of both #2 and #3 ;return names of #4 | ['select', 'filter', 'filter', 'intersection', 'project'] | train | ["SELECT['products']", "FILTER['#1', 'produced by Creative Labs']", "FILTER['#1', 'produced by Sony']", "INTERSECTION['#1', '#2', '#3']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_5295 | What are the names of products produced by both Creative Labs and Sony? | return products ;return #1 produced by Creative Labs ;return #1 produced by Sony ;return #1 in both #2 and #3 ;return names of #4 | ['select', 'filter', 'filter', 'intersection', 'project'] | train | ["SELECT['products']", "FILTER['#1', 'produced by Creative Labs']", "FILTER['#1', 'produced by Sony']", "INTERSECTION['#1', '#2', '#3']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_5296 | Find the name, headquarter and founder of the manufacturer that has the highest revenue. | return manufacturers ;return revenue of #1 ;return #1 where #2 is highest ;return name of #3 ;return headquarter of #3 ;return founder of #3 ;return #4 , #5 , #6 | ['select', 'project', 'superlative', 'project', 'project', 'project', 'union'] | train | ["SELECT['manufacturers']", "PROJECT['revenue of #REF', '#1']", "SUPERLATIVE['max', '#1', '#2']", "PROJECT['name of #REF', '#3']", "PROJECT['headquarter of #REF', '#3']", "PROJECT['founder of #REF', '#3']", "UNION['#4', '#5', '#6']"] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.