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

Convert text to sql: What are the official languages of the countries of players from Maryland or Duke college? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ | select country.official_native_language from country join match_season on country.country_id = match_season.country where match_season.college = 'Maryland' or match_season.college = 'Duke'
### Instruction:

Convert text to sql: Return the official native languages of countries who have players from Maryland or Duke colleges. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ | select country.official_native_language from country join match_season on country.country_id = match_season.country where match_season.college = 'Maryland' or match_season.college = 'Duke'
### Instruction:

Convert text to sql: How many distinct official languages are there among countries of players whose positions are defenders. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select count ( distinct _ ) from _ where _ | select count ( distinct country.official_native_language ) from country join match_season on country.country_id = match_season.country where match_season.position = 'Defender'
### Instruction:

Convert text to sql: Count the number of different official languages corresponding to countries that players who play Defender are from. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select count ( distinct _ ) from _ where _ | select count ( distinct country.official_native_language ) from country join match_season on country.country_id = match_season.country where match_season.position = 'Defender'
### Instruction:

Convert text to sql: Show the season, the player, and the name of the team that players belong to. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ | select match_season.season , match_season.player , team.name from match_season join team on match_season.team = team.team_id
### Instruction:

Convert text to sql: Who are the different players, what season do they play in, and what is the name of the team they are on? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ | select match_season.season , match_season.player , team.name from match_season join team on match_season.team = team.team_id
### Instruction:

Convert text to sql: Show the positions of the players from the team with name "Ryley Goldner". | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ | select match_season.position from match_season join team on match_season.team = team.team_id where team.name = 'Ryley Goldner'
### Instruction:

Convert text to sql: Return the positions of players on the team Ryley Goldner. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ | select match_season.position from match_season join team on match_season.team = team.team_id where team.name = 'Ryley Goldner'
### Instruction:

Convert text to sql: How many distinct colleges are associated with players from the team with name "Columbus Crew". | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select count ( distinct _ ) from _ where _ | select count ( distinct match_season.college ) from match_season join team on match_season.team = team.team_id where team.name = 'Columbus Crew'
### Instruction:

Convert text to sql: Count the number of different colleges that players who play for Columbus Crew are from. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select count ( distinct _ ) from _ where _ | select count ( distinct match_season.college ) from match_season join team on match_season.team = team.team_id where team.name = 'Columbus Crew'
### Instruction:

Convert text to sql: Show the players and years played for players from team "Columbus Crew". | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ | select player.player , player.years_played from player join team on player.team = team.team_id where team.name = 'Columbus Crew'
### Instruction:

Convert text to sql: What are the players who played for Columbus Crew, and how many years did each play for? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ | select player.player , player.years_played from player join team on player.team = team.team_id where team.name = 'Columbus Crew'
### Instruction:

Convert text to sql: Show the position of players and the corresponding number of players. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ , count ( _ ) from _ group by _ | select position , count ( * ) from match_season group by position
### Instruction:

Convert text to sql: How many players played each position? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ , count ( _ ) from _ group by _ | select position , count ( * ) from match_season group by position
### Instruction:

Convert text to sql: Show the country names and the corresponding number of players. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ , count ( _ ) from _ group by _ | select country_name , count ( * ) from country join match_season on country.country_id = match_season.country group by country.country_name
### Instruction:

Convert text to sql: How many players are from each country? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ , count ( _ ) from _ group by _ | select country_name , count ( * ) from country join match_season on country.country_id = match_season.country group by country.country_name
### Instruction:

Convert text to sql: Return all players sorted by college in ascending alphabetical order. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ order by _ asc | select player from match_season order by college asc
### Instruction:

Convert text to sql: What are all the players who played in match season, sorted by college in ascending alphabetical order? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ order by _ asc | select player from match_season order by college asc
### Instruction:

Convert text to sql: Show the most common position of players in match seasons. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

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

Convert text to sql: What is the position that is most common among players in match seasons? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

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

Convert text to sql: Show the top 3 most common colleges of players in match seasons. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select college from match_season group by college order by count ( * ) desc limit 3
### Instruction:

Convert text to sql: What are the three colleges from which the most players are from? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select college from match_season group by college order by count ( * ) desc limit 3
### Instruction:

Convert text to sql: Show the name of colleges that have at least two players. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ group by _ having count ( _ ) >= _ | select college from match_season group by college having count ( * ) >= 2
### Instruction:

Convert text to sql: What are the names of all colleges that have two or more players? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ group by _ having count ( _ ) >= _ | select college from match_season group by college having count ( * ) >= 2
### Instruction:

Convert text to sql: Show the name of colleges that have at least two players in descending alphabetical order. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ group by _ having count ( _ ) >= _ order by _ desc | select college from match_season group by college having count ( * ) >= 2 order by college desc
### Instruction:

Convert text to sql: What are the names of colleges that have two or more players, listed in descending alphabetical order? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ group by _ having count ( _ ) >= _ order by _ desc | select college from match_season group by college having count ( * ) >= 2 order by college desc
### Instruction:

Convert text to sql: What are the names of teams that do no have match season record? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ not in ( select _ from _ ) | select name from team where team_id not in ( select team from match_season )
### Instruction:

Convert text to sql: Return the names of teams that have no match season record. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ not in ( select _ from _ ) | select name from team where team_id not in ( select team from match_season )
### Instruction:

Convert text to sql: What are the names of countries that have both players with position forward and players with position defender? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ intersect select _ from _ where _ | select country.country_name from country join match_season on country.country_id = match_season.country where match_season.position = 'Forward' intersect select country.country_name from country join match_season on country.country_id = match_season.country where match_season.position = 'Defender'
### Instruction:

Convert text to sql: Return the names of countries that have players that play the Forward position, as well as players who play the Defender position. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ intersect select _ from _ where _ | select country.country_name from country join match_season on country.country_id = match_season.country where match_season.position = 'Forward' intersect select country.country_name from country join match_season on country.country_id = match_season.country where match_season.position = 'Defender'
### Instruction:

Convert text to sql: Which college have both players with position midfielder and players with position defender? | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ intersect select _ from _ where _ | select college from match_season where position = 'Midfielder' intersect select college from match_season where position = 'Defender'
### Instruction:

Convert text to sql: Return the colleges that have players who play the Midfielder position, as well as players who play the Defender position. | country : country_id , country_name , capital , official_native_language | team : team_id , name | match_season : season , player , position , country , team , draft_pick_number , draft_class , college | player : player_id , player , years_played , total_wl , singles_wl , doubles_wl , team | match_season.team = team.team_id | match_season.country = country.country_id | player.team = team.team_id | 

### Response:

select _ from _ where _ intersect select _ from _ where _ | select college from match_season where position = 'Midfielder' intersect select college from match_season where position = 'Defender'
### Instruction:

Convert text to sql: How many climbers are there? | mountain : mountain_id , name , height , prominence , range , country | climber : climber_id , name , country , time , points , mountain_id | climber.mountain_id = mountain.mountain_id | 

### Response:

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

Convert text to sql: Count the number of climbers. | mountain : mountain_id , name , height , prominence , range , country | climber : climber_id , name , country , time , points , mountain_id | climber.mountain_id = mountain.mountain_id | 

### Response:

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

Convert text to sql: List the names of climbers in descending order of points. | mountain : mountain_id , name , height , prominence , range , country | climber : climber_id , name , country , time , points , mountain_id | climber.mountain_id = mountain.mountain_id | 

### Response:

select _ from _ order by _ desc | select name from climber order by points desc
### Instruction:

Convert text to sql: What are the names of the climbers, ordered by points descending? | mountain : mountain_id , name , height , prominence , range , country | climber : climber_id , name , country , time , points , mountain_id | climber.mountain_id = mountain.mountain_id | 

### Response:

select _ from _ order by _ desc | select name from climber order by points desc