cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the team where Darren Collison (7) scored high assists?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team where Darren Collison (7) scored high assists?`:
```sql
                SELECT "team" FROM "game_log" WHERE "high_assists"='Darren Collison (7)';
```
## Task
Generate a SQL query to answer the following question:
`When did the Roy Hibbert (27) did the high points?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the Roy Hibbert (27) did the high points?`:
```sql
                SELECT "date" FROM "game_log" WHERE "high_points"='Roy Hibbert (27)';
```
## Task
Generate a SQL query to answer the following question:
`In how many different games did Roy Hibbert (16) did the most high rebounds?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `In how many different games did Roy Hibbert (16) did the most high rebounds?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "high_rebounds"='Roy Hibbert (16)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game in which Danny Granger (30) did the high points?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game in which Danny Granger (30) did the high points?`:
```sql
                SELECT "score" FROM "game_log" WHERE "high_points"='Danny Granger (30)';
```
## Task
Generate a SQL query to answer the following question:
`Who scored the most points when the Bucks played against Houston?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who scored the most points when the Bucks played against Houston?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "team"='Houston';
```
## Task
Generate a SQL query to answer the following question:
`What date was game number 22 on?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was game number 22 on?`:
```sql
                SELECT "date" FROM "game_log" WHERE "game"=22;
```
## Task
Generate a SQL query to answer the following question:
`How many people scored the most points during the game on December 10?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people scored the most points during the game on December 10?`:
```sql
                SELECT COUNT("high_points") FROM "game_log" WHERE "date"='December 10';
```
## Task
Generate a SQL query to answer the following question:
`When the team is chicago what is the location attendence?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the team is chicago what is the location attendence?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='Chicago';
```
## Task
Generate a SQL query to answer the following question:
`What is the score when the team is Orlando?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when the team is Orlando?`:
```sql
                SELECT COUNT("score") FROM "game_log" WHERE "team"='Orlando';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the game on March 26?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the game on March 26?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='March 26';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the Clippers played Philadelphia? `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the Clippers played Philadelphia? `:
```sql
                SELECT "record" FROM "game_log" WHERE "team"='Philadelphia';
```
## Task
Generate a SQL query to answer the following question:
`What location and attendance were there for game 5?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location and attendance were there for game 5?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"=5;
```
## Task
Generate a SQL query to answer the following question:
`Which game did rudy gay (12) have the highest points?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game did rudy gay (12) have the highest points?`:
```sql
                SELECT "game" FROM "game_log" WHERE "high_points"='Rudy Gay (12)';
```
## Task
Generate a SQL query to answer the following question:
`How many high assists where there for the team of caja laboral?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many high assists where there for the team of caja laboral?`:
```sql
                SELECT COUNT("high_assists") FROM "game_log" WHERE "team"='Caja Laboral';
```
## Task
Generate a SQL query to answer the following question:
`Which game did marc gasol (10) have the high rebounds?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game did marc gasol (10) have the high rebounds?`:
```sql
                SELECT "game" FROM "game_log" WHERE "high_rebounds"='Marc Gasol (10)';
```
## Task
Generate a SQL query to answer the following question:
`Who had the high assists on october 6?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high assists on october 6?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "date"='October 6';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of high assists for  fedexforum 11,283`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of high assists for  fedexforum 11,283`:
```sql
                SELECT COUNT("high_assists") FROM "game_log" WHERE "location_attendance"='FedExForum 11,283';
```
## Task
Generate a SQL query to answer the following question:
`Name the most game for  us airways center 16,470`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most game for  us airways center 16,470`:
```sql
                SELECT MIN("game") FROM "game_log" WHERE "location_attendance"='US Airways Center 16,470';
```
## Task
Generate a SQL query to answer the following question:
`Who and what were the high points player for the game against Detroit?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who and what were the high points player for the game against Detroit?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "team"='Detroit';
```
## Task
Generate a SQL query to answer the following question:
`How many times did the Centurions play the Rhein Fire?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27764201_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did the Centurions play the Rhein Fire?`:
```sql
                SELECT COUNT("game_site") FROM "table1_27764201_2" WHERE "opponent"='Rhein Fire';
```
## Task
Generate a SQL query to answer the following question:
`Where did the Centurions play the Hamburg Sea Devils?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27764201_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where did the Centurions play the Hamburg Sea Devils?`:
```sql
                SELECT "game_site" FROM "table1_27764201_2" WHERE "opponent"='Hamburg Sea Devils';
```
## Task
Generate a SQL query to answer the following question:
`What time was the kickoff against the Frankfurt Galaxy?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27764201_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What time was the kickoff against the Frankfurt Galaxy?`:
```sql
                SELECT "kickoff" FROM "table1_27764201_2" WHERE "opponent"='Frankfurt Galaxy';
```
## Task
Generate a SQL query to answer the following question:
`How many total catches did the player with no. 46 have?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "notes" (
  "no" real,
  "player" text,
  "club" text,
  "test_career" text,
  "tests" real,
  "catches" real,
  "stumpings" real,
  "total_dismissals" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total catches did the player with no. 46 have?`:
```sql
                SELECT COUNT("catches") FROM "notes" WHERE "no"=46;
```
## Task
Generate a SQL query to answer the following question:
`How did the manager who was replaced by Jakob Michelsen depart?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `How did the manager who was replaced by Jakob Michelsen depart?`:
```sql
                SELECT "manner_of_departure" FROM "managerial_changes" WHERE "replaced_by"='Jakob Michelsen';
```
## Task
Generate a SQL query to answer the following question:
`What was the AB team's position in table?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the AB team's position in table?`:
```sql
                SELECT "position_in_table" FROM "managerial_changes" WHERE "team"='AB';
```
## Task
Generate a SQL query to answer the following question:
`On what date did Kim Fogh replace the previous manager?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date did Kim Fogh replace the previous manager?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "replaced_by"='Kim Fogh';
```
## Task
Generate a SQL query to answer the following question:
`What was the vacancy date for Thomas Thomasberg?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the vacancy date for Thomas Thomasberg?`:
```sql
                SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='Thomas Thomasberg';
```
## Task
Generate a SQL query to answer the following question:
`Which manager was replaced by Thomas Thomasberg?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which manager was replaced by Thomas Thomasberg?`:
```sql
                SELECT "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='Thomas Thomasberg';
```
## Task
Generate a SQL query to answer the following question:
`How many total dismissals did the player for Guyana have?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27771406_1" (
  "no" real,
  "player" text,
  "club" text,
  "test_career" text,
  "tests" real,
  "catches" real,
  "stumpings" real,
  "total_dismissals" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total dismissals did the player for Guyana have?`:
```sql
                SELECT MAX("total_dismissals") FROM "table1_27771406_1" WHERE "club"='Guyana';
```
## Task
Generate a SQL query to answer the following question:
`The player for what club had 2 tests?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27771406_1" (
  "no" real,
  "player" text,
  "club" text,
  "test_career" text,
  "tests" real,
  "catches" real,
  "stumpings" real,
  "total_dismissals" real
);
### SQL
Given the database schema, here is the SQL query that answers `The player for what club had 2 tests?`:
```sql
                SELECT "club" FROM "table1_27771406_1" WHERE "tests"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the most amount of stumpings any player had? `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27771406_1" (
  "no" real,
  "player" text,
  "club" text,
  "test_career" text,
  "tests" real,
  "catches" real,
  "stumpings" real,
  "total_dismissals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most amount of stumpings any player had? `:
```sql
                SELECT MAX("stumpings") FROM "table1_27771406_1";
```
## Task
Generate a SQL query to answer the following question:
`What club did Cyril Christiani play for? `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27771406_1" (
  "no" real,
  "player" text,
  "club" text,
  "test_career" text,
  "tests" real,
  "catches" real,
  "stumpings" real,
  "total_dismissals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What club did Cyril Christiani play for? `:
```sql
                SELECT "club" FROM "table1_27771406_1" WHERE "player"='Cyril Christiani';
```
## Task
Generate a SQL query to answer the following question:
`How many catches did Clifford McWatt have? `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27771406_1" (
  "no" real,
  "player" text,
  "club" text,
  "test_career" text,
  "tests" real,
  "catches" real,
  "stumpings" real,
  "total_dismissals" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many catches did Clifford McWatt have? `:
```sql
                SELECT MIN("catches") FROM "table1_27771406_1" WHERE "player"='Clifford McWatt';
```
## Task
Generate a SQL query to answer the following question:
`Name the points for top tens being 24 and ownder david pearson`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "by_season" (
  "season" real,
  "driver" text,
  "owner" text,
  "number" text,
  "make" text,
  "starts" text,
  "wins" real,
  "top_tens" real,
  "poles" real,
  "points_margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the points for top tens being 24 and ownder david pearson`:
```sql
                SELECT "points_margin" FROM "by_season" WHERE "top_tens"=24 AND "owner"='David Pearson';
```
## Task
Generate a SQL query to answer the following question:
`Name the starts for bobby labonte`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "by_season" (
  "season" real,
  "driver" text,
  "owner" text,
  "number" text,
  "make" text,
  "starts" text,
  "wins" real,
  "top_tens" real,
  "poles" real,
  "points_margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the starts for bobby labonte`:
```sql
                SELECT "starts" FROM "by_season" WHERE "driver"='Bobby Labonte';
```
## Task
Generate a SQL query to answer the following question:
`Name the poles for season 2006`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "by_season" (
  "season" real,
  "driver" text,
  "owner" text,
  "number" text,
  "make" text,
  "starts" text,
  "wins" real,
  "top_tens" real,
  "poles" real,
  "points_margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the poles for season 2006`:
```sql
                SELECT "poles" FROM "by_season" WHERE "season"=2006;
```
## Task
Generate a SQL query to answer the following question:
`What was the production code of the episode no. 55 in the series?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27776266_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the production code of the episode no. 55 in the series?`:
```sql
                SELECT "production_code" FROM "table1_27776266_1" WHERE "no_in_series"=55;
```
## Task
Generate a SQL query to answer the following question:
`What was the production code of the episode with an audience of 14.79 million in the US?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27776266_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the production code of the episode with an audience of 14.79 million in the US?`:
```sql
                SELECT "production_code" FROM "table1_27776266_1" WHERE "u_s_viewers_million"='14.79';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode with an audience of 14.11 million?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27776266_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode with an audience of 14.11 million?`:
```sql
                SELECT "directed_by" FROM "table1_27776266_1" WHERE "u_s_viewers_million"='14.11';
```
## Task
Generate a SQL query to answer the following question:
`What was the title of the episode with a production code of 3x6404?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27776266_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the title of the episode with a production code of 3x6404?`:
```sql
                SELECT "title" FROM "table1_27776266_1" WHERE "production_code"='3X6404';
```
## Task
Generate a SQL query to answer the following question:
`Which school players have a number of 255`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_ten" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school players have a number of 255`:
```sql
                SELECT "college_junior_club_team" FROM "round_ten" WHERE "pick"=255;
```
## Task
Generate a SQL query to answer the following question:
`what educational institute does wes swinson attend`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_ten" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `what educational institute does wes swinson attend`:
```sql
                SELECT "college_junior_club_team" FROM "round_ten" WHERE "player"='Wes Swinson';
```
## Task
Generate a SQL query to answer the following question:
`which part on the team does rick schuhwerk play`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_ten" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `which part on the team does rick schuhwerk play`:
```sql
                SELECT "position" FROM "round_ten" WHERE "player"='Rick Schuhwerk';
```
## Task
Generate a SQL query to answer the following question:
`For college/junior/club team is brandon wheat kings (whl) mention all the player name`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_four" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `For college/junior/club team is brandon wheat kings (whl) mention all the player name`:
```sql
                SELECT "player" FROM "round_four" WHERE "college_junior_club_team"='Brandon Wheat Kings (WHL)';
```
## Task
Generate a SQL query to answer the following question:
`For player is jamal mayers mention the minimum pick`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_four" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `For player is jamal mayers mention the minimum pick`:
```sql
                SELECT MIN("pick") FROM "round_four" WHERE "player"='Jamal Mayers';
```
## Task
Generate a SQL query to answer the following question:
`For player is john jakopin mention the total number of position `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_four" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `For player is john jakopin mention the total number of position `:
```sql
                SELECT COUNT("position") FROM "round_four" WHERE "player"='John Jakopin';
```
## Task
Generate a SQL query to answer the following question:
`For nhl team is san jose sharks mention all the college/junior/club team `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_four" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `For nhl team is san jose sharks mention all the college/junior/club team `:
```sql
                SELECT "college_junior_club_team" FROM "round_four" WHERE "nhl_team"='San Jose Sharks';
```
## Task
Generate a SQL query to answer the following question:
`For player is adam wiesel mention all the college/junior/club team `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_four" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `For player is adam wiesel mention all the college/junior/club team `:
```sql
                SELECT "college_junior_club_team" FROM "round_four" WHERE "player"='Adam Wiesel';
```
## Task
Generate a SQL query to answer the following question:
`How many values are displayed under pick for Vlastimil Kroupa?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_two" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many values are displayed under pick for Vlastimil Kroupa?`:
```sql
                SELECT COUNT("pick") FROM "round_two" WHERE "player"='Vlastimil Kroupa';
```
## Task
Generate a SQL query to answer the following question:
`How many positions does Janne Niinimaa play?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_two" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many positions does Janne Niinimaa play?`:
```sql
                SELECT COUNT("position") FROM "round_two" WHERE "player"='Janne Niinimaa';
```
## Task
Generate a SQL query to answer the following question:
`How many teams does Lee Sorochan play for?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_two" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams does Lee Sorochan play for?`:
```sql
                SELECT COUNT("college_junior_club_team") FROM "round_two" WHERE "player"='Lee Sorochan';
```
## Task
Generate a SQL query to answer the following question:
`What player belongs to the Chicago Blackhawks?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_two" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player belongs to the Chicago Blackhawks?`:
```sql
                SELECT "player" FROM "round_two" WHERE "nhl_team"='Chicago Blackhawks';
```
## Task
Generate a SQL query to answer the following question:
`How many teams does Maxim Bets play for?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_two" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams does Maxim Bets play for?`:
```sql
                SELECT COUNT("nhl_team") FROM "round_two" WHERE "player"='Maxim Bets';
```
## Task
Generate a SQL query to answer the following question:
`What was the minimum pick by the Florida Panthers?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_eleven" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum pick by the Florida Panthers?`:
```sql
                SELECT MIN("pick") FROM "round_eleven" WHERE "nhl_team"='Florida Panthers';
```
## Task
Generate a SQL query to answer the following question:
`What NHL team picked Ryan Meade for the draft?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_seven" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What NHL team picked Ryan Meade for the draft?`:
```sql
                SELECT "nhl_team" FROM "round_seven" WHERE "player"='Ryan Meade';
```
## Task
Generate a SQL query to answer the following question:
`What college team did Ryan Golden come from?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_seven" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college team did Ryan Golden come from?`:
```sql
                SELECT "college_junior_club_team" FROM "round_seven" WHERE "player"='Ryan Golden';
```
## Task
Generate a SQL query to answer the following question:
`How many different nationalities is pick number 179?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_seven" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different nationalities is pick number 179?`:
```sql
                SELECT COUNT("nationality") FROM "round_seven" WHERE "pick"=179;
```
## Task
Generate a SQL query to answer the following question:
`What college  team did the pick for Pittsburgh Penguins come from?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_seven" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college  team did the pick for Pittsburgh Penguins come from?`:
```sql
                SELECT "college_junior_club_team" FROM "round_seven" WHERE "nhl_team"='Pittsburgh Penguins';
```
## Task
Generate a SQL query to answer the following question:
`What NHL team picked Tom White?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_seven" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What NHL team picked Tom White?`:
```sql
                SELECT "nhl_team" FROM "round_seven" WHERE "player"='Tom White';
```
## Task
Generate a SQL query to answer the following question:
`How many weeks in the top 10 was spent by a song performed by Peter Kay?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2009_peaks" (
  "entry_date_a" text,
  "single" text,
  "artist" text,
  "peak" real,
  "peak_reached_a" text,
  "weeks_in_top_10" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks in the top 10 was spent by a song performed by Peter Kay?`:
```sql
                SELECT MAX("weeks_in_top_10") FROM "2009_peaks" WHERE "artist"='Peter Kay';
```
## Task
Generate a SQL query to answer the following question:
`How long has the longest song spent in the top 10?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2009_peaks" (
  "entry_date_a" text,
  "single" text,
  "artist" text,
  "peak" real,
  "peak_reached_a" text,
  "weeks_in_top_10" real
);
### SQL
Given the database schema, here is the SQL query that answers `How long has the longest song spent in the top 10?`:
```sql
                SELECT MAX("weeks_in_top_10") FROM "2009_peaks";
```
## Task
Generate a SQL query to answer the following question:
`What college/junior/club team did dmitri gorenko play for?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_nine" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college/junior/club team did dmitri gorenko play for?`:
```sql
                SELECT "college_junior_club_team" FROM "round_nine" WHERE "player"='Dmitri Gorenko';
```
## Task
Generate a SQL query to answer the following question:
`What position does krylja sovetov (russia) play?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_nine" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does krylja sovetov (russia) play?`:
```sql
                SELECT "position" FROM "round_nine" WHERE "college_junior_club_team"='Krylja Sovetov (Russia)';
```
## Task
Generate a SQL query to answer the following question:
`What position(s) does barrie moore play?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_nine" (
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position(s) does barrie moore play?`:
```sql
                SELECT "position" FROM "round_nine" WHERE "player"='Barrie Moore';
```
## Task
Generate a SQL query to answer the following question:
`How many pac-12 sports are shown for california polytechnic state university?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "affiliate_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "current_conference" text,
  "pac_12_sports" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many pac-12 sports are shown for california polytechnic state university?`:
```sql
                SELECT COUNT("pac_12_sports") FROM "affiliate_members" WHERE "institution"='California Polytechnic State University';
```
## Task
Generate a SQL query to answer the following question:
`When was the institution in boise, idaho founded?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "affiliate_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "current_conference" text,
  "pac_12_sports" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the institution in boise, idaho founded?`:
```sql
                SELECT "founded" FROM "affiliate_members" WHERE "location"='Boise, Idaho';
```
## Task
Generate a SQL query to answer the following question:
`Which conference did  boise state university play at?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "affiliate_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "current_conference" text,
  "pac_12_sports" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which conference did  boise state university play at?`:
```sql
                SELECT "current_conference" FROM "affiliate_members" WHERE "institution"='Boise State University';
```
## Task
Generate a SQL query to answer the following question:
`When was the Titans founded?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "affiliate_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "current_conference" text,
  "pac_12_sports" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the Titans founded?`:
```sql
                SELECT MAX("founded") FROM "affiliate_members" WHERE "nickname"='Titans';
```
## Task
Generate a SQL query to answer the following question:
`Which institution was founded in 1932?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "affiliate_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "current_conference" text,
  "pac_12_sports" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which institution was founded in 1932?`:
```sql
                SELECT "institution" FROM "affiliate_members" WHERE "founded"=1932;
```
## Task
Generate a SQL query to answer the following question:
`Which  institution was located in bakersfield, california?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "affiliate_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "current_conference" text,
  "pac_12_sports" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which  institution was located in bakersfield, california?`:
```sql
                SELECT "institution" FROM "affiliate_members" WHERE "location"='Bakersfield, California';
```
## Task
Generate a SQL query to answer the following question:
`Name the least games played for 6 points`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "player_statistics" (
  "shirt_number" real,
  "player_name" text,
  "games_played" real,
  "total_points" real,
  "2_points" real,
  "3_points" real,
  "free_throw" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least games played for 6 points`:
```sql
                SELECT MIN("games_played") FROM "player_statistics" WHERE "total_points"=6;
```
## Task
Generate a SQL query to answer the following question:
`who is the manufacturer is no.50?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "by_season" (
  "season" real,
  "driver" text,
  "owner" text,
  "no" real,
  "manufacturer" text,
  "starts" text,
  "wins" real,
  "top_tens" real,
  "poles" real,
  "points_margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the manufacturer is no.50?`:
```sql
                SELECT "manufacturer" FROM "by_season" WHERE "no"=50;
```
## Task
Generate a SQL query to answer the following question:
`Which episodes did Katie Palmer write? `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27823058_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episodes did Katie Palmer write? `:
```sql
                SELECT "title" FROM "table1_27823058_1" WHERE "written_by"='Katie Palmer';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest series number ? `

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "table1_27823058_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest series number ? `:
```sql
                SELECT MAX("series_num") FROM "table1_27823058_1";
```
## Task
Generate a SQL query to answer the following question:
`when changsha 長沙 is the commandery what is the commandery capital?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "territories_of_eastern_wu" (
  "province" text,
  "provincial_capital" text,
  "commandery" text,
  "commandery_capital" text,
  "no_of_counties" real
);
### SQL
Given the database schema, here is the SQL query that answers `when changsha 長沙 is the commandery what is the commandery capital?`:
```sql
                SELECT "commandery_capital" FROM "territories_of_eastern_wu" WHERE "commandery"='Changsha 長沙';
```
## Task
Generate a SQL query to answer the following question:
`When yidu 宜都 is the commandery what is the lowest number of countries?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "territories_of_eastern_wu" (
  "province" text,
  "provincial_capital" text,
  "commandery" text,
  "commandery_capital" text,
  "no_of_counties" real
);
### SQL
Given the database schema, here is the SQL query that answers `When yidu 宜都 is the commandery what is the lowest number of countries?`:
```sql
                SELECT MIN("no_of_counties") FROM "territories_of_eastern_wu" WHERE "commandery"='Yidu 宜都';
```
## Task
Generate a SQL query to answer the following question:
`When nanhai 南海 is the commandery what is the commandery capital?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "territories_of_eastern_wu" (
  "province" text,
  "provincial_capital" text,
  "commandery" text,
  "commandery_capital" text,
  "no_of_counties" real
);
### SQL
Given the database schema, here is the SQL query that answers `When nanhai 南海 is the commandery what is the commandery capital?`:
```sql
                SELECT "commandery_capital" FROM "territories_of_eastern_wu" WHERE "commandery"='Nanhai 南海';
```