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

Convert text to sql: How many colleges in total? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ | select count ( * ) from college
### Instruction:

Convert text to sql: How many different colleges are there? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ | select count ( * ) from college
### Instruction:

Convert text to sql: How many players have more than 1000 hours of training? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from player where hs > 1000
### Instruction:

Convert text to sql: How many different players trained for more than 1000 hours? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from player where hs > 1000
### Instruction:

Convert text to sql: How many colleges has more than 15000 students? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from college where enr > 15000
### Instruction:

Convert text to sql: What is the number of colleges with a student population greater than 15000? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from college where enr > 15000
### Instruction:

Convert text to sql: What is the average training hours of all players? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select avg ( _ ) from _ | select avg ( hs ) from player
### Instruction:

Convert text to sql: How many hours do the players train on average? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select avg ( _ ) from _ | select avg ( hs ) from player
### Instruction:

Convert text to sql: Find the name and training hours of players whose hours are below 1500. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select pname , hs from player where hs < 1500
### Instruction:

Convert text to sql: What are the names and number of hours spent training for each player who trains for less than 1500 hours? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select pname , hs from player where hs < 1500
### Instruction:

Convert text to sql: How many different colleges do attend the tryout test? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( distinct _ ) from _ | select count ( distinct cname ) from tryout
### Instruction:

Convert text to sql: How many different colleges were represented at tryouts? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( distinct _ ) from _ | select count ( distinct cname ) from tryout
### Instruction:

Convert text to sql: What are the unique types of player positions in the tryout? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( distinct _ ) from _ | select count ( distinct ppos ) from tryout
### Instruction:

Convert text to sql: What are the different types of player positions? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( distinct _ ) from _ | select count ( distinct ppos ) from tryout
### Instruction:

Convert text to sql: How many students got accepted after the tryout? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from tryout where decision = 'yes'
### Instruction:

Convert text to sql: How many students received a yes from tryouts? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from tryout where decision = 'yes'
### Instruction:

Convert text to sql: How many students whose are playing the role of goalie? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from tryout where ppos = 'goalie'
### Instruction:

Convert text to sql: What is the number of students playing as a goalie? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) from _ where _ | select count ( * ) from tryout where ppos = 'goalie'
### Instruction:

Convert text to sql: Find the max, average and min training hours of all players. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select avg ( _ ) , max ( _ ) , min ( _ ) from _ | select avg ( hs ) , max ( hs ) , min ( hs ) from player
### Instruction:

Convert text to sql: What is the average, maximum, and minimum for the number of hours spent training? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select avg ( _ ) , max ( _ ) , min ( _ ) from _ | select avg ( hs ) , max ( hs ) , min ( hs ) from player
### Instruction:

Convert text to sql: What is average enrollment of colleges in the state FL? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select avg ( _ ) from _ where _ | select avg ( enr ) from college where state = 'FL'
### Instruction:

Convert text to sql: What is average number of students enrolled in Florida colleges? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select avg ( _ ) from _ where _ | select avg ( enr ) from college where state = 'FL'
### Instruction:

Convert text to sql: What are the names of players whose training hours is between 500 and 1500? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ between _ and _ | select pname from player where hs between 500 and 1500
### Instruction:

Convert text to sql: What are the names of players who train between 500 and 1500 hours? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ between _ and _ | select pname from player where hs between 500 and 1500
### Instruction:

Convert text to sql: Find the players whose names contain letter 'a'. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ where _ like _ | select distinct pname from player where pname like '%a%'
### Instruction:

Convert text to sql: Who are the players that have names containing the letter a? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ where _ like _ | select distinct pname from player where pname like '%a%'
### Instruction:

Convert text to sql: Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select cname , enr from college where enr > 10000 and state = 'LA'
### Instruction:

Convert text to sql: What are the names and enrollment numbers for colleges that have more than 10000 enrolled and are located in Louisiana? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select cname , enr from college where enr > 10000 and state = 'LA'
### Instruction:

Convert text to sql: List all information about college sorted by enrollment number in the ascending order. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ order by _ asc | select * from college order by enr asc
### Instruction:

Convert text to sql: What information do you have on colleges sorted by increasing enrollment numbers? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ order by _ asc | select * from college order by enr asc
### Instruction:

Convert text to sql: List the name of the colleges whose enrollment is greater 18000 sorted by the college's name. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ order by _ asc | select cname from college where enr > 18000 order by cname asc
### Instruction:

Convert text to sql: What is the name of every college in alphabetical order that has more than 18000 students enrolled? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ order by _ asc | select cname from college where enr > 18000 order by cname asc
### Instruction:

Convert text to sql: Find the name of players whose card is yes in the descending order of training hours. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ order by _ desc | select pname from player where ycard = 'yes' order by hs desc
### Instruction:

Convert text to sql: What are the name of the players who received a card in descending order of the hours of training? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ order by _ desc | select pname from player where ycard = 'yes' order by hs desc
### Instruction:

Convert text to sql: Find the name of different colleges involved in the tryout in alphabetical order. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ order by _ asc | select distinct cname from tryout order by cname asc
### Instruction:

Convert text to sql: What are the different names of the colleges involved in the tryout in alphabetical order? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ order by _ asc | select distinct cname from tryout order by cname asc
### Instruction:

Convert text to sql: Which position is most popular among players in the tryout? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select ppos from tryout group by ppos order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: What was the most popular position at tryouts? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select ppos from tryout group by ppos order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: Find the number of students who participate in the tryout for each college ordered by descending count. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) , _ from _ group by _ order by count ( _ ) desc | select count ( * ) , cname from tryout group by cname order by count ( * ) desc
### Instruction:

Convert text to sql: How many students participated in tryouts for each college by descennding count? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select count ( _ ) , _ from _ group by _ order by count ( _ ) desc | select count ( * ) , cname from tryout group by cname order by count ( * ) desc
### Instruction:

Convert text to sql: What is minimum hours of the students playing in different position? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select min ( _ ) , _ from _ group by _ | select min ( player.hs ) , tryout.ppos from tryout join player on tryout.pid = player.pid group by tryout.ppos
### Instruction:

Convert text to sql: For each position, what is the minimum time students spent practicing? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select min ( _ ) , _ from _ group by _ | select min ( player.hs ) , tryout.ppos from tryout join player on tryout.pid = player.pid group by tryout.ppos
### Instruction:

Convert text to sql: What are the names of schools with the top 3 largest size? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ order by _ desc limit _ | select cname from college order by enr desc limit 3
### Instruction:

Convert text to sql: What are the names of the schools with the top 3 largest class sizes? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ order by _ desc limit _ | select cname from college order by enr desc limit 3
### Instruction:

Convert text to sql: What is the name of school that has the smallest enrollment in each state? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ , min ( _ ) from _ group by _ | select cname , state , min ( enr ) from college group by state
### Instruction:

Convert text to sql: What is the name of the school with smallest enrollment size per state? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ , min ( _ ) from _ group by _ | select cname , state , min ( enr ) from college group by state
### Instruction:

Convert text to sql: Find the states where have some college students in tryout. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ | select distinct state from college join tryout on college.cname = tryout.cname
### Instruction:

Convert text to sql: What are the different states that have students trying out? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ | select distinct state from college join tryout on college.cname = tryout.cname
### Instruction:

Convert text to sql: Find the states where have some college students in tryout and their decisions are yes. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ where _ | select distinct college.state from college join tryout on college.cname = tryout.cname where tryout.decision = 'yes'
### Instruction:

Convert text to sql: What are the different states that had students successfully try out? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select distinct _ from _ where _ | select distinct college.state from college join tryout on college.cname = tryout.cname where tryout.decision = 'yes'
### Instruction:

Convert text to sql: Find the name and college of students whose decisions are yes in the tryout. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select player.pname , tryout.cname from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes'
### Instruction:

Convert text to sql: What are the names of all the players who received a yes during tryouts, and also what are the names of their colleges? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select player.pname , tryout.cname from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes'
### Instruction:

Convert text to sql: Find the name of all students who were in the tryout sorted in alphabetic order. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ order by _ asc | select player.pname from player join tryout on player.pid = tryout.pid order by player.pname asc
### Instruction:

Convert text to sql: What are the names of all students who tried out in alphabetical order? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ order by _ asc | select player.pname from player join tryout on player.pid = tryout.pid order by player.pname asc
### Instruction:

Convert text to sql: Find the name and hours of the students whose tryout decision is yes. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select player.pname , player.hs from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes'
### Instruction:

Convert text to sql: What are the names and hours spent practicing of every student who received a yes at tryouts? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select player.pname , player.hs from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes'
### Instruction:

Convert text to sql: Find the states of the colleges that have students in the tryout who played in striker position. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'striker'
### Instruction:

Convert text to sql: What are the states of the colleges where students who tried out for the striker position attend? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'striker'
### Instruction:

Convert text to sql: Find the names of the students who are in the position of striker and got a yes tryout decision. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select player.pname from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' and tryout.ppos = 'striker'
### Instruction:

Convert text to sql: What are the names of all students who successfully tried out for the position of striker? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid | 

### Response:

select _ from _ where _ | select player.pname from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' and tryout.ppos = 'striker'