cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`When 7.55 is the amount of viewers what is the lowest number?`

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

CREATE TABLE "table1_24781886_2" (
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "viewers" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 7.55 is the amount of viewers what is the lowest number?`:
```sql
                SELECT MIN("num") FROM "table1_24781886_2" WHERE "viewers"='7.55';
```
## Task
Generate a SQL query to answer the following question:
`How many figures are given for the New Democratic for the polling range May 11–31, 2010?`

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

CREATE TABLE "opinion_polls" (
  "polling_firm" text,
  "date_of_polling" text,
  "link" text,
  "progressive_conservative" real,
  "liberal" real,
  "new_democratic" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many figures are given for the New Democratic for the polling range May 11–31, 2010?`:
```sql
                SELECT COUNT("new_democratic") FROM "opinion_polls" WHERE "date_of_polling"='May 11–31, 2010';
```
## Task
Generate a SQL query to answer the following question:
`What format is the link for the polling data for February 10–28, 2011?`

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

CREATE TABLE "opinion_polls" (
  "polling_firm" text,
  "date_of_polling" text,
  "link" text,
  "progressive_conservative" real,
  "liberal" real,
  "new_democratic" real
);
### SQL
Given the database schema, here is the SQL query that answers `What format is the link for the polling data for February 10–28, 2011?`:
```sql
                SELECT "link" FROM "opinion_polls" WHERE "date_of_polling"='February 10–28, 2011';
```
## Task
Generate a SQL query to answer the following question:
`When "gary is a boat guy" is the title how many sets of viewers are there?`

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

CREATE TABLE "table1_24781886_3" (
  "total" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "viewers" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When "gary is a boat guy" is the title how many sets of viewers are there?`:
```sql
                SELECT COUNT("viewers") FROM "table1_24781886_3" WHERE "title"='\"Gary Is A Boat Guy\"';
```
## Task
Generate a SQL query to answer the following question:
`When 9 is the number what is the title?`

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

CREATE TABLE "table1_24781886_3" (
  "total" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "viewers" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 9 is the number what is the title?`:
```sql
                SELECT "title" FROM "table1_24781886_3" WHERE "num"=9;
```
## Task
Generate a SQL query to answer the following question:
`When 3 is the number what is the highest total?`

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

CREATE TABLE "table1_24781886_3" (
  "total" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "viewers" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 3 is the number what is the highest total?`:
```sql
                SELECT MAX("total") FROM "table1_24781886_3" WHERE "num"=3;
```
## Task
Generate a SQL query to answer the following question:
`When 7.08 is the amount of viewers what is the air date?`

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

CREATE TABLE "table1_24781886_3" (
  "total" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "viewers" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 7.08 is the amount of viewers what is the air date?`:
```sql
                SELECT "air_date" FROM "table1_24781886_3" WHERE "viewers"='7.08';
```
## Task
Generate a SQL query to answer the following question:
`When 7.08 is the amount of viewers how many directors are there?`

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

CREATE TABLE "table1_24781886_3" (
  "total" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "viewers" text,
  "air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 7.08 is the amount of viewers how many directors are there?`:
```sql
                SELECT COUNT("director") FROM "table1_24781886_3" WHERE "viewers"='7.08';
```
## Task
Generate a SQL query to answer the following question:
`What location did the episode that aired originally on August 26, 2009 take place at?`

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

CREATE TABLE "table1_24798489_2" (
  "episode_number" real,
  "location" text,
  "original_airdate" text,
  "challenge_winner" text,
  "challenge" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location did the episode that aired originally on August 26, 2009 take place at?`:
```sql
                SELECT "location" FROM "table1_24798489_2" WHERE "original_airdate"='August 26, 2009';
```
## Task
Generate a SQL query to answer the following question:
`How many dates originally aired episodes located in Philadelphia, pennsylvania?`

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

CREATE TABLE "table1_24798489_2" (
  "episode_number" real,
  "location" text,
  "original_airdate" text,
  "challenge_winner" text,
  "challenge" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many dates originally aired episodes located in Philadelphia, pennsylvania?`:
```sql
                SELECT COUNT("original_airdate") FROM "table1_24798489_2" WHERE "location"='Philadelphia, Pennsylvania';
```
## Task
Generate a SQL query to answer the following question:
`What was the challenge for episode 28?`

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

CREATE TABLE "table1_24798489_2" (
  "episode_number" real,
  "location" text,
  "original_airdate" text,
  "challenge_winner" text,
  "challenge" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the challenge for episode 28?`:
```sql
                SELECT "challenge" FROM "table1_24798489_2" WHERE "episode_number"=28;
```
## Task
Generate a SQL query to answer the following question:
`How many original air dates were there for episode 22?`

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

CREATE TABLE "table1_24798489_2" (
  "episode_number" real,
  "location" text,
  "original_airdate" text,
  "challenge_winner" text,
  "challenge" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many original air dates were there for episode 22?`:
```sql
                SELECT COUNT("original_airdate") FROM "table1_24798489_2" WHERE "episode_number"=22;
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest goals ever achieved?`

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

CREATE TABLE "playoff_statistics" (
  "name" text,
  "nationality" text,
  "position" text,
  "appearances" real,
  "starts" real,
  "minutes" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest goals ever achieved?`:
```sql
                SELECT MIN("goals") FROM "playoff_statistics";
```
## Task
Generate a SQL query to answer the following question:
`how many arabic scottish is afghan`

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

CREATE TABLE "language_program" (
  "afghan" text,
  "albanian" text,
  "arabic" text,
  "bangladeshi" text,
  "bosnian" text,
  "chinese" text,
  "colombian" text,
  "cook_islands" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many arabic scottish is afghan`:
```sql
                SELECT "afghan" FROM "language_program" WHERE "arabic"='Scottish';
```
## Task
Generate a SQL query to answer the following question:
`how many bosnian in  cook islands  is macedonian`

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

CREATE TABLE "language_program" (
  "afghan" text,
  "albanian" text,
  "arabic" text,
  "bangladeshi" text,
  "bosnian" text,
  "chinese" text,
  "colombian" text,
  "cook_islands" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many bosnian in  cook islands  is macedonian`:
```sql
                SELECT COUNT("cook_islands") FROM "language_program" WHERE "bosnian"='Macedonian';
```
## Task
Generate a SQL query to answer the following question:
`how many colombia in bangladesh is serbian`

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

CREATE TABLE "language_program" (
  "afghan" text,
  "albanian" text,
  "arabic" text,
  "bangladeshi" text,
  "bosnian" text,
  "chinese" text,
  "colombian" text,
  "cook_islands" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many colombia in bangladesh is serbian`:
```sql
                SELECT "colombian" FROM "language_program" WHERE "bangladeshi"='Serbian';
```
## Task
Generate a SQL query to answer the following question:
`how many arabic in colobians is finnish`

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

CREATE TABLE "language_program" (
  "afghan" text,
  "albanian" text,
  "arabic" text,
  "bangladeshi" text,
  "bosnian" text,
  "chinese" text,
  "colombian" text,
  "cook_islands" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many arabic in colobians is finnish`:
```sql
                SELECT "arabic" FROM "language_program" WHERE "colombian"='Finnish';
```
## Task
Generate a SQL query to answer the following question:
`how many bosnian in cook islands is sri lankan`

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

CREATE TABLE "language_program" (
  "afghan" text,
  "albanian" text,
  "arabic" text,
  "bangladeshi" text,
  "bosnian" text,
  "chinese" text,
  "colombian" text,
  "cook_islands" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many bosnian in cook islands is sri lankan`:
```sql
                SELECT "bosnian" FROM "language_program" WHERE "cook_islands"='Sri Lankan';
```
## Task
Generate a SQL query to answer the following question:
`how many afghan in banglash is hungarian`

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

CREATE TABLE "language_program" (
  "afghan" text,
  "albanian" text,
  "arabic" text,
  "bangladeshi" text,
  "bosnian" text,
  "chinese" text,
  "colombian" text,
  "cook_islands" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many afghan in banglash is hungarian`:
```sql
                SELECT "afghan" FROM "language_program" WHERE "bangladeshi"='Hungarian';
```
## Task
Generate a SQL query to answer the following question:
`What is the name if the appearance is 2 and the position is FW?`

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

CREATE TABLE "all_time_statistics" (
  "name" text,
  "nationality" text,
  "position" text,
  "sky_blue_fc_career" text,
  "appearances" real,
  "starts" real,
  "minutes" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name if the appearance is 2 and the position is FW?`:
```sql
                SELECT "name" FROM "all_time_statistics" WHERE "position"='FW' AND "appearances"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the assists total number if the minutes is 1?`

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

CREATE TABLE "all_time_statistics" (
  "name" text,
  "nationality" text,
  "position" text,
  "sky_blue_fc_career" text,
  "appearances" real,
  "starts" real,
  "minutes" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the assists total number if the minutes is 1?`:
```sql
                SELECT COUNT("assists") FROM "all_time_statistics" WHERE "minutes"=1;
```
## Task
Generate a SQL query to answer the following question:
`What is the appearance maximum if the starts is 18?`

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

CREATE TABLE "all_time_statistics" (
  "name" text,
  "nationality" text,
  "position" text,
  "sky_blue_fc_career" text,
  "appearances" real,
  "starts" real,
  "minutes" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the appearance maximum if the starts is 18?`:
```sql
                SELECT MAX("appearances") FROM "all_time_statistics" WHERE "starts"=18;
```
## Task
Generate a SQL query to answer the following question:
`What are the names of all the players with an average of 15.89?`

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

CREATE TABLE "table1_2482547_5" (
  "name" text,
  "team_s" text,
  "matches" real,
  "balls_bowled" real,
  "wickets_taken" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the names of all the players with an average of 15.89?`:
```sql
                SELECT "name" FROM "table1_2482547_5" WHERE "average"='15.89';
```
## Task
Generate a SQL query to answer the following question:
`What's the maximum wickets taken by players named Bill Lockwood?`

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

CREATE TABLE "table1_2482547_5" (
  "name" text,
  "team_s" text,
  "matches" real,
  "balls_bowled" real,
  "wickets_taken" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the maximum wickets taken by players named Bill Lockwood?`:
```sql
                SELECT MAX("wickets_taken") FROM "table1_2482547_5" WHERE "name"='Bill Lockwood';
```
## Task
Generate a SQL query to answer the following question:
`What are all the teams with an average of 15.89?`

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

CREATE TABLE "table1_2482547_5" (
  "name" text,
  "team_s" text,
  "matches" real,
  "balls_bowled" real,
  "wickets_taken" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the teams with an average of 15.89?`:
```sql
                SELECT "team_s" FROM "table1_2482547_5" WHERE "average"='15.89';
```
## Task
Generate a SQL query to answer the following question:
`Who are all the players who've bowled more than 4969 balls?`

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

CREATE TABLE "table1_2482547_5" (
  "name" text,
  "team_s" text,
  "matches" real,
  "balls_bowled" real,
  "wickets_taken" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are all the players who've bowled more than 4969 balls?`:
```sql
                SELECT "name" FROM "table1_2482547_5" WHERE "balls_bowled"=4969;
```
## Task
Generate a SQL query to answer the following question:
`What are the averages for games with 212 wickets taken?`

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

CREATE TABLE "table1_2482547_5" (
  "name" text,
  "team_s" text,
  "matches" real,
  "balls_bowled" real,
  "wickets_taken" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the averages for games with 212 wickets taken?`:
```sql
                SELECT "average" FROM "table1_2482547_5" WHERE "wickets_taken"=212;
```
## Task
Generate a SQL query to answer the following question:
`Who was the turbine manufacturer for the Wheatland county?`

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

CREATE TABLE "table1_24837750_1" (
  "wind_farm" text,
  "installed_capacity_mw" text,
  "turbine_manufacturer" text,
  "county" text,
  "date_in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the turbine manufacturer for the Wheatland county?`:
```sql
                SELECT "turbine_manufacturer" FROM "table1_24837750_1" WHERE "county"='Wheatland';
```
## Task
Generate a SQL query to answer the following question:
`How many turbine manufacturers installed a capacity of 189 MW?`

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

CREATE TABLE "table1_24837750_1" (
  "wind_farm" text,
  "installed_capacity_mw" text,
  "turbine_manufacturer" text,
  "county" text,
  "date_in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many turbine manufacturers installed a capacity of 189 MW?`:
```sql
                SELECT COUNT("turbine_manufacturer") FROM "table1_24837750_1" WHERE "installed_capacity_mw"='189';
```
## Task
Generate a SQL query to answer the following question:
`How much capacity was installed in Wheatland?`

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

CREATE TABLE "table1_24837750_1" (
  "wind_farm" text,
  "installed_capacity_mw" text,
  "turbine_manufacturer" text,
  "county" text,
  "date_in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much capacity was installed in Wheatland?`:
```sql
                SELECT "installed_capacity_mw" FROM "table1_24837750_1" WHERE "county"='Wheatland';
```
## Task
Generate a SQL query to answer the following question:
`Who was the turbine manufacturer of the wind farm that started service on 2005?`

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

CREATE TABLE "table1_24837750_1" (
  "wind_farm" text,
  "installed_capacity_mw" text,
  "turbine_manufacturer" text,
  "county" text,
  "date_in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the turbine manufacturer of the wind farm that started service on 2005?`:
```sql
                SELECT "turbine_manufacturer" FROM "table1_24837750_1" WHERE "date_in_service"='2005';
```
## Task
Generate a SQL query to answer the following question:
`When did this wind farm started service with a capacity of 135 MW?`

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

CREATE TABLE "table1_24837750_1" (
  "wind_farm" text,
  "installed_capacity_mw" text,
  "turbine_manufacturer" text,
  "county" text,
  "date_in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did this wind farm started service with a capacity of 135 MW?`:
```sql
                SELECT "date_in_service" FROM "table1_24837750_1" WHERE "installed_capacity_mw"='135';
```
## Task
Generate a SQL query to answer the following question:
`When did the wind farm in Musselshell started service?`

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

CREATE TABLE "table1_24837750_1" (
  "wind_farm" text,
  "installed_capacity_mw" text,
  "turbine_manufacturer" text,
  "county" text,
  "date_in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the wind farm in Musselshell started service?`:
```sql
                SELECT "date_in_service" FROM "table1_24837750_1" WHERE "county"='Musselshell';
```
## Task
Generate a SQL query to answer the following question:
`What was the largest attendance at the Rheinstadion?`

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

CREATE TABLE "table1_24814477_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 was the largest attendance at the Rheinstadion?`:
```sql
                SELECT MAX("attendance") FROM "table1_24814477_2" WHERE "game_site"='Rheinstadion';
```
## Task
Generate a SQL query to answer the following question:
`What week did the Galaxy play the Amsterdam Admirals?`

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

CREATE TABLE "table1_24814477_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 week did the Galaxy play the Amsterdam Admirals?`:
```sql
                SELECT "week" FROM "table1_24814477_2" WHERE "opponent"='Amsterdam Admirals';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in Week 8?`

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

CREATE TABLE "table1_24814477_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 `Who was the opponent in Week 8?`:
```sql
                SELECT "opponent" FROM "table1_24814477_2" WHERE "week"=8;
```
## Task
Generate a SQL query to answer the following question:
`Who was the Class A winner when the Class C winner was David Haynes?`

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

CREATE TABLE "calendar_winners" (
  "round" text,
  "circuit" text,
  "date" text,
  "class_a_winner" text,
  "class_b_winner" text,
  "class_c_winner" text,
  "class_d_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Class A winner when the Class C winner was David Haynes?`:
```sql
                SELECT "class_a_winner" FROM "calendar_winners" WHERE "class_c_winner"='David Haynes';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Class C winner in round 8?`

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

CREATE TABLE "calendar_winners" (
  "round" text,
  "circuit" text,
  "date" text,
  "class_a_winner" text,
  "class_b_winner" text,
  "class_c_winner" text,
  "class_d_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Class C winner in round 8?`:
```sql
                SELECT "class_c_winner" FROM "calendar_winners" WHERE "round"='8';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Class D winner in round 6?`

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

CREATE TABLE "calendar_winners" (
  "round" text,
  "circuit" text,
  "date" text,
  "class_a_winner" text,
  "class_b_winner" text,
  "class_c_winner" text,
  "class_d_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Class D winner in round 6?`:
```sql
                SELECT "class_d_winner" FROM "calendar_winners" WHERE "round"='6';
```
## Task
Generate a SQL query to answer the following question:
`What was the circuit in round 2?`

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

CREATE TABLE "calendar_winners" (
  "round" text,
  "circuit" text,
  "date" text,
  "class_a_winner" text,
  "class_b_winner" text,
  "class_c_winner" text,
  "class_d_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the circuit in round 2?`:
```sql
                SELECT "circuit" FROM "calendar_winners" WHERE "round"='2';
```
## Task
Generate a SQL query to answer the following question:
`In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?`

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

CREATE TABLE "calendar_winners" (
  "round" real,
  "circuit" text,
  "date" text,
  "class_a_winner" text,
  "class_b_winner" text,
  "class_c_winner" text,
  "class_d_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?`:
```sql
                SELECT "round" FROM "calendar_winners" WHERE "class_d_winner"='Roy Salvadori' AND "class_b_winner"='Alan Hutcheson';
```
## Task
Generate a SQL query to answer the following question:
`When did Alan Hutcheson won Class B on round 1?`

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

CREATE TABLE "calendar_winners" (
  "round" real,
  "circuit" text,
  "date" text,
  "class_a_winner" text,
  "class_b_winner" text,
  "class_c_winner" text,
  "class_d_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did Alan Hutcheson won Class B on round 1?`:
```sql
                SELECT "date" FROM "calendar_winners" WHERE "class_b_winner"='Alan Hutcheson' AND "round"=1;
```
## Task
Generate a SQL query to answer the following question:
`How many field goals did Stacey Thomas have? `

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many field goals did Stacey Thomas have? `:
```sql
                SELECT "field_goals" FROM "player_stats" WHERE "player"='Stacey Thomas';
```
## Task
Generate a SQL query to answer the following question:
`How many assists did the player who had 121 rebounds have? `

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many assists did the player who had 121 rebounds have? `:
```sql
                SELECT MAX("assists") FROM "player_stats" WHERE "rebounds"=121;
```
## Task
Generate a SQL query to answer the following question:
`How many field goals did the player who had 8 blocks have? `

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many field goals did the player who had 8 blocks have? `:
```sql
                SELECT MIN("field_goals") FROM "player_stats" WHERE "blocks"=8;
```
## Task
Generate a SQL query to answer the following question:
`How many assists did the player who had 863 minutes have? `

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many assists did the player who had 863 minutes have? `:
```sql
                SELECT MIN("assists") FROM "player_stats" WHERE "minutes"=863;
```
## Task
Generate a SQL query to answer the following question:
`How many blocks did the player who had 59 rebounds have? `

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many blocks did the player who had 59 rebounds have? `:
```sql
                SELECT "blocks" FROM "player_stats" WHERE "rebounds"=59;
```
## Task
Generate a SQL query to answer the following question:
`Who were the opponents that had an attendance of exactly 16115?`

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

CREATE TABLE "table1_24852001_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 `Who were the opponents that had an attendance of exactly 16115?`:
```sql
                SELECT "opponent" FROM "table1_24852001_2" WHERE "attendance"=16115;
```
## Task
Generate a SQL query to answer the following question:
`What was the team record after the Frankfurt Galaxy matchup?`

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

CREATE TABLE "table1_24852001_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 was the team record after the Frankfurt Galaxy matchup?`:
```sql
                SELECT "team_record" FROM "table1_24852001_2" WHERE "opponent"='Frankfurt Galaxy';
```
## Task
Generate a SQL query to answer the following question:
`What was the game site for the matchup against the Frankfurt Galaxy?`

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

CREATE TABLE "table1_24852001_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 was the game site for the matchup against the Frankfurt Galaxy?`:
```sql
                SELECT "game_site" FROM "table1_24852001_2" WHERE "opponent"='Frankfurt Galaxy';
```
## Task
Generate a SQL query to answer the following question:
`How many results did the GT1 Winning Team No. 50 Larbre Compétition on the Algarve circuit?`

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

CREATE TABLE "table1_24865763_2" (
  "rnd" real,
  "circuit" text,
  "lmp1_winning_team" text,
  "lmp2_winning_team" text,
  "flm_winning_team" text,
  "gt1_winning_team" text,
  "gt2_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many results did the GT1 Winning Team No. 50 Larbre Compétition on the Algarve circuit?`:
```sql
                SELECT COUNT("results") FROM "table1_24865763_2" WHERE "circuit"='Algarve' AND "gt1_winning_team"='No. 50 Larbre Compétition';
```
## Task
Generate a SQL query to answer the following question:
`How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?`

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

CREATE TABLE "table1_24865763_2" (
  "rnd" real,
  "circuit" text,
  "lmp1_winning_team" text,
  "lmp2_winning_team" text,
  "flm_winning_team" text,
  "gt1_winning_team" text,
  "gt2_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?`:
```sql
                SELECT COUNT("lmp2_winning_team") FROM "table1_24865763_2" WHERE "gt1_winning_team"='Gabriele Gardel Patrice Goueslard Fernando Rees' AND "circuit"='Algarve';
```
## Task
Generate a SQL query to answer the following question:
`Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?`

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

CREATE TABLE "table1_24865763_2" (
  "rnd" real,
  "circuit" text,
  "lmp1_winning_team" text,
  "lmp2_winning_team" text,
  "flm_winning_team" text,
  "gt1_winning_team" text,
  "gt2_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?`:
```sql
                SELECT "gt2_winning_team" FROM "table1_24865763_2" WHERE "lmp1_winning_team"='Greg Mansell Leo Mansell';
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?`

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

CREATE TABLE "table1_24865763_2" (
  "rnd" real,
  "circuit" text,
  "lmp1_winning_team" text,
  "lmp2_winning_team" text,
  "flm_winning_team" text,
  "gt1_winning_team" text,
  "gt2_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?`:
```sql
                SELECT MAX("rnd") FROM "table1_24865763_2" WHERE "gt2_winning_team"='Marc Lieb Richard Lietz';
```
## Task
Generate a SQL query to answer the following question:
`How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?`

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

CREATE TABLE "table1_24865763_2" (
  "rnd" real,
  "circuit" text,
  "lmp1_winning_team" text,
  "lmp2_winning_team" text,
  "flm_winning_team" text,
  "gt1_winning_team" text,
  "gt2_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?`:
```sql
                SELECT COUNT("lmp1_winning_team") FROM "table1_24865763_2" WHERE "rnd"=4 AND "lmp2_winning_team"='No. 42 Strakka Racing';
```
## Task
Generate a SQL query to answer the following question:
`In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2?`

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

CREATE TABLE "table1_24865763_2" (
  "rnd" real,
  "circuit" text,
  "lmp1_winning_team" text,
  "lmp2_winning_team" text,
  "flm_winning_team" text,
  "gt1_winning_team" text,
  "gt2_winning_team" text,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2?`:
```sql
                SELECT "rnd" FROM "table1_24865763_2" WHERE "lmp2_winning_team"='Mike Newton Thomas Erdos Ben Collins';
```
## Task
Generate a SQL query to answer the following question:
`How many blocks did tye'sha fluker have?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many blocks did tye'sha fluker have?`:
```sql
                SELECT MIN("blocks") FROM "player_stats" WHERE "player"='Tye''sha Fluker';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of steals for a player with 324 minutes?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of steals for a player with 324 minutes?`:
```sql
                SELECT MAX("steals") FROM "player_stats" WHERE "minutes"=324;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of minutes for a player with 47 steals?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of minutes for a player with 47 steals?`:
```sql
                SELECT MIN("minutes") FROM "player_stats" WHERE "steals"=47;
```
## Task
Generate a SQL query to answer the following question:
`Who played Mixed Doubles in 1991?`

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

CREATE TABLE "world_championships_of_the_wbf" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played Mixed Doubles in 1991?`:
```sql
                SELECT "mixed_doubles" FROM "world_championships_of_the_wbf" WHERE "year"=1991;
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team who played plymouth argyle?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team who played plymouth argyle?`:
```sql
                SELECT "home_team" FROM "ties" WHERE "away_team"='Plymouth Argyle';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the away team was norwich city?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the away team was norwich city?`:
```sql
                SELECT "score_1" FROM "ties" WHERE "away_team"='Norwich City';
```
## Task
Generate a SQL query to answer the following question:
`Who played as the away team when coventry city was the home team?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played as the away team when coventry city was the home team?`:
```sql
                SELECT "away_team" FROM "ties" WHERE "home_team"='Coventry City';
```
## Task
Generate a SQL query to answer the following question:
`What is the final score when they played Frankfurt Galaxy?`

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

CREATE TABLE "table1_24882796_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 is the final score when they played Frankfurt Galaxy?`:
```sql
                SELECT "final_score" FROM "table1_24882796_2" WHERE "opponent"='Frankfurt Galaxy';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team for tie no 11?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away team for tie no 11?`:
```sql
                SELECT "away_team" FROM "ties" WHERE "tie_no"=11;
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team for tie no 15?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away team for tie no 15?`:
```sql
                SELECT "away_team" FROM "ties" WHERE "tie_no"=15;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest tie that had 19129 attendance?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest tie that had 19129 attendance?`:
```sql
                SELECT MAX("tie_no") FROM "ties" WHERE "attendance"=19129;
```
## Task
Generate a SQL query to answer the following question:
`What is the tie when the home team is Stoke City?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tie when the home team is Stoke City?`:
```sql
                SELECT "tie_no" FROM "ties" WHERE "home_team"='Stoke City';
```
## Task
Generate a SQL query to answer the following question:
`What tie has Orient as the home team?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tie has Orient as the home team?`:
```sql
                SELECT "tie_no" FROM "ties" WHERE "home_team"='Orient';
```
## Task
Generate a SQL query to answer the following question:
`How many dates are there for tie number 12?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many dates are there for tie number 12?`:
```sql
                SELECT COUNT("date") FROM "ties" WHERE "tie_no"=12;
```
## Task
Generate a SQL query to answer the following question:
`When 556 is the amount of points how much equipment is there?`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 556 is the amount of points how much equipment is there?`:
```sql
                SELECT COUNT("equipment") FROM "riders" WHERE "points"=556;
```
## Task
Generate a SQL query to answer the following question:
`Which championship was the score 6–4, 5–7, 6–2?`

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

CREATE TABLE "doubles_6_4_2" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which championship was the score 6–4, 5–7, 6–2?`:
```sql
                SELECT "championship" FROM "doubles_6_4_2" WHERE "score"='6–4, 5–7, 6–2';
```
## Task
Generate a SQL query to answer the following question:
`Who were the opponents in the Rome championship?`

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

CREATE TABLE "doubles_6_4_2" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the opponents in the Rome championship?`:
```sql
                SELECT "opponents" FROM "doubles_6_4_2" WHERE "championship"='Rome';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of minutes associated with exactly 70 field goals?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of minutes associated with exactly 70 field goals?`:
```sql
                SELECT MAX("minutes") FROM "player_stats" WHERE "field_goals"=70;
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum number of field goals associated with exactly 84 assists?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum number of field goals associated with exactly 84 assists?`:
```sql
                SELECT MIN("field_goals") FROM "player_stats" WHERE "assists"=84;
```
## Task
Generate a SQL query to answer the following question:
`How many steals did Tamika Williams have?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many steals did Tamika Williams have?`:
```sql
                SELECT "steals" FROM "player_stats" WHERE "player"='Tamika Williams';
```
## Task
Generate a SQL query to answer the following question:
`List the number of takeaways with 1 rejection.`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `List the number of takeaways with 1 rejection.`:
```sql
                SELECT COUNT("steals") FROM "player_stats" WHERE "blocks"=1;
```