cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Who did the Colts play against on September 25, 1966?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the Colts play against on September 25, 1966?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='september 25, 1966';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game with 40,005 in attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game with 40,005 in attendance?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"='40,005';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest week number for the game that was at milwaukee county stadium?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest week number for the game that was at milwaukee county stadium?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "game_site"='milwaukee county stadium';
```
## Task
Generate a SQL query to answer the following question:
`After week 11, what was the Result on December 13, 1964?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `After week 11, what was the Result on December 13, 1964?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week">11 AND "date"='december 13, 1964';
```
## Task
Generate a SQL query to answer the following question:
`After week 8, what was the Attendance on November 1, 1964?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `After week 8, what was the Attendance on November 1, 1964?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "date"='november 1, 1964' AND "week">8;
```
## Task
Generate a SQL query to answer the following question:
`What is the alternate of the nation with Piotras Gerasimovici as the second?`

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

CREATE TABLE "group_b1" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the alternate of the nation with Piotras Gerasimovici as the second?`:
```sql
                SELECT "alternate" FROM "group_b1" WHERE "second"='piotras gerasimovici';
```
## Task
Generate a SQL query to answer the following question:
`What is the alternate of the nation with hubert gründhammer as the second?`

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

CREATE TABLE "group_b1" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the alternate of the nation with hubert gründhammer as the second?`:
```sql
                SELECT "alternate" FROM "group_b1" WHERE "second"='hubert gründhammer';
```
## Task
Generate a SQL query to answer the following question:
`What is the alternate of the nation with Erkki Lill as the skip?`

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

CREATE TABLE "group_b1" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the alternate of the nation with Erkki Lill as the skip?`:
```sql
                SELECT "alternate" FROM "group_b1" WHERE "skip"='erkki lill';
```
## Task
Generate a SQL query to answer the following question:
`Who is the skip of the nation with Laurens van der Windt as the alternate?`

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

CREATE TABLE "group_b1" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the skip of the nation with Laurens van der Windt as the alternate?`:
```sql
                SELECT "skip" FROM "group_b1" WHERE "alternate"='laurens van der windt';
```
## Task
Generate a SQL query to answer the following question:
`Who is the lead of the nation with Juha Pekaristo as the alternate?`

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

CREATE TABLE "group_b1" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the lead of the nation with Juha Pekaristo as the alternate?`:
```sql
                SELECT "lead" FROM "group_b1" WHERE "alternate"='juha pekaristo';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest round in which a player was picked for the Center position?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest round in which a player was picked for the Center position?`:
```sql
                SELECT MAX("round") FROM "draft_picks" WHERE "position"='center';
```
## Task
Generate a SQL query to answer the following question:
`What is John Flatters' nationality?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is John Flatters' nationality?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "player"='john flatters';
```
## Task
Generate a SQL query to answer the following question:
`What is Jeremy Duchesne's position?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Jeremy Duchesne's position?`:
```sql
                SELECT "position" FROM "draft_picks" WHERE "player"='jeremy duchesne';
```
## Task
Generate a SQL query to answer the following question:
`When was the attendance 1,034?`

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

CREATE TABLE "february" (
  "date" real,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the attendance 1,034?`:
```sql
                SELECT MIN("date") FROM "february" WHERE "attendance"='1,034';
```
## Task
Generate a SQL query to answer the following question:
`what was the opponent on 26 october 1889?`

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

CREATE TABLE "football_alliance" (
  "date" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `what was the opponent on 26 october 1889?`:
```sql
                SELECT "opponents" FROM "football_alliance" WHERE "date"='26 october 1889';
```
## Task
Generate a SQL query to answer the following question:
`1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?`

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

CREATE TABLE "estimated_total_direct_programme_hours_p" (
  "1950" real,
  "1960" real,
  "1970" real,
  "1980" real,
  "1990" real,
  "1996_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?`:
```sql
                SELECT MIN("1996_2") FROM "estimated_total_direct_programme_hours_p" WHERE "1950">80 AND "1960"=196 AND "1990">131;
```
## Task
Generate a SQL query to answer the following question:
`1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 1950?`

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

CREATE TABLE "estimated_total_direct_programme_hours_p" (
  "1950" real,
  "1960" real,
  "1970" real,
  "1980" real,
  "1990" real,
  "1996_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 1950?`:
```sql
                SELECT MAX("1950") FROM "estimated_total_direct_programme_hours_p" WHERE "1960">196 AND "1996_2"<726 AND "1980">125 AND "1990">848;
```
## Task
Generate a SQL query to answer the following question:
`1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a 1970 larger than 251 is what 1990 highest?`

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

CREATE TABLE "estimated_total_direct_programme_hours_p" (
  "1950" real,
  "1960" real,
  "1970" real,
  "1980" real,
  "1990" real,
  "1996_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a 1970 larger than 251 is what 1990 highest?`:
```sql
                SELECT MAX("1990") FROM "estimated_total_direct_programme_hours_p" WHERE "1980"<719 AND "1960"<205 AND "1996_2"<364 AND "1970">251;
```
## Task
Generate a SQL query to answer the following question:
`1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980?`

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

CREATE TABLE "estimated_total_direct_programme_hours_p" (
  "1950" real,
  "1960" real,
  "1970" real,
  "1980" real,
  "1990" real,
  "1996_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980?`:
```sql
                SELECT SUM("1980") FROM "estimated_total_direct_programme_hours_p" WHERE "1996_2">68 AND "1990"<352 AND "1970">105 AND "1950"=119;
```
## Task
Generate a SQL query to answer the following question:
`1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?`

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

CREATE TABLE "estimated_total_direct_programme_hours_p" (
  "1950" real,
  "1960" real,
  "1970" real,
  "1980" real,
  "1990" real,
  "1996_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?`:
```sql
                SELECT SUM("1980") FROM "estimated_total_direct_programme_hours_p" WHERE "1996_2"=127 AND "1990"<120;
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent at the game with a result of w 14–6?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent at the game with a result of w 14–6?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "result"='w 14–6';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game with a record of 2–3–2 before week 8?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game with a record of 2–3–2 before week 8?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"<8 AND "record"='2–3–2';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest week with a game at the Braves Field on October 2, 1932?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest week with a game at the Braves Field on October 2, 1932?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "game_site"='braves field' AND "date"='october 2, 1932';
```
## Task
Generate a SQL query to answer the following question:
`What was the record at the game on November 13, 1932?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record at the game on November 13, 1932?`:
```sql
                SELECT "record" FROM "schedule" WHERE "date"='november 13, 1932';
```
## Task
Generate a SQL query to answer the following question:
`What role is Kevin Bishop the actor?`

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

CREATE TABLE "others" (
  "character" text,
  "actor" text,
  "duration" text,
  "role" text,
  "appearances" text
);
### SQL
Given the database schema, here is the SQL query that answers `What role is Kevin Bishop the actor?`:
```sql
                SELECT "role" FROM "others" WHERE "actor"='kevin bishop';
```
## Task
Generate a SQL query to answer the following question:
`What is the duration for mike walling as the actor?`

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

CREATE TABLE "others" (
  "character" text,
  "actor" text,
  "duration" text,
  "role" text,
  "appearances" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration for mike walling as the actor?`:
```sql
                SELECT "duration" FROM "others" WHERE "actor"='mike walling';
```
## Task
Generate a SQL query to answer the following question:
`What is the duration that has 3 for appearances, and james garret as the character?`

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

CREATE TABLE "others" (
  "character" text,
  "actor" text,
  "duration" text,
  "role" text,
  "appearances" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration that has 3 for appearances, and james garret as the character?`:
```sql
                SELECT "duration" FROM "others" WHERE "appearances"='3' AND "character"='james garret';
```
## Task
Generate a SQL query to answer the following question:
`What is the duration for nickolas grace as the actor?`

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

CREATE TABLE "others" (
  "character" text,
  "actor" text,
  "duration" text,
  "role" text,
  "appearances" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration for nickolas grace as the actor?`:
```sql
                SELECT "duration" FROM "others" WHERE "actor"='nickolas grace';
```
## Task
Generate a SQL query to answer the following question:
`Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "time_et" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record?`:
```sql
                SELECT "record" FROM "schedule" WHERE "time_et"='1:00pm' AND "result"='w 34–14';
```
## Task
Generate a SQL query to answer the following question:
`Date of sun. oct. 1 has what location?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "time_et" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Date of sun. oct. 1 has what location?`:
```sql
                SELECT "location" FROM "schedule" WHERE "date"='sun. oct. 1';
```
## Task
Generate a SQL query to answer the following question:
`Record of 3–3 has what result?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "time_et" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Record of 3–3 has what result?`:
```sql
                SELECT "result" FROM "schedule" WHERE "record"='3–3';
```
## Task
Generate a SQL query to answer the following question:
`Date of sun. oct. 29 has what time (et)?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "time_et" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Date of sun. oct. 29 has what time (et)?`:
```sql
                SELECT "time_et" FROM "schedule" WHERE "date"='sun. oct. 29';
```
## Task
Generate a SQL query to answer the following question:
`How many games have more than 10 points and more than 2 draws?`

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

CREATE TABLE "world_championship_group_b_france" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have more than 10 points and more than 2 draws?`:
```sql
                SELECT COUNT("games") FROM "world_championship_group_b_france" WHERE "points"=10 AND "drawn">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of losses that have points of 11 and more than 1 draw?`

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

CREATE TABLE "world_championship_group_b_france" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of losses that have points of 11 and more than 1 draw?`:
```sql
                SELECT SUM("lost") FROM "world_championship_group_b_france" WHERE "points"=11 AND "drawn">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest points value that have draws under 2 and 2 losses?`

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

CREATE TABLE "world_championship_group_b_france" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest points value that have draws under 2 and 2 losses?`:
```sql
                SELECT MAX("points") FROM "world_championship_group_b_france" WHERE "drawn"<2 AND "lost"=2;
```
## Task
Generate a SQL query to answer the following question:
`How many losses have draw values under 1?`

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

CREATE TABLE "world_championship_group_b_france" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses have draw values under 1?`:
```sql
                SELECT COUNT("lost") FROM "world_championship_group_b_france" WHERE "drawn"<1;
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest February for less than 57 points?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest February for less than 57 points?`:
```sql
                SELECT MIN("february") FROM "regular_season" WHERE "points"<57;
```
## Task
Generate a SQL query to answer the following question:
`What's the February for the game against the Montreal Canadiens?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the February for the game against the Montreal Canadiens?`:
```sql
                SELECT SUM("february") FROM "regular_season" WHERE "opponent"='montreal canadiens';
```
## Task
Generate a SQL query to answer the following question:
`What's the record for Game 58?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the record for Game 58?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "game"=58;
```
## Task
Generate a SQL query to answer the following question:
`Which Winner has a Season of 2005–06?`

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

CREATE TABLE "list_of_finals" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Winner has a Season of 2005–06?`:
```sql
                SELECT "winner" FROM "list_of_finals" WHERE "season"='2005–06';
```
## Task
Generate a SQL query to answer the following question:
`Which Runner-up played in the Season of 2000–01?`

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

CREATE TABLE "list_of_finals" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Runner-up played in the Season of 2000–01?`:
```sql
                SELECT "runner_up" FROM "list_of_finals" WHERE "season"='2000–01';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue during the Season of 2010–11?`

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

CREATE TABLE "list_of_finals" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue during the Season of 2010–11?`:
```sql
                SELECT "venue" FROM "list_of_finals" WHERE "season"='2010–11';
```
## Task
Generate a SQL query to answer the following question:
`Which Winner has a Runner-up of larne, and a Season of 2003–04?`

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

CREATE TABLE "list_of_finals" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Winner has a Runner-up of larne, and a Season of 2003–04?`:
```sql
                SELECT "winner" FROM "list_of_finals" WHERE "runner_up"='larne' AND "season"='2003–04';
```
## Task
Generate a SQL query to answer the following question:
`Which Winner has a Score of 1 – 0, and a Season of 2011–12?`

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

CREATE TABLE "list_of_finals" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Winner has a Score of 1 – 0, and a Season of 2011–12?`:
```sql
                SELECT "winner" FROM "list_of_finals" WHERE "score"='1 – 0' AND "season"='2011–12';
```
## Task
Generate a SQL query to answer the following question:
`What position does Martin Rucker play?`

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

CREATE TABLE "2008_nfl_draft" (
  "round" real,
  "pick" text,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does Martin Rucker play?`:
```sql
                SELECT "position" FROM "2008_nfl_draft" WHERE "name"='martin rucker';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest round for Paul Hubbard?`

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

CREATE TABLE "2008_nfl_draft" (
  "round" real,
  "pick" text,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest round for Paul Hubbard?`:
```sql
                SELECT MIN("round") FROM "2008_nfl_draft" WHERE "name"='paul hubbard';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest round for a tight end position?`

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

CREATE TABLE "2008_nfl_draft" (
  "round" real,
  "pick" text,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest round for a tight end position?`:
```sql
                SELECT MIN("round") FROM "2008_nfl_draft" WHERE "position"='tight end';
```
## Task
Generate a SQL query to answer the following question:
`What years did the person coach who had more than 31 ties?`

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

CREATE TABLE "coaching_records" (
  "coach" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real
);
### SQL
Given the database schema, here is the SQL query that answers `What years did the person coach who had more than 31 ties?`:
```sql
                SELECT "years" FROM "coaching_records" WHERE "ties">31;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?`

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

CREATE TABLE "coaching_records" (
  "coach" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?`:
```sql
                SELECT AVG("wins") FROM "coaching_records" WHERE "losses"<174 AND "years"='1951 to 1956' AND "ties"<6;
```
## Task
Generate a SQL query to answer the following question:
`Who was the coach who had 215 losses?`

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

CREATE TABLE "coaching_records" (
  "coach" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the coach who had 215 losses?`:
```sql
                SELECT "coach" FROM "coaching_records" WHERE "losses"=215;
```
## Task
Generate a SQL query to answer the following question:
`What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses?`

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

CREATE TABLE "coaching_records" (
  "coach" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real
);
### SQL
Given the database schema, here is the SQL query that answers `What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses?`:
```sql
                SELECT "years" FROM "coaching_records" WHERE "ties">1 AND "wins"<311 AND "losses"=174;
```
## Task
Generate a SQL query to answer the following question:
`What years did the person coach who had less than 82 wins and more than 24 losses?`

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

CREATE TABLE "coaching_records" (
  "coach" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real
);
### SQL
Given the database schema, here is the SQL query that answers `What years did the person coach who had less than 82 wins and more than 24 losses?`:
```sql
                SELECT "years" FROM "coaching_records" WHERE "wins"<82 AND "losses">24;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Game larger than 25, and an Opponent of dallas stars?`

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

CREATE TABLE "game_log" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Game larger than 25, and an Opponent of dallas stars?`:
```sql
                SELECT AVG("points") FROM "game_log" WHERE "game">25 AND "opponent"='dallas stars';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?`

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

CREATE TABLE "game_log" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?`:
```sql
                SELECT "record" FROM "game_log" WHERE "december"<28 AND "points"<38 AND "game"<26 AND "score"='0–1 ot';
```
## Task
Generate a SQL query to answer the following question:
`Which Opponent has a Game of 31?`

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

CREATE TABLE "game_log" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponent has a Game of 31?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "game"=31;
```
## Task
Generate a SQL query to answer the following question:
`Which Record has Points smaller than 40, and a Game larger than 25, and a Score of 2–0?`

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

CREATE TABLE "game_log" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record has Points smaller than 40, and a Game larger than 25, and a Score of 2–0?`:
```sql
                SELECT "record" FROM "game_log" WHERE "points"<40 AND "game">25 AND "score"='2–0';
```
## Task
Generate a SQL query to answer the following question:
`Episode of 9 in which performer 3 had?`

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

CREATE TABLE "series_6" (
  "date" text,
  "episode" real,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `Episode of 9 in which performer 3 had?`:
```sql
                SELECT "performer_3" FROM "series_6" WHERE "episode"=9;
```
## Task
Generate a SQL query to answer the following question:
`Date of 8 july 1994 involves which performer 1?`

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

CREATE TABLE "series_6" (
  "date" text,
  "episode" real,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `Date of 8 july 1994 involves which performer 1?`:
```sql
                SELECT "performer_1" FROM "series_6" WHERE "date"='8 july 1994';
```
## Task
Generate a SQL query to answer the following question:
`Date of 15 july 1994 involves which performer 3?`

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

CREATE TABLE "series_6" (
  "date" text,
  "episode" real,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `Date of 15 july 1994 involves which performer 3?`:
```sql
                SELECT "performer_3" FROM "series_6" WHERE "date"='15 july 1994';
```
## Task
Generate a SQL query to answer the following question:
`Performer 2 of chip esten has what performer 3?`

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

CREATE TABLE "series_6" (
  "date" text,
  "episode" real,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `Performer 2 of chip esten has what performer 3?`:
```sql
                SELECT "performer_3" FROM "series_6" WHERE "performer_2"='chip esten';
```
## Task
Generate a SQL query to answer the following question:
`Which Name has a Pennant number of f82?`

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

CREATE TABLE "ships_of_the_class" (
  "name" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "date_of_commission" text,
  "homeport_as_of_july_2013" text,
  "planned_decommission_as_announced_in_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Name has a Pennant number of f82?`:
```sql
                SELECT "name" FROM "ships_of_the_class" WHERE "pennant_number"='f82';
```
## Task
Generate a SQL query to answer the following question:
`What is the Launched which is on 3 may 2001?`

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

CREATE TABLE "ships_of_the_class" (
  "name" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "date_of_commission" text,
  "homeport_as_of_july_2013" text,
  "planned_decommission_as_announced_in_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Launched which is on 3 may 2001?`:
```sql
                SELECT "launched" FROM "ships_of_the_class" WHERE "date_of_commission"='3 may 2001';
```
## Task
Generate a SQL query to answer the following question:
`What is the Homeport that has a Laid down on 14 december 1985?`

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

CREATE TABLE "ships_of_the_class" (
  "name" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "date_of_commission" text,
  "homeport_as_of_july_2013" text,
  "planned_decommission_as_announced_in_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Homeport that has a Laid down on 14 december 1985?`:
```sql
                SELECT "homeport_as_of_july_2013" FROM "ships_of_the_class" WHERE "laid_down"='14 december 1985';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?`

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

CREATE TABLE "ships_of_the_class" (
  "name" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "date_of_commission" text,
  "homeport_as_of_july_2013" text,
  "planned_decommission_as_announced_in_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?`:
```sql
                SELECT "launched" FROM "ships_of_the_class" WHERE "homeport_as_of_july_2013"='sold to chile' AND "pennant_number"='f80';
```
## Task
Generate a SQL query to answer the following question:
`Which player had more than 25 events?`

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

CREATE TABLE "money_leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "events" real,
  "prize_money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player had more than 25 events?`:
```sql
                SELECT "player" FROM "money_leaders" WHERE "events">25;
```
## Task
Generate a SQL query to answer the following question:
`What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?`

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

CREATE TABLE "money_leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "events" real,
  "prize_money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?`:
```sql
                SELECT "prize_money" FROM "money_leaders" WHERE "rank"<7 AND "events">6 AND "country"='fiji';
```
## Task
Generate a SQL query to answer the following question:
`What is the least amount of prize money when there are 21 events?`

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

CREATE TABLE "money_leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "events" real,
  "prize_money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of prize money when there are 21 events?`:
```sql
                SELECT MIN("prize_money") FROM "money_leaders" WHERE "events"=21;
```
## Task
Generate a SQL query to answer the following question:
`Which series episode has a netflix figure of s04e21?`

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

CREATE TABLE "season_8_2006_2007" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which series episode has a netflix figure of s04e21?`:
```sql
                SELECT "series_ep" FROM "season_8_2006_2007" WHERE "netflix"='s04e21';
```
## Task
Generate a SQL query to answer the following question:
`Which segment a's netflix figure is s04e24?`

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

CREATE TABLE "season_8_2006_2007" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which segment a's netflix figure is s04e24?`:
```sql
                SELECT "segment_a" FROM "season_8_2006_2007" WHERE "netflix"='s04e24';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes have a segment d that is goalie masks (part 2)?`

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

CREATE TABLE "season_8_2006_2007" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes have a segment d that is goalie masks (part 2)?`:
```sql
                SELECT COUNT("episode") FROM "season_8_2006_2007" WHERE "segment_d"='goalie masks (part 2)';
```
## Task
Generate a SQL query to answer the following question:
`Which episode's segment b is s hacksaw?`

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

CREATE TABLE "season_8_2006_2007" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode's segment b is s hacksaw?`:
```sql
                SELECT "episode" FROM "season_8_2006_2007" WHERE "segment_b"='s hacksaw';
```
## Task
Generate a SQL query to answer the following question:
`When was Lachlan Dale born?`

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

CREATE TABLE "player_roster" (
  "surname" text,
  "first" text,
  "d_o_b" text,
  "bats" text,
  "throws" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Lachlan Dale born?`:
```sql
                SELECT "d_o_b" FROM "player_roster" WHERE "surname"='dale' AND "first"='lachlan';
```
## Task
Generate a SQL query to answer the following question:
`Which batter played P and was born 18 April 1984?`

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

CREATE TABLE "player_roster" (
  "surname" text,
  "first" text,
  "d_o_b" text,
  "bats" text,
  "throws" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which batter played P and was born 18 April 1984?`:
```sql
                SELECT "bats" FROM "player_roster" WHERE "position"='p' AND "d_o_b"='18 april 1984';
```
## Task
Generate a SQL query to answer the following question:
`Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?`

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

CREATE TABLE "player_roster" (
  "surname" text,
  "first" text,
  "d_o_b" text,
  "bats" text,
  "throws" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?`:
```sql
                SELECT "surname" FROM "player_roster" WHERE "bats"='r' AND "position"='p' AND "d_o_b"='20 may 1989';
```
## Task
Generate a SQL query to answer the following question:
`Which Position has Throws of r, and a DOB of 12 february 1983?`

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

CREATE TABLE "player_roster" (
  "surname" text,
  "first" text,
  "d_o_b" text,
  "bats" text,
  "throws" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has Throws of r, and a DOB of 12 february 1983?`:
```sql
                SELECT "position" FROM "player_roster" WHERE "throws"='r' AND "d_o_b"='12 february 1983';
```
## Task
Generate a SQL query to answer the following question:
`How many throws did Needle have?`

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

CREATE TABLE "player_roster" (
  "surname" text,
  "first" text,
  "d_o_b" text,
  "bats" text,
  "throws" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many throws did Needle have?`:
```sql
                SELECT "throws" FROM "player_roster" WHERE "surname"='needle';
```
## Task
Generate a SQL query to answer the following question:
`Which DOB has Bats of s, and a Position of inf?`

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

CREATE TABLE "player_roster" (
  "surname" text,
  "first" text,
  "d_o_b" text,
  "bats" text,
  "throws" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which DOB has Bats of s, and a Position of inf?`:
```sql
                SELECT "d_o_b" FROM "player_roster" WHERE "bats"='s' AND "position"='inf';
```
## Task
Generate a SQL query to answer the following question:
`What is the Lap Length of the race with a Grand Prix Fia Category?`

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

CREATE TABLE "geneva_race_track_switzerland" (
  "date" text,
  "race" text,
  "race_track" text,
  "category" text,
  "lap_length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Lap Length of the race with a Grand Prix Fia Category?`:
```sql
                SELECT "lap_length" FROM "geneva_race_track_switzerland" WHERE "category"='grand prix fia';
```
## Task
Generate a SQL query to answer the following question:
`What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?`

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

CREATE TABLE "geneva_race_track_switzerland" (
  "date" text,
  "race" text,
  "race_track" text,
  "category" text,
  "lap_length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?`:
```sql
                SELECT "race" FROM "geneva_race_track_switzerland" WHERE "category"='formula 2 fia, non-championship' AND "date"='july 30, 1950';
```
## Task
Generate a SQL query to answer the following question:
`What was his record when the match went for 3:05?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was his record when the match went for 3:05?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='3:05';
```