cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the title that aired for november 08, 1985`

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

CREATE TABLE "table1_20967430_2" (
  "ep" real,
  "season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the title that aired for november 08, 1985`:
```sql
                SELECT "title" FROM "table1_20967430_2" WHERE "original_air_date"='November 08, 1985';
```
## Task
Generate a SQL query to answer the following question:
`Name the production code for november 08, 1985`

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

CREATE TABLE "table1_20967430_2" (
  "ep" real,
  "season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the production code for november 08, 1985`:
```sql
                SELECT "prod_code" FROM "table1_20967430_2" WHERE "original_air_date"='November 08, 1985';
```
## Task
Generate a SQL query to answer the following question:
`Name the written by for production code 4g07`

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

CREATE TABLE "table1_20967430_2" (
  "ep" real,
  "season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the written by for production code 4g07`:
```sql
                SELECT "written_by" FROM "table1_20967430_2" WHERE "prod_code"='4G07';
```
## Task
Generate a SQL query to answer the following question:
`Name the least episode for november 29, 1985`

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

CREATE TABLE "table1_20967430_2" (
  "ep" real,
  "season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least episode for november 29, 1985`:
```sql
                SELECT MIN("ep") FROM "table1_20967430_2" WHERE "original_air_date"='November 29, 1985';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score when tracy austin was runner up?`

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

CREATE TABLE "singles" (
  "series_year" real,
  "series_ending_tournament" text,
  "location" text,
  "surface" text,
  "champion" text,
  "runner_up" text,
  "score_in_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score when tracy austin was runner up?`:
```sql
                SELECT "score_in_final" FROM "singles" WHERE "runner_up"='Tracy Austin';
```
## Task
Generate a SQL query to answer the following question:
`When "jobless" is the title who are the writers?`

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

CREATE TABLE "table1_20967430_3" (
  "ep" real,
  "season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `When "jobless" is the title who are the writers?`:
```sql
                SELECT "written_by" FROM "table1_20967430_3" WHERE "title"='\"Jobless\"';
```
## Task
Generate a SQL query to answer the following question:
`When 5a06 is the production code what is the highest episode?`

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

CREATE TABLE "table1_20967430_3" (
  "ep" real,
  "season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 5a06 is the production code what is the highest episode?`:
```sql
                SELECT MAX("ep") FROM "table1_20967430_3" WHERE "prod_code"='5A06';
```
## Task
Generate a SQL query to answer the following question:
`When it is season 10 who are the writers?`

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

CREATE TABLE "table1_20967430_3" (
  "ep" real,
  "season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `When it is season 10 who are the writers?`:
```sql
                SELECT "written_by" FROM "table1_20967430_3" WHERE "season"=10;
```
## Task
Generate a SQL query to answer the following question:
`when womens singles is wang yihan and tour is french super series, what were the men's singles?`

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

CREATE TABLE "winners" (
  "tour" text,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `when womens singles is wang yihan and tour is french super series, what were the men's singles?`:
```sql
                SELECT "mens_singles" FROM "winners" WHERE "womens_singles"='Wang Yihan' AND "tour"='French Super Series';
```
## Task
Generate a SQL query to answer the following question:
`when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour?`

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

CREATE TABLE "winners" (
  "tour" text,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour?`:
```sql
                SELECT "tour" FROM "winners" WHERE "mixed_doubles"='Zheng Bo Ma Jin' AND "womens_singles"='Wang Yihan';
```
## Task
Generate a SQL query to answer the following question:
`How many titles were directed by Alex Chapple?`

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

CREATE TABLE "season_3" (
  "episode_num" real,
  "episode" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text,
  "u_s_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many titles were directed by Alex Chapple?`:
```sql
                SELECT COUNT("title") FROM "season_3" WHERE "director"='Alex Chapple';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of the "Adam's Family"?`

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

CREATE TABLE "season_3" (
  "episode_num" real,
  "episode" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text,
  "u_s_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of the "Adam's Family"?`:
```sql
                SELECT "director" FROM "season_3" WHERE "title"='\"Adam''s Family\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the us airdate for "Bear Breasts"?`

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

CREATE TABLE "season_3" (
  "episode_num" real,
  "episode" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text,
  "u_s_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the us airdate for "Bear Breasts"?`:
```sql
                SELECT "u_s_airdate" FROM "season_3" WHERE "title"='\"Bear Breasts\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the USA airdate for "Jenny From the Block"?`

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

CREATE TABLE "season_3" (
  "episode_num" real,
  "episode" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text,
  "u_s_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the USA airdate for "Jenny From the Block"?`:
```sql
                SELECT "u_s_airdate" FROM "season_3" WHERE "title"='\"Jenny from the Block\"';
```
## Task
Generate a SQL query to answer the following question:
`Name the most number for air date 2009/12/29`

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

CREATE TABLE "season_2" (
  "num" real,
  "episode" text,
  "air_date_canada_yyyy_mm_dd" text,
  "viewers_canada" real,
  "air_date_netherlands_yyyy_mm_dd" text,
  "viewers_netherlands" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number for air date 2009/12/29`:
```sql
                SELECT MAX("num") FROM "season_2" WHERE "air_date_netherlands_yyyy_mm_dd"='2009/12/29';
```
## Task
Generate a SQL query to answer the following question:
`How many millions viewers watched the episode that ran 23:25?`

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

CREATE TABLE "table1_2101431_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions viewers watched the episode that ran 23:25?`:
```sql
                SELECT "viewers_in_millions" FROM "table1_2101431_1" WHERE "run_time"='23:25';
```
## Task
Generate a SQL query to answer the following question:
`What is the broadcast date of the episode on 16mm t/r that ran 23:25?`

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

CREATE TABLE "table1_2101431_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the broadcast date of the episode on 16mm t/r that ran 23:25?`:
```sql
                SELECT "broadcast_date" FROM "table1_2101431_1" WHERE "archive"='16mm t/r' AND "run_time"='23:25';
```
## Task
Generate a SQL query to answer the following question:
`Which episode was watched by 7.2 million viewers?`

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

CREATE TABLE "table1_2101431_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode was watched by 7.2 million viewers?`:
```sql
                SELECT "episode" FROM "table1_2101431_1" WHERE "viewers_in_millions"='7.2';
```
## Task
Generate a SQL query to answer the following question:
`What episode had a run time of 24:18?`

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

CREATE TABLE "table1_2101431_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode had a run time of 24:18?`:
```sql
                SELECT "episode" FROM "table1_2101431_1" WHERE "run_time"='24:18';
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest number of valves?`

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

CREATE TABLE "technical_specifications" (
  "displacement" text,
  "bore" text,
  "stroke" text,
  "cylinders" text,
  "valves" real,
  "power" text,
  "torque" text,
  "applications" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest number of valves?`:
```sql
                SELECT MIN("valves") FROM "technical_specifications";
```
## Task
Generate a SQL query to answer the following question:
`For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke?`

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

CREATE TABLE "technical_specifications" (
  "displacement" text,
  "bore" text,
  "stroke" text,
  "cylinders" text,
  "valves" real,
  "power" text,
  "torque" text,
  "applications" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke?`:
```sql
                SELECT "stroke" FROM "technical_specifications" WHERE "applications"='1999 W210 E-Class , 2000 W203 C-Class';
```
## Task
Generate a SQL query to answer the following question:
`What is the displacement for torque of  n·m (lb·ft) @1500 rpm?`

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

CREATE TABLE "technical_specifications" (
  "displacement" text,
  "bore" text,
  "stroke" text,
  "cylinders" text,
  "valves" real,
  "power" text,
  "torque" text,
  "applications" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the displacement for torque of  n·m (lb·ft) @1500 rpm?`:
```sql
                SELECT "displacement" FROM "technical_specifications" WHERE "torque"='N·m (lb·ft) @1500 rpm';
```
## Task
Generate a SQL query to answer the following question:
`If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power?`

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

CREATE TABLE "technical_specifications" (
  "displacement" text,
  "bore" text,
  "stroke" text,
  "cylinders" text,
  "valves" real,
  "power" text,
  "torque" text,
  "applications" text
);
### SQL
Given the database schema, here is the SQL query that answers `If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power?`:
```sql
                SELECT "power" FROM "technical_specifications" WHERE "torque"='N·m (lb·ft) @1600–2400 rpm' AND "applications"='2000 W90x Sprinter';
```
## Task
Generate a SQL query to answer the following question:
`List the torque possible when the stroke is 88.4mm?`

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

CREATE TABLE "technical_specifications" (
  "displacement" text,
  "bore" text,
  "stroke" text,
  "cylinders" text,
  "valves" real,
  "power" text,
  "torque" text,
  "applications" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the torque possible when the stroke is 88.4mm?`:
```sql
                SELECT "torque" FROM "technical_specifications" WHERE "stroke"='88.4mm';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for 7-1-0`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "sun_devils_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponent for 7-1-0`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "record"='7-1-0';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode for run time 25:05`

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

CREATE TABLE "table1_2102782_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episode for run time 25:05`:
```sql
                SELECT "episode" FROM "table1_2102782_1" WHERE "run_time"='25:05';
```
## Task
Generate a SQL query to answer the following question:
`Name the broadcast date for run timke of 25:04`

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

CREATE TABLE "table1_2102782_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the broadcast date for run timke of 25:04`:
```sql
                SELECT "broadcast_date" FROM "table1_2102782_1" WHERE "run_time"='25:04';
```
## Task
Generate a SQL query to answer the following question:
`Name the archive for run time of 23:55`

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

CREATE TABLE "table1_2102782_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the archive for run time of 23:55`:
```sql
                SELECT "archive" FROM "table1_2102782_1" WHERE "run_time"='23:55';
```
## Task
Generate a SQL query to answer the following question:
`Name the broadcast date for 7.4 viewers`

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

CREATE TABLE "table1_2102782_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the broadcast date for 7.4 viewers`:
```sql
                SELECT "broadcast_date" FROM "table1_2102782_1" WHERE "viewers_in_millions"='7.4';
```
## Task
Generate a SQL query to answer the following question:
`Name the broadcast date for 6.0 viewers`

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

CREATE TABLE "table1_2102782_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the broadcast date for 6.0 viewers`:
```sql
                SELECT "broadcast_date" FROM "table1_2102782_1" WHERE "viewers_in_millions"='6.0';
```
## Task
Generate a SQL query to answer the following question:
`What was the episode number for "Going Bodmin"?`

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

CREATE TABLE "table1_21025437_2" (
  "episode_no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "viewers_millions" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the episode number for "Going Bodmin"?`:
```sql
                SELECT MAX("episode_no") FROM "table1_21025437_2" WHERE "title"='\"Going Bodmin\"';
```
## Task
Generate a SQL query to answer the following question:
`When did "Going Bodmin" originally air?`

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

CREATE TABLE "table1_21025437_2" (
  "episode_no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "viewers_millions" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did "Going Bodmin" originally air?`:
```sql
                SELECT "original_airdate" FROM "table1_21025437_2" WHERE "title"='\"Going Bodmin\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were written by Kirstie Falkous & John Regier?`

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

CREATE TABLE "table1_21025437_2" (
  "episode_no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "viewers_millions" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were written by Kirstie Falkous & John Regier?`:
```sql
                SELECT COUNT("episode_no") FROM "table1_21025437_2" WHERE "written_by"='Kirstie Falkous & John Regier';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were titled "Going Bodmin"?`

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

CREATE TABLE "table1_21025437_2" (
  "episode_no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "viewers_millions" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were titled "Going Bodmin"?`:
```sql
                SELECT "episode_no" FROM "table1_21025437_2" WHERE "title"='\"Going Bodmin\"';
```
## Task
Generate a SQL query to answer the following question:
`What episode had 9.7 million viewers?`

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

CREATE TABLE "table1_2102714_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode had 9.7 million viewers?`:
```sql
                SELECT "episode" FROM "table1_2102714_1" WHERE "viewers_in_millions"='9.7';
```
## Task
Generate a SQL query to answer the following question:
`What date was an episode broadcasted on that had a run time of 24:40?`

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

CREATE TABLE "table1_2102714_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was an episode broadcasted on that had a run time of 24:40?`:
```sql
                SELECT "broadcast_date" FROM "table1_2102714_1" WHERE "run_time"='24:40';
```
## Task
Generate a SQL query to answer the following question:
`What episode had a run time of 24:53?`

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

CREATE TABLE "table1_2102714_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode had a run time of 24:53?`:
```sql
                SELECT "episode" FROM "table1_2102714_1" WHERE "run_time"='24:53';
```
## Task
Generate a SQL query to answer the following question:
`What was the archive for the episode with a run time of 25:24?`

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

CREATE TABLE "table1_2102714_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the archive for the episode with a run time of 25:24?`:
```sql
                SELECT "archive" FROM "table1_2102714_1" WHERE "run_time"='25:24';
```
## Task
Generate a SQL query to answer the following question:
`What is he archive for the episode with a run time of 24:05?`

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

CREATE TABLE "table1_2102714_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is he archive for the episode with a run time of 24:05?`:
```sql
                SELECT "archive" FROM "table1_2102714_1" WHERE "run_time"='24:05';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode "the departed"?`

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

CREATE TABLE "table1_21025437_6" (
  "episode_no" real,
  "series_no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "viewers_millions" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode "the departed"?`:
```sql
                SELECT "directed_by" FROM "table1_21025437_6" WHERE "title"='\"The Departed\"';
```
## Task
Generate a SQL query to answer the following question:
`Who directed episode number 23?`

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

CREATE TABLE "table1_21025437_6" (
  "episode_no" real,
  "series_no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "viewers_millions" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed episode number 23?`:
```sql
                SELECT "directed_by" FROM "table1_21025437_6" WHERE "episode_no"=23;
```
## Task
Generate a SQL query to answer the following question:
`What was the numer of the game when the record was 4-0?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "sun_devils_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the numer of the game when the record was 4-0?`:
```sql
                SELECT MAX("game") FROM "schedule" WHERE "record"='4-0';
```
## Task
Generate a SQL query to answer the following question:
`How many opponents led to an exactly 7-0 record?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "sun_devils_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many opponents led to an exactly 7-0 record?`:
```sql
                SELECT COUNT("opponent") FROM "schedule" WHERE "record"='7-0';
```
## Task
Generate a SQL query to answer the following question:
`What number was the game against Kansas State?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "sun_devils_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number was the game against Kansas State?`:
```sql
                SELECT "game" FROM "schedule" WHERE "opponent"='Kansas State';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes ran 24:33?`

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

CREATE TABLE "table1_2102898_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes ran 24:33?`:
```sql
                SELECT COUNT("episode") FROM "table1_2102898_1" WHERE "run_time"='24:33';
```
## Task
Generate a SQL query to answer the following question:
`On broadcast date is 25april1970, how many people tuned in?`

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

CREATE TABLE "table1_2102898_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `On broadcast date is 25april1970, how many people tuned in?`:
```sql
                SELECT "viewers_in_millions" FROM "table1_2102898_1" WHERE "broadcast_date"='25April1970';
```
## Task
Generate a SQL query to answer the following question:
`On broadcast date is 28march1970, how many people tuned in?`

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

CREATE TABLE "table1_2102898_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `On broadcast date is 28march1970, how many people tuned in?`:
```sql
                SELECT "viewers_in_millions" FROM "table1_2102898_1" WHERE "broadcast_date"='28March1970';
```
## Task
Generate a SQL query to answer the following question:
`On broadcast date is 21march1970, how many people tuned in?`

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

CREATE TABLE "table1_2102898_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `On broadcast date is 21march1970, how many people tuned in?`:
```sql
                SELECT COUNT("viewers_in_millions") FROM "table1_2102898_1" WHERE "broadcast_date"='21March1970';
```
## Task
Generate a SQL query to answer the following question:
`What is the archive of the show that aired on 18april1970?`

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

CREATE TABLE "table1_2102898_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the archive of the show that aired on 18april1970?`:
```sql
                SELECT "archive" FROM "table1_2102898_1" WHERE "broadcast_date"='18April1970';
```
## Task
Generate a SQL query to answer the following question:
`What was the least amount of points scored by the golden bears when the opponent scored 15 points?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "golden_bears_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the least amount of points scored by the golden bears when the opponent scored 15 points?`:
```sql
                SELECT MIN("golden_bears_points") FROM "schedule" WHERE "opponents"=15;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of opponents played against the bears in game 4?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "golden_bears_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of opponents played against the bears in game 4?`:
```sql
                SELECT COUNT("opponents") FROM "schedule" WHERE "game"=4;
```
## Task
Generate a SQL query to answer the following question:
`What opponent was playing against the Golden Bears when they scored 3 points?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "golden_bears_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent was playing against the Golden Bears when they scored 3 points?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "golden_bears_points"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the Medal of Honor with Army Distinguished Service Medal?`

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

CREATE TABLE "table1_2104176_1" (
  "medal_of_honor" text,
  "coast_guard_cross" text,
  "navy_cross" text,
  "distinguished_service_cross" text,
  "air_force_cross" text,
  "homeland_security_distinguished_service_medal" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Medal of Honor with Army Distinguished Service Medal?`:
```sql
                SELECT "medal_of_honor" FROM "table1_2104176_1" WHERE "air_force_cross"='Army Distinguished Service Medal';
```
## Task
Generate a SQL query to answer the following question:
`WHat is the Homeland security distinguished service medal when the medal of honor is Coast guard Medal?`

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

CREATE TABLE "table1_2104176_1" (
  "medal_of_honor" text,
  "coast_guard_cross" text,
  "navy_cross" text,
  "distinguished_service_cross" text,
  "air_force_cross" text,
  "homeland_security_distinguished_service_medal" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHat is the Homeland security distinguished service medal when the medal of honor is Coast guard Medal?`:
```sql
                SELECT "homeland_security_distinguished_service_medal" FROM "table1_2104176_1" WHERE "medal_of_honor"='Coast Guard Medal';
```
## Task
Generate a SQL query to answer the following question:
`What is the distinguished service cross when the navy cross is Coast Guard commendation medal?`

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

CREATE TABLE "table1_2104176_1" (
  "medal_of_honor" text,
  "coast_guard_cross" text,
  "navy_cross" text,
  "distinguished_service_cross" text,
  "air_force_cross" text,
  "homeland_security_distinguished_service_medal" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the distinguished service cross when the navy cross is Coast Guard commendation medal?`:
```sql
                SELECT "distinguished_service_cross" FROM "table1_2104176_1" WHERE "navy_cross"='Coast Guard Commendation Medal';
```
## Task
Generate a SQL query to answer the following question:
`What is the air force cross when you recieve the Aerial achievement medal?`

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

CREATE TABLE "table1_2104176_1" (
  "medal_of_honor" text,
  "coast_guard_cross" text,
  "navy_cross" text,
  "distinguished_service_cross" text,
  "air_force_cross" text,
  "homeland_security_distinguished_service_medal" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the air force cross when you recieve the Aerial achievement medal?`:
```sql
                SELECT "air_force_cross" FROM "table1_2104176_1" WHERE "homeland_security_distinguished_service_medal"='Aerial Achievement Medal';
```
## Task
Generate a SQL query to answer the following question:
`What is the coast guard cross when you recieve the navy distinguished service medal?`

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

CREATE TABLE "table1_2104176_1" (
  "medal_of_honor" text,
  "coast_guard_cross" text,
  "navy_cross" text,
  "distinguished_service_cross" text,
  "air_force_cross" text,
  "homeland_security_distinguished_service_medal" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the coast guard cross when you recieve the navy distinguished service medal?`:
```sql
                SELECT "coast_guard_cross" FROM "table1_2104176_1" WHERE "distinguished_service_cross"='Navy Distinguished Service Medal';
```
## Task
Generate a SQL query to answer the following question:
`How many figures are given for Walker's percentage in Kenosha county?`

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

CREATE TABLE "county_results" (
  "county" text,
  "won_by" text,
  "walker_pct" real,
  "walker_votes" real,
  "barrett_pct" real,
  "barrett_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many figures are given for Walker's percentage in Kenosha county?`:
```sql
                SELECT COUNT("walker_pct") FROM "county_results" WHERE "county"='Kenosha';
```
## Task
Generate a SQL query to answer the following question:
`What percentage did Walker win in Calumet county?`

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

CREATE TABLE "county_results" (
  "county" text,
  "won_by" text,
  "walker_pct" real,
  "walker_votes" real,
  "barrett_pct" real,
  "barrett_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage did Walker win in Calumet county?`:
```sql
                SELECT "walker_pct" FROM "county_results" WHERE "county"='Calumet';
```
## Task
Generate a SQL query to answer the following question:
`How many total figures are given for Milwaukee county?`

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

CREATE TABLE "county_results" (
  "county" text,
  "won_by" text,
  "walker_pct" real,
  "walker_votes" real,
  "barrett_pct" real,
  "barrett_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total figures are given for Milwaukee county?`:
```sql
                SELECT COUNT("won_by") FROM "county_results" WHERE "county"='Milwaukee';
```
## Task
Generate a SQL query to answer the following question:
`What did they do in the game when their record was 3-2-1?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did they do in the game when their record was 3-2-1?`:
```sql
                SELECT "result" FROM "schedule" WHERE "record"='3-2-1';
```
## Task
Generate a SQL query to answer the following question:
`What did they do against Villanova?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did they do against Villanova?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='Villanova';
```
## Task
Generate a SQL query to answer the following question:
`What did they do against Memphis?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did they do against Memphis?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='Memphis';
```
## Task
Generate a SQL query to answer the following question:
`How many games did they play when their record 0-2-0?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games did they play when their record 0-2-0?`:
```sql
                SELECT COUNT("date") FROM "schedule" WHERE "record"='0-2-0';
```
## Task
Generate a SQL query to answer the following question:
`When did the episode seen by  is 2.267 million people get aired?`

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

CREATE TABLE "table1_21055055_2" (
  "num" real,
  "episode" text,
  "au_air_date" text,
  "timeslot" text,
  "viewers_m" text,
  "nightly_rank_num" real,
  "weekly_rank_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `When did the episode seen by  is 2.267 million people get aired?`:
```sql
                SELECT "au_air_date" FROM "table1_21055055_2" WHERE "viewers_m"='2.267';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode for run time in 24:44`

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

CREATE TABLE "table1_2105721_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episode for run time in 24:44`:
```sql
                SELECT "episode" FROM "table1_2105721_1" WHERE "run_time"='24:44';
```
## Task
Generate a SQL query to answer the following question:
`Name the total episode for runtime of 24:11`

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

CREATE TABLE "table1_2105721_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total episode for runtime of 24:11`:
```sql
                SELECT COUNT("episode") FROM "table1_2105721_1" WHERE "run_time"='24:11';
```
## Task
Generate a SQL query to answer the following question:
`Who did the team play against when a record of 3-1, #16 was achieved?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the team play against when a record of 3-1, #16 was achieved?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "record"='3-1, #16';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game against Mississippi State?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game against Mississippi State?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='Mississippi State';
```
## Task
Generate a SQL query to answer the following question:
`Who did the team play against in the game that resulted with a loss?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the team play against in the game that resulted with a loss?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "result"='Loss';
```
## Task
Generate a SQL query to answer the following question:
`What game did the Bruins play Santa Clara?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bruins_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game did the Bruins play Santa Clara?`:
```sql
                SELECT "game" FROM "schedule" WHERE "opponent"='Santa Clara';
```
## Task
Generate a SQL query to answer the following question:
`Santa Clara was played how many times?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bruins_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Santa Clara was played how many times?`:
```sql
                SELECT "opponents" FROM "schedule" WHERE "opponent"='Santa Clara';
```
## Task
Generate a SQL query to answer the following question:
`The game the Bruins scored 26 ,what was the result?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bruins_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `The game the Bruins scored 26 ,what was the result?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponents"=26;
```
## Task
Generate a SQL query to answer the following question:
`What was the record for game 9?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bruins_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record for game 9?`:
```sql
                SELECT "record" FROM "schedule" WHERE "game"=9;
```
## Task
Generate a SQL query to answer the following question:
`Who were the opponents of the Wildcats in game 4?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the opponents of the Wildcats in game 4?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "game"=4;
```
## Task
Generate a SQL query to answer the following question:
`Who were the the opponents of the Wildcats for game 8 of the season?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the the opponents of the Wildcats for game 8 of the season?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "game"=8;
```
## Task
Generate a SQL query to answer the following question:
`What was the record of the Wildcats after playing Florida?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record of the Wildcats after playing Florida?`:
```sql
                SELECT "record" FROM "schedule" WHERE "opponent"='Florida';
```
## Task
Generate a SQL query to answer the following question:
`How many times did the Wildcats play a game 11 regardless of points scored?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "wildcats_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did the Wildcats play a game 11 regardless of points scored?`:
```sql
                SELECT COUNT("wildcats_points") FROM "schedule" WHERE "game"=11;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of black knights points for 3 game`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of black knights points for 3 game`:
```sql
                SELECT COUNT("black_knights_points") FROM "schedule" WHERE "game"=3;
```