SpiderQuestion
stringlengths
16
224
query
stringlengths
18
577
SpiderSynQuestion
stringlengths
19
222
db_id
stringlengths
4
31
What is the id for the employee called Ebba?
SELECT employee_ID FROM Employees WHERE employee_name = "Ebba"
What is the id for the staff called Ebba?
cre_Doc_Tracking_DB
Show the id of the employee named Ebba.
SELECT employee_ID FROM Employees WHERE employee_name = "Ebba"
Show the id of the staff named Ebba.
cre_Doc_Tracking_DB
Show the names of all the employees with role "HR".
SELECT employee_name FROM Employees WHERE role_code = "HR"
Show the names of all the staffs with role "HR".
cre_Doc_Tracking_DB
Which employees have the role with code "HR"? Find their names.
SELECT employee_name FROM Employees WHERE role_code = "HR"
Which staffs have the role with code "HR"? Find their names.
cre_Doc_Tracking_DB
Show all role codes and the number of employees in each role.
SELECT role_code , count(*) FROM Employees GROUP BY role_code
Show all role codes and the number of staffs in each role.
cre_Doc_Tracking_DB
What is the code of each role and the number of employees in each role?
SELECT role_code , count(*) FROM Employees GROUP BY role_code
What is the code of each role and the number of staffs in each role?
cre_Doc_Tracking_DB
What is the role code with the largest number of employees?
SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1
What is the role code with the largest number of staffs?
cre_Doc_Tracking_DB
Find the code of the role that have the most employees.
SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1
Find the code of the role that have the most staffs.
cre_Doc_Tracking_DB
Show all role codes with at least 3 employees.
SELECT role_code FROM Employees GROUP BY role_code HAVING count(*) >= 3
Show all role codes with at least 3 staffs.
cre_Doc_Tracking_DB
What are the roles with three or more employees? Give me the role codes.
SELECT role_code FROM Employees GROUP BY role_code HAVING count(*) >= 3
What are the roles with three or more staffs? Give me the role codes.
cre_Doc_Tracking_DB
Show the role code with the least employees.
SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1
Show the role code with the least staffs.
cre_Doc_Tracking_DB
What is the role with the smallest number of employees? Find the role codes.
SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1
What is the role with the smallest number of staffs? Find the role codes.
cre_Doc_Tracking_DB
What is the role name and role description for employee called Ebba?
SELECT T2.role_name , T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = "Ebba"
What is the role name and role describing content for staff called Ebba?
cre_Doc_Tracking_DB
Show the name and description of the role played by the employee named Ebba.
SELECT T2.role_name , T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = "Ebba"
Show the name and describing content of the role played by the staff named Ebba.
cre_Doc_Tracking_DB
Show the names of employees with role name Editor.
SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Editor"
Show the names of staffs with role name Editor.
cre_Doc_Tracking_DB
Find the names of all the employees whose the role name is "Editor".
SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Editor"
Find the names of all the staffs whose the role name is "Editor".
cre_Doc_Tracking_DB
Show the employee ids for all employees with role name "Human Resource" or "Manager".
SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager"
Show the staff ids for all staffs with role name "Human Resource" or "Manager".
cre_Doc_Tracking_DB
What are the employee ids of the employees whose role name is "Human Resource" or "Manager"?
SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager"
What are the staff ids of the staffs whose role name is "Human Resource" or "Manager"?
cre_Doc_Tracking_DB
What are the different location codes for documents?
SELECT DISTINCT location_code FROM Document_locations
What are the different city codes for files?
cre_Doc_Tracking_DB
Give me all the distinct location codes for documents.
SELECT DISTINCT location_code FROM Document_locations
Give me all the different city codes for files.
cre_Doc_Tracking_DB
Show the location name for document "Robin CV".
SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id = T2.document_id JOIN Ref_locations AS T3 ON T2.location_code = T3.location_code WHERE T1.document_name = "Robin CV"
Show the city name for file "Robin CV".
cre_Doc_Tracking_DB
What is the location name of the document "Robin CV"?
SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id = T2.document_id JOIN Ref_locations AS T3 ON T2.location_code = T3.location_code WHERE T1.document_name = "Robin CV"
What is the city name of the file "Robin CV"?
cre_Doc_Tracking_DB
Show the location code, the starting date and ending data in that location for all the documents.
SELECT location_code , date_in_location_from , date_in_locaton_to FROM Document_locations
Show the city code, the starting day and ending data in that city for all the files.
cre_Doc_Tracking_DB
What are each document's location code, and starting date and ending data in that location?
SELECT location_code , date_in_location_from , date_in_locaton_to FROM Document_locations
What are each document's city code, and starting day and ending data in that city?
cre_Doc_Tracking_DB
What is "the date in location from" and "the date in location to" for the document with name "Robin CV"?
SELECT T1.date_in_location_from , T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV"
What is "the date in city from" and "the date in city to" for the document with name "Robin CV"?
cre_Doc_Tracking_DB
Find the starting date and ending data in location for the document named "Robin CV".
SELECT T1.date_in_location_from , T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV"
Find the starting day and ending data in city for the document named "Robin CV".
cre_Doc_Tracking_DB
Show the location codes and the number of documents in each location.
SELECT location_code , count(*) FROM Document_locations GROUP BY location_code
Show the city codes and the number of documents in each city.
cre_Doc_Tracking_DB
What is the code of each location and the number of documents in that location?
SELECT location_code , count(*) FROM Document_locations GROUP BY location_code
What is the code of each city and the number of documents in that city?
cre_Doc_Tracking_DB
What is the location code with the most documents?
SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1
What is the city code with the most files?
cre_Doc_Tracking_DB
Find the code of the location with the largest number of documents.
SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1
Find the code of the city with the largest number of files.
cre_Doc_Tracking_DB
Show the location codes with at least 3 documents.
SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*) >= 3
Show the city codes with at least 3 files.
cre_Doc_Tracking_DB
What are the codes of the locations with at least three documents?
SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*) >= 3
What are the codes of the cities with at least three files?
cre_Doc_Tracking_DB
Show the location name and code with the least documents.
SELECT T2.location_name , T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1
Show the city name and code with the least files.
cre_Doc_Tracking_DB
What are the name and code of the location with the smallest number of documents?
SELECT T2.location_name , T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1
What are the name and code of the city with the smallest number of files?
cre_Doc_Tracking_DB
What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?
SELECT T2.employee_name , T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;
What are the names of the staffs who authorised the destruction and the staffs who destroyed the corresponding documents?
cre_Doc_Tracking_DB
List the names of the employees who authorized the destruction of documents and the employees who destroyed the corresponding documents.
SELECT T2.employee_name , T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;
List the names of the staffs who authorized the destruction of documents and the staffs who destroyed the corresponding documents.
cre_Doc_Tracking_DB
Show the id of each employee and the number of document destruction authorised by that employee.
SELECT Destruction_Authorised_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID
Show the id of each staff and the number of document destruction authorised by that staff.
cre_Doc_Tracking_DB
What are the id of each employee and the number of document destruction authorised by that employee?
SELECT Destruction_Authorised_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID
What are the id of each staff and the number of document destruction authorised by that staff?
cre_Doc_Tracking_DB
Show the employee ids and the number of documents destroyed by each employee.
SELECT Destroyed_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID
Show the staff ids and the number of documents destroyed by each staff.
cre_Doc_Tracking_DB
What are the id of each employee and the number of document destroyed by that employee?
SELECT Destroyed_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID
What are the id of each staff and the number of document destroyed by that staff?
cre_Doc_Tracking_DB
Show the ids of the employees who don't authorize destruction for any document.
SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
Show the ids of the staffs who don't authorize destruction for any document.
cre_Doc_Tracking_DB
Which employees do not authorize destruction for any document? Give me their employee ids.
SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
Which staffs do not authorize destruction for any document? Give me their staff ids.
cre_Doc_Tracking_DB
Show the ids of all employees who have authorized destruction.
SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
Show the ids of all staffs who have authorized destruction.
cre_Doc_Tracking_DB
What are the ids of all the employees who authorize document destruction?
SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
What are the ids of all the staffs who authorize document destruction?
cre_Doc_Tracking_DB
Show the ids of all employees who have destroyed a document.
SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
Show the ids of all staffs who have destroyed a document.
cre_Doc_Tracking_DB
What are the ids of all the employees who have destroyed documents?
SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
What are the ids of all the staffs who have destroyed documents?
cre_Doc_Tracking_DB
Show the ids of all employees who don't destroy any document.
SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
Show the ids of all staffs who don't destroy any document.
cre_Doc_Tracking_DB
Which employees do not destroy any document? Find their employee ids.
SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
Which staff do not destroy any document? Find their staff ids.
cre_Doc_Tracking_DB
Show the ids of all employees who have either destroyed a document or made an authorization to do this.
SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
Show the ids of all staffs who have either destroyed a document or made an authorization to do this.
cre_Doc_Tracking_DB
Which employees have either destroyed a document or made an authorization to do so? Return their employee ids.
SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
Which staffs have either destroyed a document or made an authorization to do so? Return their staff ids.
cre_Doc_Tracking_DB
How many clubs are there?
SELECT count(*) FROM club
How many clubs are there?
club_1
Count the total number of clubs.
SELECT count(*) FROM club
Count the total number of clubs.
club_1
What are the names of all clubs?
SELECT clubname FROM club
What are the names of all clubs?
club_1
Give me the name of each club.
SELECT clubname FROM club
Give me the name of each club.
club_1
How many students are there?
SELECT count(*) FROM student
How many students are there?
club_1
Count the total number of students.
SELECT count(*) FROM student
Count the total number of students.
club_1
What are the first names of all the students?
SELECT DISTINCT fname FROM student
What are the forenames of all the students?
club_1
Find each student's first name.
SELECT DISTINCT fname FROM student
Find each student's forename.
club_1
Find the last names of the members of the club "Bootup Baltimore".
SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore"
Find the family names of the members of the club "Bootup Baltimore".
club_1
Who are the members of the club named "Bootup Baltimore"? Give me their last names.
SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore"
Who are the members of the club named "Bootup Baltimore"? Give me their family names.
club_1
Who are the members of the club named "Hopkins Student Enterprises"? Show the last name.
SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises"
Who are the members of the club named "Hopkins Student Enterprises"? Show the family name.
club_1
Return the last name for the members of the club named "Hopkins Student Enterprises".
SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises"
Return the family name for the members of the club named "Hopkins Student Enterprises".
club_1
How many members does the club "Tennis Club" has?
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club"
How many members does the club "Tennis Club" has?
club_1
Count the members of the club "Tennis Club".
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club"
Count the members of the club "Tennis Club".
club_1
Find the number of members of club "Pen and Paper Gaming".
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Pen and Paper Gaming"
Find the number of members of club "Pen and Paper Gaming".
club_1
How many people have membership in the club "Pen and Paper Gaming"?
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Pen and Paper Gaming"
How many people have membership in the club "Pen and Paper Gaming"?
club_1
How many clubs does "Linda Smith" belong to?
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Linda" AND t3.lname = "Smith"
How many clubs does "Linda Smith" belong to?
club_1
How many clubs does "Linda Smith" have membership for?
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Linda" AND t3.lname = "Smith"
How many clubs does "Linda Smith" have membership for?
club_1
Find the number of clubs where "Tracy Kim" is a member.
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Tracy" AND t3.lname = "Kim"
Find the number of clubs where "Tracy Kim" is a member.
club_1
For how many clubs is "Tracy Kim" a member?
SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Tracy" AND t3.lname = "Kim"
For how many clubs is "Tracy Kim" a member?
club_1
Find all the female members of club "Bootup Baltimore". Show the first name and last name.
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.sex = "F"
Find all the female members of club "Bootup Baltimore". Show the full name.
club_1
Give me the first name and last name for all the female members of the club "Bootup Baltimore".
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.sex = "F"
Give me the forename and family name for all the female members of the club "Bootup Baltimore".
club_1
Find all the male members of club "Hopkins Student Enterprises". Show the first name and last name.
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t3.sex = "M"
Find all the male members of club "Hopkins Student Enterprises". Show the forename and family name.
club_1
What are the first name and last name of each male member in club "Hopkins Student Enterprises"?
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t3.sex = "M"
What are the forename and family name of each male member in club "Hopkins Student Enterprises"?
club_1
Find all members of "Bootup Baltimore" whose major is "600". Show the first name and last name.
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.major = "600"
Find all members of "Bootup Baltimore" whose major is "600". Show the forename and family name.
club_1
Which members of "Bootup Baltimore" major in "600"? Give me their first names and last names.
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.major = "600"
Which members of "Bootup Baltimore" major in "600"? Give me their forename and family name.
club_1
Which club has the most members majoring in "600"?
SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.major = "600" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
Which club has the most members majoring in "600"?
club_1
Find the club which has the largest number of members majoring in "600".
SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.major = "600" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
Find the club which has the largest number of members majoring in "600".
club_1
Find the name of the club that has the most female students.
SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = "F" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
Find the name of the club that has the most female students.
club_1
Which club has the most female students as their members? Give me the name of the club.
SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = "F" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1
Which club has the most female students as their members? Give me the name of the club.
club_1
What is the description of the club named "Tennis Club"?
SELECT clubdesc FROM club WHERE clubname = "Tennis Club"
What is the describing content of the club named "Tennis Club"?
club_1
Find the description of the club called "Tennis Club".
SELECT clubdesc FROM club WHERE clubname = "Tennis Club"
Find the describing content of the club called "Tennis Club".
club_1
Find the description of the club "Pen and Paper Gaming".
SELECT clubdesc FROM club WHERE clubname = "Pen and Paper Gaming"
Find the describing content of the club "Pen and Paper Gaming".
club_1
What is the description of the club "Pen and Paper Gaming"?
SELECT clubdesc FROM club WHERE clubname = "Pen and Paper Gaming"
What is the describing content of the club "Pen and Paper Gaming"?
club_1
What is the location of the club named "Tennis Club"?
SELECT clublocation FROM club WHERE clubname = "Tennis Club"
What is the location of the club named "Tennis Club"?
club_1
Where us the club named "Tennis Club" located?
SELECT clublocation FROM club WHERE clubname = "Tennis Club"
Where us the club named "Tennis Club" located?
club_1
Find the location of the club "Pen and Paper Gaming".
SELECT clublocation FROM club WHERE clubname = "Pen and Paper Gaming"
Find the location of the club "Pen and Paper Gaming".
club_1
Where is the club "Pen and Paper Gaming" located?
SELECT clublocation FROM club WHERE clubname = "Pen and Paper Gaming"
Where is the club "Pen and Paper Gaming" located?
club_1
Where is the club "Hopkins Student Enterprises" located?
SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises"
Where is the club "Hopkins Student Enterprises" located?
club_1
Tell me the location of the club "Hopkins Student Enterprises".
SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises"
Tell me the location of the club "Hopkins Student Enterprises".
club_1
Find the name of all the clubs at "AKW".
SELECT clubname FROM club WHERE clublocation = "AKW"
Find the name of all the clubs at "AKW".
club_1
Which clubs are located at "AKW"? Return the club names.
SELECT clubname FROM club WHERE clublocation = "AKW"
Which clubs are located at "AKW"? Return the club names.
club_1
How many clubs are located at "HHH"?
SELECT count(*) FROM club WHERE clublocation = "HHH"
How many clubs are located at "HHH"?
club_1
Count the number of clubs located at "HHH".
SELECT count(*) FROM club WHERE clublocation = "HHH"
Count the number of clubs located at "HHH".
club_1
What are the first and last name of the president of the club "Bootup Baltimore"?
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President"
What are the forename and family name of the president of the club "Bootup Baltimore"?
club_1
Who is the president of the club "Bootup Baltimore"? Give me the first and last name.
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President"
Who is the president of the club "Bootup Baltimore"? Give me the forename and family name.
club_1
Who is the "CTO" of club "Hopkins Student Enterprises"? Show the first name and last name.
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t2.position = "CTO"
Who is the "CTO" of club "Hopkins Student Enterprises"? Show the forename and family name.
club_1
Find the first name and last name for the "CTO" of the club "Hopkins Student Enterprises"?
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t2.position = "CTO"
Find the forename and family name for the "CTO" of the club "Hopkins Student Enterprises"?
club_1
How many different roles are there in the club "Bootup Baltimore"?
SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore"
How many different roles are there in the club "Bootup Baltimore"?
club_1
Count the number of different positions in the club "Bootup Baltimore".
SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore"
Count the number of different positions in the club "Bootup Baltimore".
club_1