richardr1126/spider-skeleton-context-instruct huggingface dataset:
### 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 _ from _ where _ group by _ order by count ( _ ) desc limit _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ where _ | 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 _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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 _ from _ where _ | 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'
### Instruction:

Convert text to sql: Find the first name and last name for the "CTO" 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 _ from _ where _ | 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'
### Instruction:

Convert text to sql: How many different roles are there in 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 count ( distinct _ ) from _ where _ | select count ( distinct member_of_club.position ) from club join member_of_club on club.clubid = member_of_club.clubid where club.clubname = 'Bootup Baltimore'
### Instruction:

Convert text to sql: Count the number of different positions in 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 count ( distinct _ ) from _ where _ | select count ( distinct member_of_club.position ) from club join member_of_club on club.clubid = member_of_club.clubid where club.clubname = 'Bootup Baltimore'
### Instruction:

Convert text to sql: How many members of "Bootup Baltimore" are older than 18? | 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 _ where _ | 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 = 'Bootup Baltimore' and student.age > 18
### Instruction:

Convert text to sql: Count the number of members in club "Bootup Baltimore" whose age is above 18. | 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 _ where _ | 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 = 'Bootup Baltimore' and student.age > 18
### Instruction:

Convert text to sql: How many members of club "Bootup Baltimore" are younger than 18? | 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 _ where _ | 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 = 'Bootup Baltimore' and student.age < 18
### Instruction:

Convert text to sql: Count the number of members in club "Bootup Baltimore" whose age is below 18. | 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 _ where _ | 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 = 'Bootup Baltimore' and student.age < 18
### Instruction:

Convert text to sql: Find the names of all the clubs that have at least a member from the city with city code "BAL". | 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 _ from _ where _ | select distinct 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.city_code = 'BAL'
### Instruction:

Convert text to sql: Which clubs have one or more members from the city with code "BAL"? Give me the names of the 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 distinct _ from _ where _ | select distinct 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.city_code = 'BAL'
### Instruction:

Convert text to sql: Find the names of the clubs that have at least a member from the city with city code "HOU". | 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 _ from _ where _ | select distinct 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.city_code = 'HOU'
### Instruction:

Convert text to sql: Which clubs have one or more members from the city with code "HOU"? Give me the names of the 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 distinct _ from _ where _ | select distinct 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.city_code = 'HOU'
### Instruction:

Convert text to sql: How many clubs does the student named "Eric Tai" 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 ( distinct _ ) from _ where _ | select count ( distinct 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.fname = 'Eric' and student.lname = 'Tai'
### Instruction:

Convert text to sql: Count the number of clubs for which the student named "Eric Tai" 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 ( distinct _ ) from _ where _ | select count ( distinct 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.fname = 'Eric' and student.lname = 'Tai'
### Instruction:

Convert text to sql: List the clubs having "Davis Steven" as 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 distinct _ from _ where _ | select distinct 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.fname = 'Davis' and student.lname = 'Steven'
### Instruction:

Convert text to sql: What are the names of the clubs that have "Davis Steven" as 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 distinct _ from _ where _ | select distinct 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.fname = 'Davis' and student.lname = 'Steven'
### Instruction:

Convert text to sql: List the clubs that have at least a member with advisor "1121". | 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 _ from _ where _ | select distinct 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.advisor = 1121
### Instruction:

Convert text to sql: Which clubs have one or more members whose advisor is "1121"? | 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 _ from _ where _ | select distinct 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.advisor = 1121
### Instruction:

Convert text to sql: What is the average age 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 avg ( _ ) from _ where _ | select avg ( student.age ) 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: Find the average age of the members in 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 avg ( _ ) from _ where _ | select avg ( student.age ) 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: Find the average age of members 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 avg ( _ ) from _ where _ | select avg ( student.age ) 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: On average, how old are the members in 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 avg ( _ ) from _ where _ | select avg ( student.age ) 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: Retrieve the average age of 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 avg ( _ ) from _ where _ | select avg ( student.age ) 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: Compute the average age of the members in 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 avg ( _ ) from _ where _ | select avg ( student.age ) 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'