richardr1126/spider-context-instruct huggingface dataset:
### Instruction:

Convert text to sql: How many clubs are there? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club

### Instruction:

Convert text to sql: Count the total number of clubs. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club

### Instruction:

Convert text to sql: What are the names of all clubs? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubname from club

### Instruction:

Convert text to sql: Give me the name of each club. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubname from club

### Instruction:

Convert text to sql: How many students are there? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from student

### Instruction:

Convert text to sql: Count the total number of students. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from student

### Instruction:

Convert text to sql: What are the first names of all the students? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select distinct fname from student

### Instruction:

Convert text to sql: Find each student's first name. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select distinct fname from student
### Instruction:

Convert text to sql: Find the last names of the members of the club "Bootup Baltimore". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore'

### Instruction:

Convert text to sql: Who are the members of the club named "Bootup Baltimore"? Give me their last names. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore'

### Instruction:

Convert text to sql: Who are the members of the club named "Hopkins Student Enterprises"? Show the last name. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Hopkins Student Enterprises'

### Instruction:

Convert text to sql: Return the last name for the members of the club named "Hopkins Student Enterprises". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Hopkins Student Enterprises'

### Instruction:

Convert text to sql: How many members does the club "Tennis Club" has? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Tennis Club'
### Instruction:

Convert text to sql: Count the members of the club "Tennis Club". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Tennis Club'

### Instruction:

Convert text to sql: Find the number of members of club "Pen and Paper Gaming". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Pen and Paper Gaming'

### Instruction:

Convert text to sql: How many people have membership in the club "Pen and Paper Gaming"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Pen and Paper Gaming'

### Instruction:

Convert text to sql: How many clubs does "Linda Smith" belong to? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.fname = 'Linda' and student.lname = 'Smith'

### Instruction:

Convert text to sql: How many clubs does "Linda Smith" have membership for? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.fname = 'Linda' and student.lname = 'Smith'
### Instruction:

Convert text to sql: Find the number of clubs where "Tracy Kim" is a member. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.fname = 'Tracy' and student.lname = 'Kim'

### Instruction:

Convert text to sql: For how many clubs is "Tracy Kim" a member? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.fname = 'Tracy' and student.lname = 'Kim'

### Instruction:

Convert text to sql: Find all the female members of club "Bootup Baltimore". Show the first name and last name. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore' and student.sex = 'F'

### Instruction:

Convert text to sql: Give me the first name and last name for all the female members of the club "Bootup Baltimore". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore' and student.sex = 'F'

### Instruction:

Convert text to sql: Find all the male members of club "Hopkins Student Enterprises". Show the first name and last name. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Hopkins Student Enterprises' and student.sex = 'M'
### Instruction:

Convert text to sql: What are the first name and last name of each male member in club "Hopkins Student Enterprises"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Hopkins Student Enterprises' and student.sex = 'M'

### Instruction:

Convert text to sql: Find all members of "Bootup Baltimore" whose major is "600". Show the first name and last name. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore' and student.major = '600'

### Instruction:

Convert text to sql: Which members of "Bootup Baltimore" major in "600"? Give me their first names and last names. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore' and student.major = '600'

### Instruction:

Convert text to sql: Which club has the most members majoring in "600"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select club.clubname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.major = '600' group by club.clubname order by count ( * ) desc limit 1

### Instruction:

Convert text to sql: Find the club which has the largest number of members majoring in "600". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select club.clubname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.major = '600' group by club.clubname order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: Find the name of the club that has the most female students. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select club.clubname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.sex = 'F' group by club.clubname order by count ( * ) desc limit 1

### Instruction:

Convert text to sql: Which club has the most female students as their members? Give me the name of the club. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select club.clubname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where student.sex = 'F' group by club.clubname order by count ( * ) desc limit 1

### Instruction:

Convert text to sql: What is the description of the club named "Tennis Club"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubdesc from club where clubname = 'Tennis Club'

### Instruction:

Convert text to sql: Find the description of the club called "Tennis Club". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubdesc from club where clubname = 'Tennis Club'

### Instruction:

Convert text to sql: Find the description of the club "Pen and Paper Gaming". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubdesc from club where clubname = 'Pen and Paper Gaming'

### Instruction:

Convert text to sql: What is the description of the club "Pen and Paper Gaming"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubdesc from club where clubname = 'Pen and Paper Gaming'
### Instruction:

Convert text to sql: What is the location of the club named "Tennis Club"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clublocation from club where clubname = 'Tennis Club'

### Instruction:

Convert text to sql: Where us the club named "Tennis Club" located? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clublocation from club where clubname = 'Tennis Club'

### Instruction:

Convert text to sql: Find the location of the club "Pen and Paper Gaming". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clublocation from club where clubname = 'Pen and Paper Gaming'

### Instruction:

Convert text to sql: Where is the club "Pen and Paper Gaming" located? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clublocation from club where clubname = 'Pen and Paper Gaming'

### Instruction:

Convert text to sql: Where is the club "Hopkins Student Enterprises" located? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clublocation from club where clubname = 'Hopkins Student Enterprises'

### Instruction:

Convert text to sql: Tell me the location of the club "Hopkins Student Enterprises". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clublocation from club where clubname = 'Hopkins Student Enterprises'

### Instruction:

Convert text to sql: Find the name of all the clubs at "AKW". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubname from club where clublocation = 'AKW'
### Instruction:

Convert text to sql: Which clubs are located at "AKW"? Return the club names. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select clubname from club where clublocation = 'AKW'

### Instruction:

Convert text to sql: How many clubs are located at "HHH"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club where clublocation = 'HHH'

### Instruction:

Convert text to sql: Count the number of clubs located at "HHH". | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select count ( * ) from club where clublocation = 'HHH'

### Instruction:

Convert text to sql: What are the first and last name of the president of the club "Bootup Baltimore"? | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore' and member_of_club.position = 'President'

### Instruction:

Convert text to sql: Who is the president of the club "Bootup Baltimore"? Give me the first and last name. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Bootup Baltimore' and member_of_club.position = 'President'

### Instruction:

Convert text to sql: Who is the "CTO" of club "Hopkins Student Enterprises"? Show the first name and last name. | student : stuid , lname , fname , age , sex , major , advisor , city_code | club : clubid , clubname , clubdesc , clublocation | member_of_club : stuid , clubid , position | member_of_club.clubid = club.clubid | member_of_club.stuid = student.stuid | 

### Response:

select student.fname , student.lname from club join member_of_club on club.clubid = member_of_club.clubid join student on member_of_club.stuid = student.stuid where club.clubname = 'Hopkins Student Enterprises' and member_of_club.position = 'CTO'