cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the opponents for game 5`

### 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 opponents for game 5`:
```sql
                SELECT "opponents" FROM "schedule" WHERE "game"=5;
```
## Task
Generate a SQL query to answer the following question:
`Name the result for 19 black knights 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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the result for 19 black knights points`:
```sql
                SELECT "result" FROM "schedule" WHERE "black_knights_points"=19;
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for black knights points 27`

### 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 opponent for black knights points 27`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "black_knights_points"=27;
```
## Task
Generate a SQL query to answer the following question:
`Name the date for game 8`

### 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 date for game 8`:
```sql
                SELECT "date" FROM "schedule" WHERE "game"=8;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of date for 1-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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of date for 1-0 record`:
```sql
                SELECT COUNT("date") FROM "schedule" WHERE "record"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`Name the game for record 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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the game for record 1-0`:
```sql
                SELECT "game" FROM "schedule" WHERE "record"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`Name the most 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 most game`:
```sql
                SELECT MAX("game") FROM "schedule";
```
## Task
Generate a SQL query to answer the following question:
`How many games have a record of 3-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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have a record of 3-4-0?`:
```sql
                SELECT MAX("game") FROM "schedule" WHERE "record"='3-4-0';
```
## Task
Generate a SQL query to answer the following question:
`How many dates have boston college as the opponent?`

### 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 `How many dates have boston college as the opponent?`:
```sql
                SELECT COUNT("date") FROM "schedule" WHERE "opponent"='Boston College';
```
## Task
Generate a SQL query to answer the following question:
`How many games have Air Force as the opponent?`

### 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 `How many games have Air Force as the opponent?`:
```sql
                SELECT MAX("game") FROM "schedule" WHERE "opponent"='Air Force';
```
## Task
Generate a SQL query to answer the following question:
`How many records have black knights points as 17?`

### 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 `How many records have black knights points as 17?`:
```sql
                SELECT COUNT("record") FROM "schedule" WHERE "black_knights_points"=17;
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a record of 6-2?`

### 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,
  "orangemen_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a record of 6-2?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "record"='6-2';
```
## Task
Generate a SQL query to answer the following question:
`How many results have a game of 5?`

### 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,
  "orangemen_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many results have a game of 5?`:
```sql
                SELECT COUNT("result") FROM "schedule" WHERE "game"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the run time for the episode with 7.9 million viewers?`

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

CREATE TABLE "table1_2108684_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 run time for the episode with 7.9 million viewers?`:
```sql
                SELECT "run_time" FROM "table1_2108684_1" WHERE "viewers_in_millions"='7.9';
```
## Task
Generate a SQL query to answer the following question:
`What episode had a run time of 23:38?`

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

CREATE TABLE "table1_2108684_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 23:38?`:
```sql
                SELECT "episode" FROM "table1_2108684_1" WHERE "run_time"='23:38';
```
## Task
Generate a SQL query to answer the following question:
`How many million viewers watched the episode with a run time of 25:22?`

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

CREATE TABLE "table1_2108684_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 million viewers watched the episode with a run time of 25:22?`:
```sql
                SELECT "viewers_in_millions" FROM "table1_2108684_1" WHERE "run_time"='25:22';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for result loss for duke`

### 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 date for result loss for duke`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='Loss' AND "opponent"='Duke';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponents for record of 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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponents for record of 2-1`:
```sql
                SELECT "opponents" FROM "schedule" WHERE "record"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`Name the record for black knights points 54`

### 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 record for black knights points 54`:
```sql
                SELECT "record" FROM "schedule" WHERE "black_knights_points"=54;
```
## Task
Generate a SQL query to answer the following question:
`Name the opponents stanford`

### 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 opponents stanford`:
```sql
                SELECT "opponents" FROM "schedule" WHERE "opponent"='Stanford';
```
## Task
Generate a SQL query to answer the following question:
`Name the result for ursinus college`

### 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 result for ursinus college`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='Ursinus College';
```
## Task
Generate a SQL query to answer the following question:
`Name the black knights points for loss 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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the black knights points for loss result`:
```sql
                SELECT MAX("black_knights_points") FROM "schedule" WHERE "result"='Loss';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for 6-2 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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for 6-2 record`:
```sql
                SELECT "date" FROM "schedule" WHERE "record"='6-2';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponents for record being 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,
  "black_knights_points" real,
  "opponents" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponents for record being 2-0`:
```sql
                SELECT MAX("opponents") FROM "schedule" WHERE "record"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`How man innings were there during the period with a career average of 41.43?`

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

CREATE TABLE "table1_21100348_10" (
  "rank" real,
  "average" text,
  "player" text,
  "runs" real,
  "innings" real,
  "not_out" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `How man innings were there during the period with a career average of 41.43?`:
```sql
                SELECT "innings" FROM "table1_21100348_10" WHERE "average"='41.43';
```
## Task
Generate a SQL query to answer the following question:
`During what period did Ricky Ponting play?`

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

CREATE TABLE "table1_21100348_10" (
  "rank" real,
  "average" text,
  "player" text,
  "runs" real,
  "innings" real,
  "not_out" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `During what period did Ricky Ponting play?`:
```sql
                SELECT "period" FROM "table1_21100348_10" WHERE "player"='Ricky Ponting';
```
## Task
Generate a SQL query to answer the following question:
`During what period was the career average 44.10?`

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

CREATE TABLE "table1_21100348_10" (
  "rank" real,
  "average" text,
  "player" text,
  "runs" real,
  "innings" real,
  "not_out" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `During what period was the career average 44.10?`:
```sql
                SELECT "period" FROM "table1_21100348_10" WHERE "average"='44.10';
```
## Task
Generate a SQL query to answer the following question:
`What was the smallest numbered rank for Michael Bevan?`

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

CREATE TABLE "table1_21100348_10" (
  "rank" real,
  "average" text,
  "player" text,
  "runs" real,
  "innings" real,
  "not_out" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the smallest numbered rank for Michael Bevan?`:
```sql
                SELECT MIN("rank") FROM "table1_21100348_10" WHERE "player"='Michael Bevan';
```
## Task
Generate a SQL query to answer the following question:
`What period was there a career average of 48.15?`

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

CREATE TABLE "table1_21100348_10" (
  "rank" real,
  "average" text,
  "player" text,
  "runs" real,
  "innings" real,
  "not_out" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What period was there a career average of 48.15?`:
```sql
                SELECT "period" FROM "table1_21100348_10" WHERE "average"='48.15';
```
## Task
Generate a SQL query to answer the following question:
`when the value (int $1000) is 409566, what is the commodity?`

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

CREATE TABLE "table1_21109892_1" (
  "rank" real,
  "commodity" text,
  "value_int_1000" real,
  "production_mt" real,
  "quantity_world_rank" text,
  "value_world_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `when the value (int $1000) is 409566, what is the commodity?`:
```sql
                SELECT "commodity" FROM "table1_21109892_1" WHERE "value_int_1000"=409566;
```
## Task
Generate a SQL query to answer the following question:
`When the value rank is 23, what is the value?`

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

CREATE TABLE "table1_21109892_1" (
  "rank" real,
  "commodity" text,
  "value_int_1000" real,
  "production_mt" real,
  "quantity_world_rank" text,
  "value_world_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the value rank is 23, what is the value?`:
```sql
                SELECT MIN("value_int_1000") FROM "table1_21109892_1" WHERE "value_world_rank"='23';
```
## Task
Generate a SQL query to answer the following question:
`When the value world rank is 7, what is the rank?`

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

CREATE TABLE "table1_21109892_1" (
  "rank" real,
  "commodity" text,
  "value_int_1000" real,
  "production_mt" real,
  "quantity_world_rank" text,
  "value_world_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the value world rank is 7, what is the rank?`:
```sql
                SELECT "rank" FROM "table1_21109892_1" WHERE "value_world_rank"='7';
```
## Task
Generate a SQL query to answer the following question:
`When the production (mt) is 650000, what is the total number of rank?`

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

CREATE TABLE "table1_21109892_1" (
  "rank" real,
  "commodity" text,
  "value_int_1000" real,
  "production_mt" real,
  "quantity_world_rank" text,
  "value_world_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the production (mt) is 650000, what is the total number of rank?`:
```sql
                SELECT COUNT("rank") FROM "table1_21109892_1" WHERE "production_mt"=650000;
```
## Task
Generate a SQL query to answer the following question:
`When the production (mt) is 446424, what is the value world rank ?`

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

CREATE TABLE "table1_21109892_1" (
  "rank" real,
  "commodity" text,
  "value_int_1000" real,
  "production_mt" real,
  "quantity_world_rank" text,
  "value_world_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the production (mt) is 446424, what is the value world rank ?`:
```sql
                SELECT "value_world_rank" FROM "table1_21109892_1" WHERE "production_mt"=446424;
```
## Task
Generate a SQL query to answer the following question:
`where value world rank is 12, what is the quantity world rank?`

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

CREATE TABLE "table1_21109892_1" (
  "rank" real,
  "commodity" text,
  "value_int_1000" real,
  "production_mt" real,
  "quantity_world_rank" text,
  "value_world_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `where value world rank is 12, what is the quantity world rank?`:
```sql
                SELECT "quantity_world_rank" FROM "table1_21109892_1" WHERE "value_world_rank"='12';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of Tim Paine?`

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

CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
  "rank" real,
  "dismissals" real,
  "player" text,
  "matches" real,
  "caught" real,
  "stumped" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of Tim Paine?`:
```sql
                SELECT "rank" FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Tim Paine';
```
## Task
Generate a SQL query to answer the following question:
`What rank does Rodney Marsh have?`

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

CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
  "rank" real,
  "dismissals" real,
  "player" text,
  "matches" real,
  "caught" real,
  "stumped" real
);
### SQL
Given the database schema, here is the SQL query that answers `What rank does Rodney Marsh have?`:
```sql
                SELECT MAX("rank") FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Rodney Marsh';
```
## Task
Generate a SQL query to answer the following question:
`Name the 1st place for limoges csp`

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

CREATE TABLE "by_season" (
  "season" text,
  "1st_place" text,
  "2nd_place" text,
  "3rd_place" text,
  "4th_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 1st place for limoges csp`:
```sql
                SELECT "1st_place" FROM "by_season" WHERE "3rd_place"='Limoges CSP';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank for a strike rate of 91.67?`

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

CREATE TABLE "table1_21100348_11" (
  "rank" real,
  "strike_rate" text,
  "player" text,
  "innings" real,
  "balls_faced" real,
  "runs" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank for a strike rate of 91.67?`:
```sql
                SELECT MAX("rank") FROM "table1_21100348_11" WHERE "strike_rate"='91.67';
```
## Task
Generate a SQL query to answer the following question:
`What player has 477 runs?`

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

CREATE TABLE "table1_21100348_11" (
  "rank" real,
  "strike_rate" text,
  "player" text,
  "innings" real,
  "balls_faced" real,
  "runs" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player has 477 runs?`:
```sql
                SELECT "player" FROM "table1_21100348_11" WHERE "runs"=477;
```
## Task
Generate a SQL query to answer the following question:
`How many innings does rank 3 have?`

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

CREATE TABLE "table1_21100348_11" (
  "rank" real,
  "strike_rate" text,
  "player" text,
  "innings" real,
  "balls_faced" real,
  "runs" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many innings does rank 3 have?`:
```sql
                SELECT MAX("innings") FROM "table1_21100348_11" WHERE "rank"=3;
```
## Task
Generate a SQL query to answer the following question:
`What was the goals for in the season that the pct % was 0.604?`

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

CREATE TABLE "yearly_results" (
  "season" text,
  "games" real,
  "won" real,
  "lost" real,
  "tied" real,
  "points" real,
  "pct_pct" text,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the goals for in the season that the pct % was 0.604?`:
```sql
                SELECT MAX("goals_for") FROM "yearly_results" WHERE "pct_pct"='0.604';
```
## Task
Generate a SQL query to answer the following question:
`In what season was the pct % 0.552? `

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

CREATE TABLE "yearly_results" (
  "season" text,
  "games" real,
  "won" real,
  "lost" real,
  "tied" real,
  "points" real,
  "pct_pct" text,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what season was the pct % 0.552? `:
```sql
                SELECT "season" FROM "yearly_results" WHERE "pct_pct"='0.552';
```
## Task
Generate a SQL query to answer the following question:
`What was the standing in the season that the pct% was 0.769? `

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

CREATE TABLE "yearly_results" (
  "season" text,
  "games" real,
  "won" real,
  "lost" real,
  "tied" real,
  "points" real,
  "pct_pct" text,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the standing in the season that the pct% was 0.769? `:
```sql
                SELECT "standing" FROM "yearly_results" WHERE "pct_pct"='0.769';
```
## Task
Generate a SQL query to answer the following question:
`What were the points in the 1958-59 season? `

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

CREATE TABLE "yearly_results" (
  "season" text,
  "games" real,
  "won" real,
  "lost" real,
  "tied" real,
  "points" real,
  "pct_pct" text,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the points in the 1958-59 season? `:
```sql
                SELECT "points" FROM "yearly_results" WHERE "season"='1958-59';
```
## Task
Generate a SQL query to answer the following question:
`Who were Dürr's opponents in the final on year 1968?`

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

CREATE TABLE "mixed_doubles_8_4_4" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were Dürr's opponents in the final on year 1968?`:
```sql
                SELECT "opponents_in_the_final" FROM "mixed_doubles_8_4_4" WHERE "year"=1968;
```
## Task
Generate a SQL query to answer the following question:
`What was the court surface on year 1971?`

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

CREATE TABLE "mixed_doubles_8_4_4" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the court surface on year 1971?`:
```sql
                SELECT "surface" FROM "mixed_doubles_8_4_4" WHERE "year"=1971;
```
## Task
Generate a SQL query to answer the following question:
`Name  the most top 10s for 2 best finish`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "3rd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" real,
  "scoring_average" text,
  "scoring_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name  the most top 10s for 2 best finish`:
```sql
                SELECT MAX("top_10s") FROM "lpga_tour_career_summary" WHERE "best_finish"='2';
```
## Task
Generate a SQL query to answer the following question:
`Name the tournaments played for 2004`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "3rd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" real,
  "scoring_average" text,
  "scoring_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tournaments played for 2004`:
```sql
                SELECT MIN("tournaments_played") FROM "lpga_tour_career_summary" WHERE "year"=2004;
```
## Task
Generate a SQL query to answer the following question:
`How many submission of the night occurred when the fighter was matt wiman?`

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

CREATE TABLE "fighters_with_the_most_awards" (
  "fighter" text,
  "fights_of_the_night" real,
  "knockouts_of_the_night" real,
  "submissions_of_the_night" real,
  "awards_total" real,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many submission of the night occurred when the fighter was matt wiman?`:
```sql
                SELECT MAX("submissions_of_the_night") FROM "fighters_with_the_most_awards" WHERE "fighter"='Matt Wiman';
```
## Task
Generate a SQL query to answer the following question:
`How many knockout of the night occurred when joe lauzon fought. `

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

CREATE TABLE "fighters_with_the_most_awards" (
  "fighter" text,
  "fights_of_the_night" real,
  "knockouts_of_the_night" real,
  "submissions_of_the_night" real,
  "awards_total" real,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many knockout of the night occurred when joe lauzon fought. `:
```sql
                SELECT "knockouts_of_the_night" FROM "fighters_with_the_most_awards" WHERE "fighter"='Joe Lauzon';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest number of episodes in a season?`

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

CREATE TABLE "table1_2113721_7" (
  "dvd_name" text,
  "episodes" real,
  "region_1" text,
  "region_2" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest number of episodes in a season?`:
```sql
                SELECT MIN("episodes") FROM "table1_2113721_7";
```
## Task
Generate a SQL query to answer the following question:
`When was Season Three premiered in region 2?`

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

CREATE TABLE "table1_2113721_7" (
  "dvd_name" text,
  "episodes" real,
  "region_1" text,
  "region_2" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Season Three premiered in region 2?`:
```sql
                SELECT "region_2" FROM "table1_2113721_7" WHERE "dvd_name"='Season Three';
```
## Task
Generate a SQL query to answer the following question:
`Where is every location with specialization of textile engineering?`

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

CREATE TABLE "public_universities" (
  "university" text,
  "nick" text,
  "university_status" real,
  "founded" real,
  "location" text,
  "division" text,
  "specialization" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is every location with specialization of textile engineering?`:
```sql
                SELECT "location" FROM "public_universities" WHERE "specialization"='Textile engineering';
```
## Task
Generate a SQL query to answer the following question:
`What is every website with specialization of engineering and division of dhaka division?`

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

CREATE TABLE "public_universities" (
  "university" text,
  "nick" text,
  "university_status" real,
  "founded" real,
  "location" text,
  "division" text,
  "specialization" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every website with specialization of engineering and division of dhaka division?`:
```sql
                SELECT "website" FROM "public_universities" WHERE "specialization"='Engineering' AND "division"='Dhaka division';
```
## Task
Generate a SQL query to answer the following question:
`Where is every location where Nick is Bru?`

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

CREATE TABLE "public_universities" (
  "university" text,
  "nick" text,
  "university_status" real,
  "founded" real,
  "location" text,
  "division" text,
  "specialization" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is every location where Nick is Bru?`:
```sql
                SELECT "location" FROM "public_universities" WHERE "nick"='BRU';
```
## Task
Generate a SQL query to answer the following question:
`What is every specialization with the website Jstu.edu.bd`

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

CREATE TABLE "public_universities" (
  "university" text,
  "nick" text,
  "university_status" real,
  "founded" real,
  "location" text,
  "division" text,
  "specialization" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every specialization with the website Jstu.edu.bd`:
```sql
                SELECT "specialization" FROM "public_universities" WHERE "website"='jstu.edu.bd';
```
## Task
Generate a SQL query to answer the following question:
`Name the languages for cyprus`

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

CREATE TABLE "impact" (
  "member_countries" text,
  "population" real,
  "area_km" real,
  "gdp_billion_us" text,
  "gdp_per_capita_us" real,
  "languages" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the languages for cyprus`:
```sql
                SELECT "languages" FROM "impact" WHERE "member_countries"='Cyprus';
```
## Task
Generate a SQL query to answer the following question:
`Name the languages for estonia`

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

CREATE TABLE "impact" (
  "member_countries" text,
  "population" real,
  "area_km" real,
  "gdp_billion_us" text,
  "gdp_per_capita_us" real,
  "languages" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the languages for estonia`:
```sql
                SELECT "languages" FROM "impact" WHERE "member_countries"='Estonia';
```
## Task
Generate a SQL query to answer the following question:
`Name the most gdp per capita latvian`

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

CREATE TABLE "impact" (
  "member_countries" text,
  "population" real,
  "area_km" real,
  "gdp_billion_us" text,
  "gdp_per_capita_us" real,
  "languages" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most gdp per capita latvian`:
```sql
                SELECT MAX("gdp_per_capita_us") FROM "impact" WHERE "languages"='Latvian';
```
## Task
Generate a SQL query to answer the following question:
`how many archive were when run time is 24:34`

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

CREATE TABLE "table1_2112766_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 archive were when run time is 24:34`:
```sql
                SELECT "archive" FROM "table1_2112766_1" WHERE "run_time"='24:34';
```
## Task
Generate a SQL query to answer the following question:
`what is all the  broadcast date when viewers were 8.4 millions`

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

CREATE TABLE "table1_2112766_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 all the  broadcast date when viewers were 8.4 millions`:
```sql
                SELECT COUNT("broadcast_date") FROM "table1_2112766_1" WHERE "viewers_in_millions"='8.4';
```
## Task
Generate a SQL query to answer the following question:
`how many episode have 8.4 millions  viewer.`

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

CREATE TABLE "table1_2112766_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 episode have 8.4 millions  viewer.`:
```sql
                SELECT COUNT("episode") FROM "table1_2112766_1" WHERE "viewers_in_millions"='8.4';
```
## Task
Generate a SQL query to answer the following question:
`What was the title in season #8?`

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

CREATE TABLE "table1_21146729_6" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the title in season #8?`:
```sql
                SELECT "title" FROM "table1_21146729_6" WHERE "season_num"=8;
```
## Task
Generate a SQL query to answer the following question:
`Who was the director when the writer(s) was John W. Bloch?`

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

CREATE TABLE "table1_21146729_6" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director when the writer(s) was John W. Bloch?`:
```sql
                SELECT "director" FROM "table1_21146729_6" WHERE "writer_s"='John W. Bloch';
```
## Task
Generate a SQL query to answer the following question:
`What was the series# with the original airdate of october 23, 1967?`

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

CREATE TABLE "table1_21146729_6" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the series# with the original airdate of october 23, 1967?`:
```sql
                SELECT MAX("series_num") FROM "table1_21146729_6" WHERE "original_airdate"='October 23, 1967';
```
## Task
Generate a SQL query to answer the following question:
`what is the title when the  writer(s) is jack turley?`

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

CREATE TABLE "table1_21146729_6" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the title when the  writer(s) is jack turley?`:
```sql
                SELECT "title" FROM "table1_21146729_6" WHERE "writer_s"='Jack Turley';
```
## Task
Generate a SQL query to answer the following question:
`How  many of the  series # when the original airdate is september 25, 1967?`

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

CREATE TABLE "table1_21146729_6" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How  many of the  series # when the original airdate is september 25, 1967?`:
```sql
                SELECT COUNT("series_num") FROM "table1_21146729_6" WHERE "original_airdate"='September 25, 1967';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode for run time of 22:50`

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

CREATE TABLE "table1_2114308_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 of 22:50`:
```sql
                SELECT "episode" FROM "table1_2114308_1" WHERE "run_time"='22:50';
```
## Task
Generate a SQL query to answer the following question:
`Name the broadcast date of 6.9 million viewers`

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

CREATE TABLE "table1_2114308_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 of 6.9 million viewers`:
```sql
                SELECT "broadcast_date" FROM "table1_2114308_1" WHERE "viewers_in_millions"='6.9';
```
## Task
Generate a SQL query to answer the following question:
`Name the broadcast date of run time being 24:14`

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

CREATE TABLE "table1_2114308_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 of run time being 24:14`:
```sql
                SELECT "broadcast_date" FROM "table1_2114308_1" WHERE "run_time"='24:14';
```
## Task
Generate a SQL query to answer the following question:
`Which archive has a run time of 23:48?`

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

CREATE TABLE "table1_2114238_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 archive has a run time of 23:48?`:
```sql
                SELECT "archive" FROM "table1_2114238_1" WHERE "run_time"='23:48';
```
## Task
Generate a SQL query to answer the following question:
`Which broadcast date has 6.8 million viewers?`

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

CREATE TABLE "table1_2114238_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 broadcast date has 6.8 million viewers?`:
```sql
                SELECT "broadcast_date" FROM "table1_2114238_1" WHERE "viewers_in_millions"='6.8';
```
## Task
Generate a SQL query to answer the following question:
`What Petrol engine has total power of ps (kw; bhp)@5400-6500?`

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

CREATE TABLE "petrol_engines" (
  "model" text,
  "years" text,
  "type_code" text,
  "transmission" text,
  "max_power" text,
  "torque" text,
  "0_km_h_mph_sec" text,
  "top_speed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Petrol engine has total power of ps (kw; bhp)@5400-6500?`:
```sql
                SELECT "model" FROM "petrol_engines" WHERE "max_power"='PS (kW; bhp)@5400-6500';
```
## Task
Generate a SQL query to answer the following question:
`What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?`

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

CREATE TABLE "petrol_engines" (
  "model" text,
  "years" text,
  "type_code" text,
  "transmission" text,
  "max_power" text,
  "torque" text,
  "0_km_h_mph_sec" text,
  "top_speed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?`:
```sql
                SELECT "top_speed" FROM "petrol_engines" WHERE "max_power"='PS (kW; bhp)@5250-6250';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum speed for total power of ps (kw; bhp)?`

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

CREATE TABLE "petrol_engines" (
  "model" text,
  "years" text,
  "type_code" text,
  "transmission" text,
  "max_power" text,
  "torque" text,
  "0_km_h_mph_sec" text,
  "top_speed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum speed for total power of ps (kw; bhp)?`:
```sql
                SELECT "top_speed" FROM "petrol_engines" WHERE "max_power"='PS (kW; bhp)';
```
## Task
Generate a SQL query to answer the following question:
`What is the s7 4.0 tfsi quattro engine torque?`

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

CREATE TABLE "petrol_engines" (
  "model" text,
  "years" text,
  "type_code" text,
  "transmission" text,
  "max_power" text,
  "torque" text,
  "0_km_h_mph_sec" text,
  "top_speed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the s7 4.0 tfsi quattro engine torque?`:
```sql
                SELECT "torque" FROM "petrol_engines" WHERE "model"='S7 4.0 TFSI quattro';
```
## Task
Generate a SQL query to answer the following question:
`Name the number in season for 4300062`

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

CREATE TABLE "table1_21165255_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number in season for 4300062`:
```sql
                SELECT MAX("no_in_season") FROM "table1_21165255_1" WHERE "production_code"=4300062;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of cancelled for turnham green`

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

CREATE TABLE "table1_211615_2" (
  "station" text,
  "line" text,
  "planned" real,
  "cancelled" real,
  "proposal" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of cancelled for turnham green`:
```sql
                SELECT COUNT("cancelled") FROM "table1_211615_2" WHERE "station"='Turnham Green';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of details for emlyn road`

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

CREATE TABLE "table1_211615_2" (
  "station" text,
  "line" text,
  "planned" real,
  "cancelled" real,
  "proposal" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of details for emlyn road`:
```sql
                SELECT COUNT("details") FROM "table1_211615_2" WHERE "station"='Emlyn Road';
```
## Task
Generate a SQL query to answer the following question:
`What episode number in the series was directed by John Behring?`

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

CREATE TABLE "table1_21164557_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series was directed by John Behring?`:
```sql
                SELECT MAX("no_in_series") FROM "table1_21164557_1" WHERE "directed_by"='John Behring';
```