cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the number enrolled where t/vap is exactly 52.9%?`

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

CREATE TABLE "electoral_districts" (
  "district" real,
  "region" text,
  "communes" text,
  "population_2002_census" real,
  "pct_of_total_population" text,
  "vap" real,
  "enrolled" real,
  "total_votes" real,
  "valid_votes" real,
  "turnout" text,
  "e_vap" text,
  "t_vap" text,
  "v_vap" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number enrolled where t/vap is exactly 52.9%?`:
```sql
                SELECT "enrolled" FROM "electoral_districts" WHERE "t_vap"='52.9%';
```
## Task
Generate a SQL query to answer the following question:
`How many districts have t/vap values of 67.0%?`

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

CREATE TABLE "electoral_districts" (
  "district" real,
  "region" text,
  "communes" text,
  "population_2002_census" real,
  "pct_of_total_population" text,
  "vap" real,
  "enrolled" real,
  "total_votes" real,
  "valid_votes" real,
  "turnout" text,
  "e_vap" text,
  "t_vap" text,
  "v_vap" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many districts have t/vap values of 67.0%?`:
```sql
                SELECT COUNT("district") FROM "electoral_districts" WHERE "t_vap"='67.0%';
```
## Task
Generate a SQL query to answer the following question:
`What is the e/vap value for a turnout of exactly 85.7%?`

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

CREATE TABLE "electoral_districts" (
  "district" real,
  "region" text,
  "communes" text,
  "population_2002_census" real,
  "pct_of_total_population" text,
  "vap" real,
  "enrolled" real,
  "total_votes" real,
  "valid_votes" real,
  "turnout" text,
  "e_vap" text,
  "t_vap" text,
  "v_vap" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the e/vap value for a turnout of exactly 85.7%?`:
```sql
                SELECT "e_vap" FROM "electoral_districts" WHERE "turnout"='85.7%';
```
## Task
Generate a SQL query to answer the following question:
`What communes have enrolled values of 174946?`

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

CREATE TABLE "electoral_districts" (
  "district" real,
  "region" text,
  "communes" text,
  "population_2002_census" real,
  "pct_of_total_population" text,
  "vap" real,
  "enrolled" real,
  "total_votes" real,
  "valid_votes" real,
  "turnout" text,
  "e_vap" text,
  "t_vap" text,
  "v_vap" text
);
### SQL
Given the database schema, here is the SQL query that answers `What communes have enrolled values of 174946?`:
```sql
                SELECT "communes" FROM "electoral_districts" WHERE "enrolled"=174946;
```
## Task
Generate a SQL query to answer the following question:
`How many total votes values are associated with t/vap values of 45.3%?`

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

CREATE TABLE "electoral_districts" (
  "district" real,
  "region" text,
  "communes" text,
  "population_2002_census" real,
  "pct_of_total_population" text,
  "vap" real,
  "enrolled" real,
  "total_votes" real,
  "valid_votes" real,
  "turnout" text,
  "e_vap" text,
  "t_vap" text,
  "v_vap" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total votes values are associated with t/vap values of 45.3%?`:
```sql
                SELECT COUNT("total_votes") FROM "electoral_districts" WHERE "t_vap"='45.3%';
```
## Task
Generate a SQL query to answer the following question:
`How many vap values are associated with 140469 valid votes?`

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

CREATE TABLE "electoral_districts" (
  "district" real,
  "region" text,
  "communes" text,
  "population_2002_census" real,
  "pct_of_total_population" text,
  "vap" real,
  "enrolled" real,
  "total_votes" real,
  "valid_votes" real,
  "turnout" text,
  "e_vap" text,
  "t_vap" text,
  "v_vap" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many vap values are associated with 140469 valid votes?`:
```sql
                SELECT COUNT("vap") FROM "electoral_districts" WHERE "valid_votes"=140469;
```
## Task
Generate a SQL query to answer the following question:
`Name the time for georgia`

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

CREATE TABLE "week_four" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the time for georgia`:
```sql
                SELECT "time" FROM "week_four" WHERE "visiting_team"='Georgia';
```
## Task
Generate a SQL query to answer the following question:
`Name the time for #1 alabama`

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

CREATE TABLE "week_four" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the time for #1 alabama`:
```sql
                SELECT "time" FROM "week_four" WHERE "visiting_team"='#1 Alabama';
```
## Task
Generate a SQL query to answer the following question:
`Name the time for result  msst 29–24`

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

CREATE TABLE "week_eight" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the time for result  msst 29–24`:
```sql
                SELECT "time" FROM "week_eight" WHERE "result"='MSST 29–24';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of time for uab`

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

CREATE TABLE "week_eight" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of time for uab`:
```sql
                SELECT COUNT("time") FROM "week_eight" WHERE "visiting_team"='UAB';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for broadcast fsn`

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

CREATE TABLE "week_eight" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for broadcast fsn`:
```sql
                SELECT "date" FROM "week_eight" WHERE "broadcast"='FSN';
```
## Task
Generate a SQL query to answer the following question:
`Name the broadcast for 7:00pm and mississippi state`

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

CREATE TABLE "week_eight" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the broadcast for 7:00pm and mississippi state`:
```sql
                SELECT "broadcast" FROM "week_eight" WHERE "time"='7:00pm' AND "home_team"='Mississippi State';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for espn`

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

CREATE TABLE "week_eight" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for espn`:
```sql
                SELECT "date" FROM "week_eight" WHERE "broadcast"='ESPN';
```
## Task
Generate a SQL query to answer the following question:
`Name the broadcast for  davis-wade stadium • starkville ms`

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

CREATE TABLE "week_eight" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the broadcast for  davis-wade stadium • starkville ms`:
```sql
                SELECT "broadcast" FROM "week_eight" WHERE "site"='Davis-Wade Stadium • Starkville MS';
```
## Task
Generate a SQL query to answer the following question:
` On what network was the Kentucky game broadcast? `

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

CREATE TABLE "week_seven" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers ` On what network was the Kentucky game broadcast? `:
```sql
                SELECT "broadcast" FROM "week_seven" WHERE "home_team"='Kentucky';
```
## Task
Generate a SQL query to answer the following question:
`Where's the louisiana-lafayette as a visiting team?`

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

CREATE TABLE "week_one" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where's the louisiana-lafayette as a visiting team?`:
```sql
                SELECT "site" FROM "week_one" WHERE "visiting_team"='Louisiana-Lafayette';
```
## Task
Generate a SQL query to answer the following question:
`What were the results of the  tennessee tech as a visiting team?`

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

CREATE TABLE "week_one" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the results of the  tennessee tech as a visiting team?`:
```sql
                SELECT "result" FROM "week_one" WHERE "visiting_team"='Tennessee Tech';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team where the San Jose state is the visiting team?`

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

CREATE TABLE "week_one" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team where the San Jose state is the visiting team?`:
```sql
                SELECT "home_team" FROM "week_one" WHERE "visiting_team"='San Jose State';
```
## Task
Generate a SQL query to answer the following question:
`What were the results in the bryant-denny stadium • tuscaloosa, al?`

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

CREATE TABLE "week_one" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the results in the bryant-denny stadium • tuscaloosa, al?`:
```sql
                SELECT "result" FROM "week_one" WHERE "site"='Bryant-Denny Stadium • Tuscaloosa, AL';
```
## Task
Generate a SQL query to answer the following question:
`What home team is at  7:30pm in ESPN?`

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

CREATE TABLE "week_one" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What home team is at  7:30pm in ESPN?`:
```sql
                SELECT "home_team" FROM "week_one" WHERE "time"='7:30pm' AND "broadcast"='ESPN';
```
## Task
Generate a SQL query to answer the following question:
`If the visiting team is Clemson, when was the time?`

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

CREATE TABLE "week_three" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the visiting team is Clemson, when was the time?`:
```sql
                SELECT "time" FROM "week_three" WHERE "visiting_team"='Clemson';
```
## Task
Generate a SQL query to answer the following question:
`How many times was the site wallace wade stadium • durham, nc?`

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

CREATE TABLE "week_three" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was the site wallace wade stadium • durham, nc?`:
```sql
                SELECT COUNT("attendance") FROM "week_three" WHERE "site"='Wallace Wade Stadium • Durham, NC';
```
## Task
Generate a SQL query to answer the following question:
`If the site was wallace wade stadium • durham, nc, what was the result?`

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

CREATE TABLE "week_three" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the site was wallace wade stadium • durham, nc, what was the result?`:
```sql
                SELECT "result" FROM "week_three" WHERE "site"='Wallace Wade Stadium • Durham, NC';
```
## Task
Generate a SQL query to answer the following question:
`If the site is sanford stadium • athens, ga, what is the date?`

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

CREATE TABLE "week_three" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the site is sanford stadium • athens, ga, what is the date?`:
```sql
                SELECT "date" FROM "week_three" WHERE "site"='Sanford Stadium • Athens, GA';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for the movie with 4.32 million U.S. viewers?`

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

CREATE TABLE "table1_26845668_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code for the movie with 4.32 million U.S. viewers?`:
```sql
                SELECT "production_code" FROM "table1_26845668_1" WHERE "u_s_viewers_millions"='4.32';
```
## Task
Generate a SQL query to answer the following question:
`How many times was Louisiana-Monroe a visiting team?`

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

CREATE TABLE "week_two" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was Louisiana-Monroe a visiting team?`:
```sql
                SELECT COUNT("time") FROM "week_two" WHERE "visiting_team"='Louisiana-Monroe';
```
## Task
Generate a SQL query to answer the following question:
`List all dates where South Florida was a visiting team.`

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

CREATE TABLE "week_two" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `List all dates where South Florida was a visiting team.`:
```sql
                SELECT "date" FROM "week_two" WHERE "visiting_team"='South Florida';
```
## Task
Generate a SQL query to answer the following question:
`How many times was #7 Oregon a visiting team?`

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

CREATE TABLE "week_two" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was #7 Oregon a visiting team?`:
```sql
                SELECT "time" FROM "week_two" WHERE "visiting_team"='#7 Oregon';
```
## Task
Generate a SQL query to answer the following question:
`List all home teams when Western Kentucky was the visiting team.`

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

CREATE TABLE "week_two" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `List all home teams when Western Kentucky was the visiting team.`:
```sql
                SELECT "home_team" FROM "week_two" WHERE "visiting_team"='Western Kentucky';
```
## Task
Generate a SQL query to answer the following question:
`List all times with Kentucky as the home team.`

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

CREATE TABLE "week_two" (
  "date" text,
  "time" text,
  "visiting_team" text,
  "home_team" text,
  "site" text,
  "broadcast" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `List all times with Kentucky as the home team.`:
```sql
                SELECT "time" FROM "week_two" WHERE "home_team"='Kentucky';
```
## Task
Generate a SQL query to answer the following question:
`What is the score when the opposition is mid canterbury?`

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

CREATE TABLE "2009" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when the opposition is mid canterbury?`:
```sql
                SELECT "score" FROM "2009" WHERE "opposition"='Mid Canterbury';
```
## Task
Generate a SQL query to answer the following question:
`what is the home team when the opposition is east coast?`

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

CREATE TABLE "2009" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the home team when the opposition is east coast?`:
```sql
                SELECT "home_team" FROM "2009" WHERE "opposition"='East Coast';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team when the opposition is wairarapa bush?`

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

CREATE TABLE "2009" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team when the opposition is wairarapa bush?`:
```sql
                SELECT "home_team" FROM "2009" WHERE "opposition"='Wairarapa Bush';
```
## Task
Generate a SQL query to answer the following question:
`what is the home team when the round # is round 1?`

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

CREATE TABLE "2009" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the home team when the round # is round 1?`:
```sql
                SELECT "home_team" FROM "2009" WHERE "round_num"='Round 1';
```
## Task
Generate a SQL query to answer the following question:
`Who is the opposition when the score is 37 - 28?`

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

CREATE TABLE "2009" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the opposition when the score is 37 - 28?`:
```sql
                SELECT "opposition" FROM "2009" WHERE "score"='37 - 28';
```
## Task
Generate a SQL query to answer the following question:
`What is the location when the opposition is mid canterbury?`

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

CREATE TABLE "2009" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location when the opposition is mid canterbury?`:
```sql
                SELECT "location" FROM "2009" WHERE "opposition"='Mid Canterbury';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in round 7?`

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

CREATE TABLE "2008" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in round 7?`:
```sql
                SELECT "score" FROM "2008" WHERE "round_num"='Round 7';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the opposition was Buller?`

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

CREATE TABLE "2008" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team when the opposition was Buller?`:
```sql
                SELECT "home_team" FROM "2008" WHERE "opposition"='Buller';
```
## Task
Generate a SQL query to answer the following question:
`Was it a win or loss for Wanganui in round 3?`

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

CREATE TABLE "2008" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Was it a win or loss for Wanganui in round 3?`:
```sql
                SELECT "win_loss" FROM "2008" WHERE "round_num"='Round 3';
```
## Task
Generate a SQL query to answer the following question:
`What was the location when the opposition was East Coast?`

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

CREATE TABLE "2008" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the location when the opposition was East Coast?`:
```sql
                SELECT "location" FROM "2008" WHERE "opposition"='East Coast';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the opposition was West Coast in Wanganui?`

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

CREATE TABLE "2008" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the opposition was West Coast in Wanganui?`:
```sql
                SELECT "score" FROM "2008" WHERE "opposition"='West Coast' AND "location"='Wanganui';
```
## Task
Generate a SQL query to answer the following question:
`Was it a win or a loss for Wanganui in Paeroa?`

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

CREATE TABLE "2008" (
  "round_num" text,
  "home_team" text,
  "win_loss" text,
  "score" text,
  "opposition" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Was it a win or a loss for Wanganui in Paeroa?`:
```sql
                SELECT "win_loss" FROM "2008" WHERE "location"='Paeroa';
```
## Task
Generate a SQL query to answer the following question:
`What is every original air date for series# of 26?`

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

CREATE TABLE "table1_26866205_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every original air date for series# of 26?`:
```sql
                SELECT "original_airdate" FROM "table1_26866205_1" WHERE "series_num"=26;
```
## Task
Generate a SQL query to answer the following question:
`Who is the director where title is "the comeback"?`

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

CREATE TABLE "table1_26866277_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director where title is "the comeback"?`:
```sql
                SELECT "director" FROM "table1_26866277_1" WHERE "title"='\"The Comeback\"';
```
## Task
Generate a SQL query to answer the following question:
`The episode with the title "Written in Dust" is what episode #? `

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

CREATE TABLE "table1_26866233_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `The episode with the title "Written in Dust" is what episode #? `:
```sql
                SELECT "episode_num" FROM "table1_26866233_1" WHERE "title"='\"Written in Dust\"';
```
## Task
Generate a SQL query to answer the following question:
`Who are the directors of the episode in series # 54?`

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

CREATE TABLE "table1_26866233_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the directors of the episode in series # 54?`:
```sql
                SELECT "director" FROM "table1_26866233_1" WHERE "series_num"=54;
```
## Task
Generate a SQL query to answer the following question:
`The director of the episode with the title "The Sky is Falling" is who?`

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

CREATE TABLE "table1_26866233_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `The director of the episode with the title "The Sky is Falling" is who?`:
```sql
                SELECT "director" FROM "table1_26866233_1" WHERE "title"='\"The Sky is Falling\"';
```
## Task
Generate a SQL query to answer the following question:
`Who are the writers of the episode with the title "An Angel by Any Other Name"?`

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

CREATE TABLE "table1_26866233_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the writers of the episode with the title "An Angel by Any Other Name"?`:
```sql
                SELECT "writer" FROM "table1_26866233_1" WHERE "title"='\"An Angel by Any Other Name\"';
```
## Task
Generate a SQL query to answer the following question:
`The episode where the director is Gene Reynolds has who as the writer?`

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

CREATE TABLE "table1_26866233_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `The episode where the director is Gene Reynolds has who as the writer?`:
```sql
                SELECT "writer" FROM "table1_26866233_1" WHERE "director"='Gene Reynolds';
```
## Task
Generate a SQL query to answer the following question:
`The episode with the original airdate December22,1996 has what title? `

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

CREATE TABLE "table1_26866233_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `The episode with the original airdate December22,1996 has what title? `:
```sql
                SELECT "title" FROM "table1_26866233_1" WHERE "original_airdate"='December22,1996';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date of the episode written by michael glassberg?`

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

CREATE TABLE "table1_26866299_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date of the episode written by michael glassberg?`:
```sql
                SELECT "original_airdate" FROM "table1_26866299_1" WHERE "writer"='Michael Glassberg';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date for episode number 96 in the series?`

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

CREATE TABLE "table1_26866299_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date for episode number 96 in the series?`:
```sql
                SELECT "original_airdate" FROM "table1_26866299_1" WHERE "series_num"=96;
```
## Task
Generate a SQL query to answer the following question:
`What was the first numbered episode in the series titled "the wind beneath our wings"?`

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

CREATE TABLE "table1_26866299_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first numbered episode in the series titled "the wind beneath our wings"?`:
```sql
                SELECT MIN("series_num") FROM "table1_26866299_1" WHERE "title"='\"The Wind Beneath Our Wings\"';
```
## Task
Generate a SQL query to answer the following question:
`What numbered episode in the series is directed by tim van patten and titled "black like monica"?`

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

CREATE TABLE "table1_26866299_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What numbered episode in the series is directed by tim van patten and titled "black like monica"?`:
```sql
                SELECT MIN("series_num") FROM "table1_26866299_1" WHERE "director"='Tim Van Patten' AND "title"='\"Black Like Monica\"';
```
## Task
Generate a SQL query to answer the following question:
`What episode number in the series is "millennium"?`

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

CREATE TABLE "table1_26866434_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series is "millennium"?`:
```sql
                SELECT MIN("series_num") FROM "table1_26866434_1" WHERE "title"='\"Millennium\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode 122 in the series?`

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

CREATE TABLE "table1_26866434_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode 122 in the series?`:
```sql
                SELECT "writer" FROM "table1_26866434_1" WHERE "series_num"=122;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "Monica's bad day"?`

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

CREATE TABLE "table1_26866434_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "Monica's bad day"?`:
```sql
                SELECT "writer" FROM "table1_26866434_1" WHERE "title"='\"Monica''s Bad Day\"';
```
## Task
Generate a SQL query to answer the following question:
`Who directed series episode number 201?`

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

CREATE TABLE "table1_26866519_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed series episode number 201?`:
```sql
                SELECT "director" FROM "table1_26866519_1" WHERE "series_num"=201;
```
## Task
Generate a SQL query to answer the following question:
`What is the first series episode number for "the christmas watch"?`

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

CREATE TABLE "table1_26866519_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first series episode number for "the christmas watch"?`:
```sql
                SELECT MIN("series_num") FROM "table1_26866519_1" WHERE "title"='\"The Christmas Watch\"';
```
## Task
Generate a SQL query to answer the following question:
`What are the original air date(s) for season episode 20?`

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

CREATE TABLE "table1_26866519_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the original air date(s) for season episode 20?`:
```sql
                SELECT "original_airdate" FROM "table1_26866519_1" WHERE "season_num"=20;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "at the end of the aisle"?`

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

CREATE TABLE "table1_26866519_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "at the end of the aisle"?`:
```sql
                SELECT "writer" FROM "table1_26866519_1" WHERE "title"='\"At The End of the Aisle\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "the word"?`

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

CREATE TABLE "table1_26866519_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "the word"?`:
```sql
                SELECT "writer" FROM "table1_26866519_1" WHERE "title"='\"The Word\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes are directed by ricardo mendez matta?`

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

CREATE TABLE "table1_26866519_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes are directed by ricardo mendez matta?`:
```sql
                SELECT COUNT("season_num") FROM "table1_26866519_1" WHERE "director"='Ricardo Mendez Matta';
```
## Task
Generate a SQL query to answer the following question:
`Name the leaast points for standing 5th`

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

CREATE TABLE "central_hockey_league" (
  "season" text,
  "games" real,
  "wins" real,
  "losses" real,
  "ties" real,
  "points" real,
  "goals_for" real,
  "goals_against" real,
  "standing" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the leaast points for standing 5th`:
```sql
                SELECT MIN("points") FROM "central_hockey_league" WHERE "standing"='5th';
```
## Task
Generate a SQL query to answer the following question:
`If puma is 12, what is camper?`

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

CREATE TABLE "table1_26894949_2" (
  "event" text,
  "start_date" text,
  "finish_date" text,
  "start" text,
  "finish" text,
  "distance" text,
  "abu_dhabi" text,
  "camper" real,
  "groupama" real,
  "puma" text,
  "sanya" text,
  "telef_nica" real
);
### SQL
Given the database schema, here is the SQL query that answers `If puma is 12, what is camper?`:
```sql
                SELECT MIN("camper") FROM "table1_26894949_2" WHERE "puma"='12';
```
## Task
Generate a SQL query to answer the following question:
`In how many events was Puma 20 and abu dhabi 30?`

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

CREATE TABLE "table1_26894949_2" (
  "event" text,
  "start_date" text,
  "finish_date" text,
  "start" text,
  "finish" text,
  "distance" text,
  "abu_dhabi" text,
  "camper" real,
  "groupama" real,
  "puma" text,
  "sanya" text,
  "telef_nica" real
);
### SQL
Given the database schema, here is the SQL query that answers `In how many events was Puma 20 and abu dhabi 30?`:
```sql
                SELECT COUNT("event") FROM "table1_26894949_2" WHERE "puma"='20' AND "abu_dhabi"='30';
```
## Task
Generate a SQL query to answer the following question:
`How many time was the distance Abu Dhabi?`

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

CREATE TABLE "table1_26894949_2" (
  "event" text,
  "start_date" text,
  "finish_date" text,
  "start" text,
  "finish" text,
  "distance" text,
  "abu_dhabi" text,
  "camper" real,
  "groupama" real,
  "puma" text,
  "sanya" text,
  "telef_nica" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many time was the distance Abu Dhabi?`:
```sql
                SELECT COUNT("sanya") FROM "table1_26894949_2" WHERE "distance"='Abu Dhabi';
```
## Task
Generate a SQL query to answer the following question:
`When czech republic is the country what is the lowest amount l?`

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

CREATE TABLE "standings" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `When czech republic is the country what is the lowest amount l?`:
```sql
                SELECT MIN("l") FROM "standings" WHERE "country"='Czech Republic';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest amount of ends lost?`

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

CREATE TABLE "standings" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest amount of ends lost?`:
```sql
                SELECT MAX("ends_lost") FROM "standings";
```
## Task
Generate a SQL query to answer the following question:
`When sweden is the country who is the skip?`

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

CREATE TABLE "standings" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `When sweden is the country who is the skip?`:
```sql
                SELECT "skip" FROM "standings" WHERE "country"='Sweden';
```
## Task
Generate a SQL query to answer the following question:
`When chen lu'an is the skip what is the lowest amount l's?`

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

CREATE TABLE "standings" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `When chen lu'an is the skip what is the lowest amount l's?`:
```sql
                SELECT MIN("l") FROM "standings" WHERE "skip"='Chen Lu''an';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the story viewed by 0.53 million viewers?`

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

CREATE TABLE "table1_26914076_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "story_by" text,
  "teleplay_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the story viewed by 0.53 million viewers?`:
```sql
                SELECT "story_by" FROM "table1_26914076_3" WHERE "u_s_viewers_millions"='0.53';
```
## Task
Generate a SQL query to answer the following question:
`How many viewers watched the episode with a story by david simon & mari kornhauser?`

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

CREATE TABLE "table1_26914076_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "story_by" text,
  "teleplay_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many viewers watched the episode with a story by david simon & mari kornhauser?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_26914076_3" WHERE "story_by"='David Simon & Mari Kornhauser';
```
## Task
Generate a SQL query to answer the following question:
`How many entries are there for u.s. viewers (millions) for the episode directed by rob bailey?`

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

CREATE TABLE "table1_26914076_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "story_by" text,
  "teleplay_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries are there for u.s. viewers (millions) for the episode directed by rob bailey?`:
```sql
                SELECT COUNT("u_s_viewers_millions") FROM "table1_26914076_3" WHERE "directed_by"='Rob Bailey';
```
## Task
Generate a SQL query to answer the following question:
`What is the date the episode directed by rob bailey aired?`

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

CREATE TABLE "table1_26914076_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "story_by" text,
  "teleplay_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date the episode directed by rob bailey aired?`:
```sql
                SELECT "original_air_date" FROM "table1_26914076_3" WHERE "directed_by"='Rob Bailey';
```
## Task
Generate a SQL query to answer the following question:
`WHich team had dave penney as an incoming manager`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "incoming_manager" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich team had dave penney as an incoming manager`:
```sql
                SELECT "team" FROM "managerial_changes" WHERE "incoming_manager"='Dave Penney';
```
## Task
Generate a SQL query to answer the following question:
`What was the manner of departure for notts county with an incoming manager of martin allen`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "incoming_manager" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the manner of departure for notts county with an incoming manager of martin allen`:
```sql
                SELECT "manner_of_departure" FROM "managerial_changes" WHERE "team"='Notts County' AND "incoming_manager"='Martin Allen';
```