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_4203 | Which employees have the role with code "HR"? Find their names. | return employees ;return roles of #1 ;return codes of #2 ;return #1 where #3 is HR ;return names of #4 | ['select', 'project', 'project', 'comparative', 'project'] | train | ["SELECT['employees']", "PROJECT['roles of #REF', '#1']", "PROJECT['codes of #REF', '#2']", "COMPARATIVE['#1', '#3', 'is HR']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_4204 | Show all role codes and the number of employees in each role. | return role ;return codes of #1 ;return number of employees for each #1 ;return #2 , #3 | ['select', 'project', 'group', 'union'] | train | ["SELECT['role']", "PROJECT['codes of #REF', '#1']", "GROUP['count', 'employees', '#1']", "UNION['#2', '#3']"] |
SPIDER_train_4205 | What is the code of each role and the number of employees in each role? | return roles ;return codes of #1 ;return employees in #1 ;return number of #3 for each #1 ;return #2 , #4 | ['select', 'project', 'project', 'group', 'union'] | train | ["SELECT['roles']", "PROJECT['codes of #REF', '#1']", "PROJECT['employees in #REF', '#1']", "GROUP['count', '#3', '#1']", "UNION['#2', '#4']"] |
SPIDER_train_4206 | What is the role code with the largest number of employees? | return role codes ;return employees with #1 ;return number of #2 for each #1 ;return #1 where #3 is highest | ['select', 'project', 'group', 'superlative'] | train | ["SELECT['role codes']", "PROJECT['employees with #REF', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']"] |
SPIDER_train_4207 | Find the code of the role that have the most employees. | return roles ;return employees for each role ;return the number of #2 ;return #1 where #3 is highest ;return code of #4 | ['select', 'select', 'aggregate', 'superlative', 'project'] | train | ["SELECT['roles']", "SELECT['employees for each role']", "AGGREGATE['count', '#2']", "SUPERLATIVE['max', '#1', '#3']", "PROJECT['code of #REF', '#4']"] |
SPIDER_train_4208 | Show all role codes with at least 3 employees. | return role codes ;return employees of #1 ;return number of #2 for each #2 ;return #1 where #3 is at least 3 | ['select', 'project', 'group', 'comparative'] | train | ["SELECT['role codes']", "PROJECT['employees of #REF', '#1']", "GROUP['count', '#2', '#2']", "COMPARATIVE['#1', '#3', 'is at least 3']"] |
SPIDER_train_4209 | What are the roles with three or more employees? Give me the role codes. | return roles ;return employees with #1 ;return number of #2 for each #1 ;return #1 where #3 is at least three ;return codes of #4 | ['select', 'project', 'group', 'comparative', 'project'] | train | ["SELECT['roles']", "PROJECT['employees with #REF', '#1']", "GROUP['count', '#2', '#1']", "COMPARATIVE['#1', '#3', 'is at least three']", "PROJECT['codes of #REF', '#4']"] |
SPIDER_train_421 | Show ids for all employees who don't have a certificate. | return employees ;return #1 that have certificates ;return #1 besides #2 ;return ids of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'that have certificates']", "DISCARD['#1', '#2']", "PROJECT['ids of #REF', '#3']"] |
SPIDER_train_4210 | Show the role code with the least employees. | return role codes ;return employees with #1 ;return number of #2 for each #1 ;return #1 where #3 is lowest | ['select', 'project', 'group', 'superlative'] | train | ["SELECT['role codes']", "PROJECT['employees with #REF', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['min', '#1', '#3']"] |
SPIDER_train_4211 | What is the role with the smallest number of employees? Find the role codes. | return employees ;return roles of #1 ;return number of #1 for each #2 ;return #2 where #3 is the smallest ;return the role codes of #4 | ['select', 'project', 'group', 'comparative', 'project'] | train | ["SELECT['employees']", "PROJECT['roles of #REF', '#1']", "GROUP['count', '#1', '#2']", "COMPARATIVE['#2', '#3', 'is the smallest']", "PROJECT['the role codes of #REF', '#4']"] |
SPIDER_train_4212 | What is the role name and role description for employee called Ebba? | return employees ;return #1 called Ebba ;return role name of #2 ;return role description of #2 ;return #3 , #4 | ['select', 'filter', 'project', 'project', 'union'] | train | ["SELECT['employees']", "FILTER['#1', 'called Ebba']", "PROJECT['role name of #REF', '#2']", "PROJECT['role description of #REF', '#2']", "UNION['#3', '#4']"] |
SPIDER_train_4213 | Show the name and description of the role played by the employee named Ebba. | return roles played by employee with name Ebba ;return names of #1 ;return description of #1 ;return #2 or #3 | ['select', 'project', 'project', 'union'] | train | ["SELECT['roles played by employee with name Ebba']", "PROJECT['names of #REF', '#1']", "PROJECT['description of #REF', '#1']", "UNION['#2', '#3']"] |
SPIDER_train_4214 | Show the names of employees with role name Editor. | return employees ;return role names of #1 ;return #1 where #2 is Editor ;return names of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['employees']", "PROJECT['role names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Editor']", "PROJECT['names of #REF', '#3']"] |
SPIDER_train_4215 | Find the names of all the employees whose the role name is "Editor". | return employees ;return role names of #1 ;return #1 where #2 is Editor ;return names of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['employees']", "PROJECT['role names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Editor']", "PROJECT['names of #REF', '#3']"] |
SPIDER_train_4216 | Show the employee ids for all employees with role name "Human Resource" or "Manager". | return employees ;return roles of #1 ;return names of #2 ;return #1 where #3 is Human Resource ;return #1 where #3 is Manager ;return #4 , #5 ;return the employee ids of #6 | ['select', 'project', 'project', 'comparative', 'comparative', 'union', 'project'] | train | ["SELECT['employees']", "PROJECT['roles of #REF', '#1']", "PROJECT['names of #REF', '#2']", "COMPARATIVE['#1', '#3', 'is Human Resource']", "COMPARATIVE['#1', '#3', 'is Manager']", "UNION['#4', '#5']", "PROJECT['the employee ids of #REF', '#6']"] |
SPIDER_train_4217 | What are the employee ids of the employees whose role name is "Human Resource" or "Manager"? | return employees ;return roles of #1 ;return names of #2 ;return #1 where #3 is Human Resource ;return #1 where #3 is Manager ;return #4 , #5 ;return employee ids of #6 | ['select', 'project', 'project', 'comparative', 'comparative', 'union', 'project'] | train | ["SELECT['employees']", "PROJECT['roles of #REF', '#1']", "PROJECT['names of #REF', '#2']", "COMPARATIVE['#1', '#3', 'is Human Resource']", "COMPARATIVE['#1', '#3', 'is Manager']", "UNION['#4', '#5']", "PROJECT['employee ids of #REF', '#6']"] |
SPIDER_train_4218 | What are the different location codes for documents? | return documents ;return different location codes of #1 | ['select', 'project'] | train | ["SELECT['documents']", "PROJECT['different location codes of #REF', '#1']"] |
SPIDER_train_4219 | Give me all the distinct location codes for documents. | return documents ;return location codes of #1 ;return distinct #2 | ['select', 'project', 'project'] | train | ["SELECT['documents']", "PROJECT['location codes of #REF', '#1']", "PROJECT['distinct #REF', '#2']"] |
SPIDER_train_422 | What are the ids of all employees that don't have certificates? | return employees ;return #1 who have certificates ;return #1 besides #2 ;return ids of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who have certificates']", "DISCARD['#1', '#2']", "PROJECT['ids of #REF', '#3']"] |
SPIDER_train_4220 | Show the location name for document "Robin CV". | return document ;return #1 Robin CV ;return location of #2 | ['select', 'filter', 'project'] | train | ["SELECT['document']", "FILTER['#1', 'Robin CV']", "PROJECT['location of #REF', '#2']"] |
SPIDER_train_4221 | What is the location name of the document "Robin CV"? | return documents ;return locations of #1 ;return #2 where #1 is Robin CV ;return name of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['documents']", "PROJECT['locations of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Robin CV']", "PROJECT['name of #REF', '#3']"] |
SPIDER_train_4222 | Show the location code, the starting date and ending data in that location for all the documents. | return documents ;return location codes for #1 ;return starting dates of #1 ;return ending dates of #1 ;return #3 or #2 or #4 | ['select', 'project', 'project', 'project', 'union'] | train | ["SELECT['documents']", "PROJECT['location codes for #REF', '#1']", "PROJECT['starting dates of #REF', '#1']", "PROJECT['ending dates of #REF', '#1']", "UNION['#3', '#2', '#4']"] |
SPIDER_train_4223 | What are each document's location code, and starting date and ending data in that location? | return documents ;return locations of #1 ;return codes of #2 ;return starting dates in #2 ;return ending dates in #2 ;return #3 , #4 , #5 | ['select', 'project', 'project', 'project', 'project', 'union'] | train | ["SELECT['documents']", "PROJECT['locations of #REF', '#1']", "PROJECT['codes of #REF', '#2']", "PROJECT['starting dates in #REF', '#2']", "PROJECT['ending dates in #REF', '#2']", "UNION['#3', '#4', '#5']"] |
SPIDER_train_4224 | What is "the date in location from" and "the date in location to" for the document with name "Robin CV"? | return documents ;return names of #1 ;return #1 where #2 is Robin CV ;return date in location from of #3 ;return date in location to of #3 ;return #4 , #5 | ['select', 'project', 'comparative', 'project', 'project', 'union'] | train | ["SELECT['documents']", "PROJECT['names of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Robin CV']", "PROJECT['date in location from of #REF', '#3']", "PROJECT['date in location to of #REF', '#3']", "UNION['#4', '#5']"] |
SPIDER_train_4225 | Find the starting date and ending data in location for the document named "Robin CV". | return documents ;return #1 named Robin CV ;return locations in #2 ;return starting dates of #3 ;return ending dates of #3 ;return #4 , #5 | ['select', 'filter', 'project', 'project', 'project', 'union'] | train | ["SELECT['documents']", "FILTER['#1', 'named Robin CV']", "PROJECT['locations in #REF', '#2']", "PROJECT['starting dates of #REF', '#3']", "PROJECT['ending dates of #REF', '#3']", "UNION['#4', '#5']"] |
SPIDER_train_4226 | Show the location codes and the number of documents in each location. | return locations ;return number of documents of each #1 ;return location codes of #1 ;return #2 or #3 | ['select', 'project', 'project', 'union'] | train | ["SELECT['locations']", "PROJECT['number of documents of each #REF', '#1']", "PROJECT['location codes of #REF', '#1']", "UNION['#2', '#3']"] |
SPIDER_train_4227 | What is the code of each location and the number of documents in that location? | return locations ;return codes of #1 ;return documents in #1 ;return number of #3 for each #1 ;return #2 , #4 | ['select', 'project', 'project', 'group', 'union'] | train | ["SELECT['locations']", "PROJECT['codes of #REF', '#1']", "PROJECT['documents in #REF', '#1']", "GROUP['count', '#3', '#1']", "UNION['#2', '#4']"] |
SPIDER_train_4228 | What is the location code with the most documents? | return location codes ;return documents of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest | ['select', 'project', 'group', 'superlative'] | train | ["SELECT['location codes']", "PROJECT['documents of #REF', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']"] |
SPIDER_train_4229 | Find the code of the location with the largest number of documents. | return locations ;return documents of #1 ;return number of #2 for each #1 ;return #1 where #3 is highest ;return code of #4 | ['select', 'project', 'group', 'superlative', 'project'] | train | ["SELECT['locations']", "PROJECT['documents of #REF', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['max', '#1', '#3']", "PROJECT['code of #REF', '#4']"] |
SPIDER_train_423 | Show names for all aircrafts of which John Williams has certificates. | return aircrafts ;return #1 of which John Williams has certificates ;return names of #2 | ['select', 'filter', 'project'] | train | ["SELECT['aircrafts']", "FILTER['#1', 'of which John Williams has certificates']", "PROJECT['names of #REF', '#2']"] |
SPIDER_train_4230 | Show the location codes with at least 3 documents. | return location codes ;return documents of #1 ;return number of #2 for each #1 ;return #1 where #3 is at least 3 | ['select', 'project', 'group', 'comparative'] | train | ["SELECT['location codes']", "PROJECT['documents of #REF', '#1']", "GROUP['count', '#2', '#1']", "COMPARATIVE['#1', '#3', 'is at least 3']"] |
SPIDER_train_4231 | What are the codes of the locations with at least three documents? | return locations ;return documents of #1 ;return number of #2 for each #1 ;return #1 where #3 is at least three ;return codes of #4 | ['select', 'project', 'group', 'comparative', 'project'] | train | ["SELECT['locations']", "PROJECT['documents of #REF', '#1']", "GROUP['count', '#2', '#1']", "COMPARATIVE['#1', '#3', 'is at least three']", "PROJECT['codes of #REF', '#4']"] |
SPIDER_train_4232 | Show the location name and code with the least documents. | return locations ;return documents of #1 ;return number of #2 for each #1 ;return #1 where #3 is lowest ;return location name of #4 ;return location code of #4 ;return #5 , #6 | ['select', 'project', 'group', 'superlative', 'project', 'project', 'union'] | train | ["SELECT['locations']", "PROJECT['documents of #REF', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['min', '#1', '#3']", "PROJECT['location name of #REF', '#4']", "PROJECT['location code of #REF', '#4']", "UNION['#5', '#6']"] |
SPIDER_train_4233 | What are the name and code of the location with the smallest number of documents? | return locations ;return documents in #1 ;return number of #2 for each #1 ;return #1 where #3 is lowest ;return name of #4 ;return code of #4 ;return #5 , #6 | ['select', 'project', 'group', 'superlative', 'project', 'project', 'union'] | train | ["SELECT['locations']", "PROJECT['documents in #REF', '#1']", "GROUP['count', '#2', '#1']", "SUPERLATIVE['min', '#1', '#3']", "PROJECT['name of #REF', '#4']", "PROJECT['code of #REF', '#4']", "UNION['#5', '#6']"] |
SPIDER_train_4234 | What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents? | return employees ;return #1 who authorised the destruction ;return #1 who destroyed the corresponding documents ;return #2 , #3 | ['select', 'filter', 'filter', 'union'] | train | ["SELECT['employees']", "FILTER['#1', 'who authorised the destruction']", "FILTER['#1', 'who destroyed the corresponding documents']", "UNION['#2', '#3']"] |
SPIDER_train_4235 | List the names of the employees who authorized the destruction of documents and the employees who destroyed the corresponding documents. | return employees ;return #1 who authorized the destruction of documents ;return #1 who destroyed the corresponding documents ;return #2 , #3 ;return names of #4 | ['select', 'filter', 'filter', 'union', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who authorized the destruction of documents']", "FILTER['#1', 'who destroyed the corresponding documents']", "UNION['#2', '#3']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_4236 | Show the id of each employee and the number of document destruction authorised by that employee. | return employees ;return ids of #1 ;return document destructions that #1 authorised ;return the number of #3 for each #1 ;return #2 , #4 | ['select', 'project', 'project', 'group', 'union'] | train | ["SELECT['employees']", "PROJECT['ids of #REF', '#1']", "PROJECT['document destructions that #REF authorised', '#1']", "GROUP['count', '#3', '#1']", "UNION['#2', '#4']"] |
SPIDER_train_4237 | What are the id of each employee and the number of document destruction authorised by that employee? | return employees ;return ids of #1 ;return document destructions authorised by #1 ;return number of #3 for each #1 ;return #2 , #4 | ['select', 'project', 'project', 'group', 'union'] | train | ["SELECT['employees']", "PROJECT['ids of #REF', '#1']", "PROJECT['document destructions authorised by #REF', '#1']", "GROUP['count', '#3', '#1']", "UNION['#2', '#4']"] |
SPIDER_train_4238 | Show the employee ids and the number of documents destroyed by each employee. | return employees ;return ids of #1 ;return number of documents destroyed by each #1 ;return #2 or #3 | ['select', 'project', 'project', 'union'] | train | ["SELECT['employees']", "PROJECT['ids of #REF', '#1']", "PROJECT['number of documents destroyed by each #REF', '#1']", "UNION['#2', '#3']"] |
SPIDER_train_4239 | What are the id of each employee and the number of document destroyed by that employee? | return employees ;return ids of #1 ;return document destroyed by #1 ;return number of #3 for each #1 ;return #2 , #4 | ['select', 'project', 'project', 'group', 'union'] | train | ["SELECT['employees']", "PROJECT['ids of #REF', '#1']", "PROJECT['document destroyed by #REF', '#1']", "GROUP['count', '#3', '#1']", "UNION['#2', '#4']"] |
SPIDER_train_424 | What are the names of all aircrafts that John Williams have certificates to be able to fly? | return aircrafts ;return #1 that John Williams have certificates to be able to fly ;return names of #2 | ['select', 'filter', 'project'] | train | ["SELECT['aircrafts']", "FILTER['#1', 'that John Williams have certificates to be able to fly']", "PROJECT['names of #REF', '#2']"] |
SPIDER_train_4240 | Show the ids of the employees who don't authorize destruction for any document. | return employees ;return #1 that authorize destruction of documents ;return #1 besides #2 ;return ids of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'that authorize destruction of documents']", "DISCARD['#1', '#2']", "PROJECT['ids of #REF', '#3']"] |
SPIDER_train_4241 | Which employees do not authorize destruction for any document? Give me their employee ids. | return employees ;return #1 that authorize destruction for any document ;return #1 besides #2 ;return employee ids of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'that authorize destruction for any document']", "DISCARD['#1', '#2']", "PROJECT['employee ids of #REF', '#3']"] |
SPIDER_train_4242 | Show the ids of all employees who have authorized destruction. | return employees ;return #1 that have authorized destruction ;return ids of #2 | ['select', 'filter', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'that have authorized destruction']", "PROJECT['ids of #REF', '#2']"] |
SPIDER_train_4243 | What are the ids of all the employees who authorize document destruction? | return employees ;return #1 who authorize document destruction ;return ids of #2 | ['select', 'filter', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who authorize document destruction']", "PROJECT['ids of #REF', '#2']"] |
SPIDER_train_4244 | Show the ids of all employees who have destroyed a document. | return employees ;return #1 that have destroyed a document ;return ids of #2 | ['select', 'filter', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'that have destroyed a document']", "PROJECT['ids of #REF', '#2']"] |
SPIDER_train_4245 | What are the ids of all the employees who have destroyed documents? | return employees ;return #1 who have destroyed documents ;return ids of #2 | ['select', 'filter', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who have destroyed documents']", "PROJECT['ids of #REF', '#2']"] |
SPIDER_train_4246 | Show the ids of all employees who don't destroy any document. | return employees ;return #1 who destroy documents ;return #1 besides #2 ;return ids of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who destroy documents']", "DISCARD['#1', '#2']", "PROJECT['ids of #REF', '#3']"] |
SPIDER_train_4247 | Which employees do not destroy any document? Find their employee ids. | return employees ;return #1 who destroy any document ;return #1 besides #2 ;return the employee ids of #3 | ['select', 'filter', 'discard', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who destroy any document']", "DISCARD['#1', '#2']", "PROJECT['the employee ids of #REF', '#3']"] |
SPIDER_train_4248 | Show the ids of all employees who have either destroyed a document or made an authorization to do this. | return employees ;return #1 who have destroyed a document ;return #1 who made an authorization to document this ;return #2 , #3 ;return ids of #4 | ['select', 'filter', 'filter', 'union', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who have destroyed a document']", "FILTER['#1', 'who made an authorization to document this']", "UNION['#2', '#3']", "PROJECT['ids of #REF', '#4']"] |
SPIDER_train_4249 | Which employees have either destroyed a document or made an authorization to do so? Return their employee ids. | return employees ;return #1 that have destroyed a document ;return #1 that made any authorization to do so ;return #2 , #3 ;return employee ids of #4 | ['select', 'filter', 'filter', 'union', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'that have destroyed a document']", "FILTER['#1', 'that made any authorization to do so']", "UNION['#2', '#3']", "PROJECT['employee ids of #REF', '#4']"] |
SPIDER_train_425 | Show names for all employees who have certificate of Boeing 737-800. | return employees ;return certificates of #1 ;return #1 where #2 is Boeing 737-800 ;return names of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['employees']", "PROJECT['certificates of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Boeing 737-800']", "PROJECT['names of #REF', '#3']"] |
SPIDER_train_4251 | Count the total number of clubs. | return clubs ;return number of #1 | ['select', 'aggregate'] | train | ["SELECT['clubs']", "AGGREGATE['count', '#1']"] |
SPIDER_train_4252 | What are the names of all clubs? | return clubs ;return names of #1 | ['select', 'project'] | train | ["SELECT['clubs']", "PROJECT['names of #REF', '#1']"] |
SPIDER_train_4253 | Give me the name of each club. | return clubs ;return names of #1 | ['select', 'project'] | train | ["SELECT['clubs']", "PROJECT['names of #REF', '#1']"] |
SPIDER_train_4255 | Count the total number of students. | return students ;return number of #1 | ['select', 'aggregate'] | train | ["SELECT['students']", "AGGREGATE['count', '#1']"] |
SPIDER_train_4256 | What are the first names of all the students? | return students ;return first names of #1 | ['select', 'project'] | train | ["SELECT['students']", "PROJECT['first names of #REF', '#1']"] |
SPIDER_train_4257 | Find each student's first name. | return students ;return first name of #1 | ['select', 'project'] | train | ["SELECT['students']", "PROJECT['first name of #REF', '#1']"] |
SPIDER_train_4258 | Find the last names of the members of the club "Bootup Baltimore". | return the club Bootup Baltimore ;return members of #1 ;return the last names of #2 | ['select', 'project', 'project'] | train | ["SELECT['the club Bootup Baltimore']", "PROJECT['members of #REF', '#1']", "PROJECT['the last names of #REF', '#2']"] |
SPIDER_train_4259 | Who are the members of the club named "Bootup Baltimore"? Give me their last names. | return clubs ;return #1 named Bootup Baltimore ;return members of #2 ;return last names of #3 | ['select', 'filter', 'project', 'project'] | train | ["SELECT['clubs']", "FILTER['#1', 'named Bootup Baltimore']", "PROJECT['members of #REF', '#2']", "PROJECT['last names of #REF', '#3']"] |
SPIDER_train_426 | What are the names of all employees who have a certificate to fly Boeing 737-800? | return employees ;return certificates to fly of #1 ;return #1 where #2 is Boeing 737-800 ;return names of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['employees']", "PROJECT['certificates to fly of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Boeing 737-800']", "PROJECT['names of #REF', '#3']"] |
SPIDER_train_4260 | Who are the members of the club named "Hopkins Student Enterprises"? Show the last name. | return clubs ;return #1 named Hopkins Student Enterprises ;return members of #2 ;return last names of #3 | ['select', 'filter', 'project', 'project'] | train | ["SELECT['clubs']", "FILTER['#1', 'named Hopkins Student Enterprises']", "PROJECT['members of #REF', '#2']", "PROJECT['last names of #REF', '#3']"] |
SPIDER_train_4261 | Return the last name for the members of the club named "Hopkins Student Enterprises". | return clubs ;return members of #1 ;return #2 where #1 is Hopkins Student Enterprises ;return last names of #3 | ['select', 'project', 'comparative', 'project'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Hopkins Student Enterprises']", "PROJECT['last names of #REF', '#3']"] |
SPIDER_train_4262 | How many members does the club "Tennis Club" has? | return clubs ;return members of #1 ;return #2 where #1 is Tennis Club ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Tennis Club']", "AGGREGATE['count', '#3']"] |
SPIDER_train_4263 | Count the members of the club "Tennis Club". | return members of the Tennis club ;return Count of #1 | ['select', 'project'] | train | ["SELECT['members of the Tennis club']", "PROJECT['Count of #REF', '#1']"] |
SPIDER_train_4264 | Find the number of members of club "Pen and Paper Gaming". | return Pen and Paper Gaming ;return members of #1 ;return number of #2 | ['select', 'project', 'aggregate'] | train | ["SELECT['Pen and Paper Gaming']", "PROJECT['members of #REF', '#1']", "AGGREGATE['count', '#2']"] |
SPIDER_train_4265 | How many people have membership in the club "Pen and Paper Gaming"? | return the club Pen and Paper Gaming ;return people with membership in #1 ;return number of #2 | ['select', 'project', 'aggregate'] | train | ["SELECT['the club Pen and Paper Gaming']", "PROJECT['people with membership in #REF', '#1']", "AGGREGATE['count', '#2']"] |
SPIDER_train_4266 | How many clubs does "Linda Smith" belong to? | return clubs ;return #1 that Linda Smith belongs to ;return number of #2 | ['select', 'filter', 'aggregate'] | train | ["SELECT['clubs']", "FILTER['#1', 'that Linda Smith belongs to']", "AGGREGATE['count', '#2']"] |
SPIDER_train_4267 | How many clubs does "Linda Smith" have membership for? | return Linda Smith ;return clubs #1 has membership in ;return number of #2 | ['select', 'project', 'aggregate'] | train | ["SELECT['Linda Smith']", "PROJECT['clubs #REF has membership in', '#1']", "AGGREGATE['count', '#2']"] |
SPIDER_train_4268 | Find the number of clubs where "Tracy Kim" is a member. | return clubs ;return members of #1 ;return #1 where #2 is Tracy Kim ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Tracy Kim']", "AGGREGATE['count', '#3']"] |
SPIDER_train_4269 | For how many clubs is "Tracy Kim" a member? | return clubs ;return members of #1 ;return #1 where #2 is Tracy Kim ;return number of #3 | ['select', 'project', 'comparative', 'aggregate'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "COMPARATIVE['#1', '#2', 'is Tracy Kim']", "AGGREGATE['count', '#3']"] |
SPIDER_train_427 | Show names for all employees who have certificates on both Boeing 737-800 and Airbus A340-300. | return employees ;return #1 that have certificates for Boeing 737-800 ;return #1 that have certificates for Airbus A340-300 ;return #1 of both #2 and #3 | ['select', 'filter', 'filter', 'intersection'] | train | ["SELECT['employees']", "FILTER['#1', 'that have certificates for Boeing 737-800']", "FILTER['#1', 'that have certificates for Airbus A340-300']", "INTERSECTION['#1', '#2', '#3']"] |
SPIDER_train_4270 | Find all the female members of club "Bootup Baltimore". Show the first name and last name. | return all the members of club Bootup Baltimore ;return female members from #1 ;return #2 . Show the first name and last name | ['select', 'project', 'filter'] | train | ["SELECT['all the members of club Bootup Baltimore']", "PROJECT['female members from #REF', '#1']", "FILTER['#2', '. Show the first name and last name']"] |
SPIDER_train_4271 | Give me the first name and last name for all the female members of the club "Bootup Baltimore". | return clubs ;return members of #1 ;return #2 where #1 is Bootup Baltimore ;return female #3 ;return first names of #4 ;return last names of #4 ;return #5 , #6 | ['select', 'project', 'comparative', 'project', 'project', 'project', 'union'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Bootup Baltimore']", "PROJECT['female #REF', '#3']", "PROJECT['first names of #REF', '#4']", "PROJECT['last names of #REF', '#4']", "UNION['#5', '#6']"] |
SPIDER_train_4272 | Find all the male members of club "Hopkins Student Enterprises". Show the first name and last name. | return club Hopkins Student Enterprises ;return members of #1 ;return #2 that are male ;return first names of #3 ;return last names of #3 ;return #4 , #5 | ['select', 'project', 'filter', 'project', 'project', 'union'] | train | ["SELECT['club Hopkins Student Enterprises']", "PROJECT['members of #REF', '#1']", "FILTER['#2', 'that are male']", "PROJECT['first names of #REF', '#3']", "PROJECT['last names of #REF', '#3']", "UNION['#4', '#5']"] |
SPIDER_train_4273 | What are the first name and last name of each male member in club "Hopkins Student Enterprises"? | return clubs ;return members of #1 ;return #2 where #1 is Hopkins Student Enterprises ;return male #3 ;return first names of #4 ;return last names of #4 ;return #5 , #6 | ['select', 'project', 'comparative', 'project', 'project', 'project', 'union'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Hopkins Student Enterprises']", "PROJECT['male #REF', '#3']", "PROJECT['first names of #REF', '#4']", "PROJECT['last names of #REF', '#4']", "UNION['#5', '#6']"] |
SPIDER_train_4274 | Find all members of "Bootup Baltimore" whose major is "600". Show the first name and last name. | return Bootup Baltimore ;return members of #1 ;return major of #2 ;return #2 where #3 is 600 ;return first names of #4 ;return last names of #4 ;return #5 , #6 | ['select', 'project', 'project', 'comparative', 'project', 'project', 'union'] | train | ["SELECT['Bootup Baltimore']", "PROJECT['members of #REF', '#1']", "PROJECT['major of #REF', '#2']", "COMPARATIVE['#2', '#3', 'is 600']", "PROJECT['first names of #REF', '#4']", "PROJECT['last names of #REF', '#4']", "UNION['#5', '#6']"] |
SPIDER_train_4275 | Which members of "Bootup Baltimore" major in "600"? Give me their first names and last names. | return members ;return #1 of Bootup Baltimore ;return #2 major in 600 ;return first names of #3 ;return last names of #3 ;return #4 , #5 | ['select', 'filter', 'filter', 'project', 'project', 'union'] | train | ["SELECT['members']", "FILTER['#1', 'of Bootup Baltimore']", "FILTER['#2', 'major in 600']", "PROJECT['first names of #REF', '#3']", "PROJECT['last names of #REF', '#3']", "UNION['#4', '#5']"] |
SPIDER_train_4276 | Which club has the most members majoring in "600"? | return clubs ;return members of #1 ;return #2 majoring in 600 ;return number of #3 for each #1 ;return #1 where #4 is highest | ['select', 'project', 'filter', 'group', 'superlative'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "FILTER['#2', 'majoring in 600']", "GROUP['count', '#3', '#1']", "SUPERLATIVE['max', '#1', '#4']"] |
SPIDER_train_4277 | Find the club which has the largest number of members majoring in "600". | return clubs ;return members of #1 ;return #2 majoring in 600 ;return number of #3 for each #1 ;return #1 where #4 is largest | ['select', 'project', 'filter', 'group', 'superlative'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "FILTER['#2', 'majoring in 600']", "GROUP['count', '#3', '#1']", "SUPERLATIVE['max', '#1', '#4']"] |
SPIDER_train_4278 | Find the name of the club that has the most female students. | return clubs ;return students of #1 ;return female #2 ;return number of #3 for each #1 ;return #1 where #4 is highest ;return name of #5 | ['select', 'project', 'project', 'group', 'superlative', 'project'] | train | ["SELECT['clubs']", "PROJECT['students of #REF', '#1']", "PROJECT['female #REF', '#2']", "GROUP['count', '#3', '#1']", "SUPERLATIVE['max', '#1', '#4']", "PROJECT['name of #REF', '#5']"] |
SPIDER_train_4279 | Which club has the most female students as their members? Give me the name of the club. | return clubs ;return members of #1 ;return #2 that are female students ;return number of #3 for each #1 ;return #1 where #4 is highest ;return name of #5 | ['select', 'project', 'filter', 'group', 'superlative', 'project'] | train | ["SELECT['clubs']", "PROJECT['members of #REF', '#1']", "FILTER['#2', 'that are female students']", "GROUP['count', '#3', '#1']", "SUPERLATIVE['max', '#1', '#4']", "PROJECT['name of #REF', '#5']"] |
SPIDER_train_428 | What are the names of all employees who can fly both the Boeing 737-800 and the Airbus A340-300? | return employees ;return #1 who can fly the Boeing 737-800 ;return #1 who can fly the Airbus A340-300 ;return #1 in both #2 and #3 ;return names of #4 | ['select', 'filter', 'filter', 'intersection', 'project'] | train | ["SELECT['employees']", "FILTER['#1', 'who can fly the Boeing 737-800']", "FILTER['#1', 'who can fly the Airbus A340-300']", "INTERSECTION['#1', '#2', '#3']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_4280 | What is the description of the club named "Tennis Club"? | return clubs ;return #1 named Tennis Club ;return description of #2 | ['select', 'filter', 'project'] | train | ["SELECT['clubs']", "FILTER['#1', 'named Tennis Club']", "PROJECT['description of #REF', '#2']"] |
SPIDER_train_4281 | Find the description of the club called "Tennis Club". | return clubs ;return #1 called Tennis Club ;return description of #2 | ['select', 'filter', 'project'] | train | ["SELECT['clubs']", "FILTER['#1', 'called Tennis Club']", "PROJECT['description of #REF', '#2']"] |
SPIDER_train_4282 | Find the description of the club "Pen and Paper Gaming". | return club Pen and Paper Gaming ;return the description of the #1 | ['select', 'project'] | train | ["SELECT['club Pen and Paper Gaming']", "PROJECT['the description of the #REF', '#1']"] |
SPIDER_train_4283 | What is the description of the club "Pen and Paper Gaming"? | return Pen and Paper Gaming ;return description of #1 | ['select', 'project'] | train | ["SELECT['Pen and Paper Gaming']", "PROJECT['description of #REF', '#1']"] |
SPIDER_train_4284 | What is the location of the club named "Tennis Club"? | return clubs ;return #1 named Tennis Club ;return the location of #2 | ['select', 'filter', 'project'] | train | ["SELECT['clubs']", "FILTER['#1', 'named Tennis Club']", "PROJECT['the location of #REF', '#2']"] |
SPIDER_train_4285 | Where us the club named "Tennis Club" located? | return Tennis Club ;return where is #1 located | ['select', 'project'] | train | ["SELECT['Tennis Club']", "PROJECT['where is #REF located', '#1']"] |
SPIDER_train_4286 | Find the location of the club "Pen and Paper Gaming". | return clubs ;return locations of #1 ;return #2 where #1 is Pen and Paper Gaming | ['select', 'project', 'comparative'] | train | ["SELECT['clubs']", "PROJECT['locations of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Pen and Paper Gaming']"] |
SPIDER_train_4287 | Where is the club "Pen and Paper Gaming" located? | return club Pen and Paper Gaming ;return where is #1 located | ['select', 'project'] | train | ["SELECT['club Pen and Paper Gaming']", "PROJECT['where is #REF located', '#1']"] |
SPIDER_train_4288 | Where is the club "Hopkins Student Enterprises" located? | return Hopkins Student Enterprises ;return where is #1 located | ['select', 'project'] | train | ["SELECT['Hopkins Student Enterprises']", "PROJECT['where is #REF located', '#1']"] |
SPIDER_train_4289 | Tell me the location of the club "Hopkins Student Enterprises". | return clubs ;return locations of #1 ;return #2 where #1 is Hopkins Student Enterprises | ['select', 'project', 'comparative'] | train | ["SELECT['clubs']", "PROJECT['locations of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Hopkins Student Enterprises']"] |
SPIDER_train_429 | Show names for all employees who do not have certificate of Boeing 737-800. | return employees ;return certificates of #1 ;return #1 where Boeing 737-800 is in #2 ;return #1 besides #3 ;return names of #4 | ['select', 'project', 'comparative', 'discard', 'project'] | train | ["SELECT['employees']", "PROJECT['certificates of #REF', '#1']", "COMPARATIVE['#1', '#2', '']", "DISCARD['#1', '#3']", "PROJECT['names of #REF', '#4']"] |
SPIDER_train_4290 | Find the name of all the clubs at "AKW". | return AKW ;return clubs of #1 ;return names of #2 | ['select', 'project', 'project'] | train | ["SELECT['AKW']", "PROJECT['clubs of #REF', '#1']", "PROJECT['names of #REF', '#2']"] |
SPIDER_train_4291 | Which clubs are located at "AKW"? Return the club names. | return AKW ;return clubs located at #1 ;return names of #2 | ['select', 'project', 'project'] | train | ["SELECT['AKW']", "PROJECT['clubs located at #REF', '#1']", "PROJECT['names of #REF', '#2']"] |
SPIDER_train_4292 | How many clubs are located at "HHH"? | return clubs ;return #1 located at HHH ;return number of #2 | ['select', 'filter', 'aggregate'] | train | ["SELECT['clubs']", "FILTER['#1', 'located at HHH']", "AGGREGATE['count', '#2']"] |
SPIDER_train_4293 | Count the number of clubs located at "HHH". | return HHH ;return clubs located at #1 ;return number of #2 | ['select', 'project', 'aggregate'] | train | ["SELECT['HHH']", "PROJECT['clubs located at #REF', '#1']", "AGGREGATE['count', '#2']"] |
SPIDER_train_4294 | What are the first and last name of the president of the club "Bootup Baltimore"? | return clubs ;return presidents of #1 ;return #2 where #1 is Bootup Baltimore ;return first name of #3 ;return last name of #3 ;return #4 , #5 | ['select', 'project', 'comparative', 'project', 'project', 'union'] | train | ["SELECT['clubs']", "PROJECT['presidents of #REF', '#1']", "COMPARATIVE['#2', '#1', 'is Bootup Baltimore']", "PROJECT['first name of #REF', '#3']", "PROJECT['last name of #REF', '#3']", "UNION['#4', '#5']"] |
SPIDER_train_4295 | Who is the president of the club "Bootup Baltimore"? Give me the first and last name. | return the club Bootup Baltimore ;return the president of #1 ;return the first name of #2 ;return the last name of #2 ;return #3 , #4 | ['select', 'project', 'project', 'project', 'union'] | train | ["SELECT['the club Bootup Baltimore']", "PROJECT['the president of #REF', '#1']", "PROJECT['the first name of #REF', '#2']", "PROJECT['the last name of #REF', '#2']", "UNION['#3', '#4']"] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.