cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many long range shots did tonya edwards make.`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many long range shots did tonya edwards make.`:
```sql
                SELECT COUNT("field_goals") FROM "player_stats" WHERE "player"='Tonya Edwards';
```
## Task
Generate a SQL query to answer the following question:
`List the number of long range shors where the score is 171.`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `List the number of long range shors where the score is 171.`:
```sql
                SELECT COUNT("field_goals") FROM "player_stats" WHERE "points"=171;
```
## Task
Generate a SQL query to answer the following question:
`Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?`

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

CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
  "year" text,
  "amiga_demo" text,
  "pc_demo" text,
  "c64_demo" text,
  "amiga_intro" text,
  "pc_intro" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?`:
```sql
                SELECT "amiga_demo" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "pc_demo"='Tribes ( Pulse & Melon Dezign)';
```
## Task
Generate a SQL query to answer the following question:
`What won best amiga demo when alto knallo (free electric band) won best pc demo?`

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

CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
  "year" text,
  "amiga_demo" text,
  "pc_demo" text,
  "c64_demo" text,
  "amiga_intro" text,
  "pc_intro" text
);
### SQL
Given the database schema, here is the SQL query that answers `What won best amiga demo when alto knallo (free electric band) won best pc demo?`:
```sql
                SELECT "amiga_demo" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "pc_demo"='Alto Knallo (Free Electric Band)';
```
## Task
Generate a SQL query to answer the following question:
`What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo?`

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

CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
  "year" text,
  "amiga_demo" text,
  "pc_demo" text,
  "c64_demo" text,
  "amiga_intro" text,
  "pc_intro" text
);
### SQL
Given the database schema, here is the SQL query that answers `What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo?`:
```sql
                SELECT "pc_intro" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "amiga_demo"='My Kingdom (Haujobb & Scoopex)';
```
## Task
Generate a SQL query to answer the following question:
`What won est pc intro when 4k0 (polka brothers) won best amiga intro?`

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

CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
  "year" text,
  "amiga_demo" text,
  "pc_demo" text,
  "c64_demo" text,
  "amiga_intro" text,
  "pc_intro" text
);
### SQL
Given the database schema, here is the SQL query that answers `What won est pc intro when 4k0 (polka brothers) won best amiga intro?`:
```sql
                SELECT "pc_intro" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "amiga_intro"='4k0 (Polka Brothers)';
```
## Task
Generate a SQL query to answer the following question:
`What won best pc demo when tower power (camelot) won best c64 demo?`

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

CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
  "year" text,
  "amiga_demo" text,
  "pc_demo" text,
  "c64_demo" text,
  "amiga_intro" text,
  "pc_intro" text
);
### SQL
Given the database schema, here is the SQL query that answers `What won best pc demo when tower power (camelot) won best c64 demo?`:
```sql
                SELECT "pc_demo" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "c64_demo"='Tower Power (Camelot)';
```
## Task
Generate a SQL query to answer the following question:
`What year did fr-08: the product ( farbrausch ) win best pc intro?`

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

CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
  "year" text,
  "amiga_demo" text,
  "pc_demo" text,
  "c64_demo" text,
  "amiga_intro" text,
  "pc_intro" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did fr-08: the product ( farbrausch ) win best pc intro?`:
```sql
                SELECT "year" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "pc_intro"='FR-08: The Product ( Farbrausch )';
```
## Task
Generate a SQL query to answer the following question:
`What is the episode title that had a US viewership of 8.16?`

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

CREATE TABLE "table1_24910737_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the episode title that had a US viewership of 8.16?`:
```sql
                SELECT "title" FROM "table1_24910737_1" WHERE "u_s_viewers_millions"='8.16';
```
## Task
Generate a SQL query to answer the following question:
`What is the number in the series written by Steve Blackman and had a title of "Worlds Apart"?`

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

CREATE TABLE "table1_24910737_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number in the series written by Steve Blackman and had a title of "Worlds Apart"?`:
```sql
                SELECT "no_in_series" FROM "table1_24910737_1" WHERE "written_by"='Steve Blackman' AND "title"='\"Worlds Apart\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the number in the series that was titled "Past Tense"?`

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

CREATE TABLE "table1_24910737_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number in the series that was titled "Past Tense"?`:
```sql
                SELECT "no_in_series" FROM "table1_24910737_1" WHERE "title"='\"Past Tense\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episodes that had a viewership of 7.14?`

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

CREATE TABLE "table1_24910737_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episodes that had a viewership of 7.14?`:
```sql
                SELECT "written_by" FROM "table1_24910737_1" WHERE "u_s_viewers_millions"='7.14';
```
## Task
Generate a SQL query to answer the following question:
`What is the timeslot for the episode "In which Addison finds the magic"?`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the timeslot for the episode "In which Addison finds the magic"?`:
```sql
                SELECT "timeslot_est" FROM "u_s" WHERE "episode"='\"In Which Addison Finds the Magic\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes received rating of 8.2?`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes received rating of 8.2?`:
```sql
                SELECT COUNT("episode") FROM "u_s" WHERE "rating"='8.2';
```
## Task
Generate a SQL query to answer the following question:
`What is the rating for the episode "in which cooper finds a port in his storm"?`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rating for the episode "in which cooper finds a port in his storm"?`:
```sql
                SELECT "rating" FROM "u_s" WHERE "episode"='\"In Which Cooper Finds a Port In His Storm\"';
```
## Task
Generate a SQL query to answer the following question:
`How many share figures are there for the episode that aired on October 17, 2007?`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many share figures are there for the episode that aired on October 17, 2007?`:
```sql
                SELECT COUNT("share") FROM "u_s" WHERE "air_date"='October 17, 2007';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes aired on October 17, 2007?`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes aired on October 17, 2007?`:
```sql
                SELECT COUNT("episode") FROM "u_s" WHERE "air_date"='October 17, 2007';
```
## Task
Generate a SQL query to answer the following question:
`How many timeslots received a rating of 5.7?`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many timeslots received a rating of 5.7?`:
```sql
                SELECT COUNT("timeslot_est") FROM "u_s" WHERE "rating"='5.7';
```
## Task
Generate a SQL query to answer the following question:
`How many writers are listed when the U.S viewers are 11.21 million?`

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

CREATE TABLE "table1_24910733_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many writers are listed when the U.S viewers are 11.21 million?`:
```sql
                SELECT COUNT("written_by") FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='11.21';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director when there is 8.44 million viewers?`

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

CREATE TABLE "table1_24910733_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director when there is 8.44 million viewers?`:
```sql
                SELECT "directed_by" FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='8.44';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director when the writter is Andrea Newman?`

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

CREATE TABLE "table1_24910733_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director when the writter is Andrea Newman?`:
```sql
                SELECT "directed_by" FROM "table1_24910733_1" WHERE "written_by"='Andrea Newman';
```
## Task
Generate a SQL query to answer the following question:
`What is the title when the writer is Emily Halpern?`

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

CREATE TABLE "table1_24910733_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title when the writer is Emily Halpern?`:
```sql
                SELECT "title" FROM "table1_24910733_1" WHERE "written_by"='Emily Halpern';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director when there is 11.21 million viewers?`

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

CREATE TABLE "table1_24910733_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director when there is 11.21 million viewers?`:
```sql
                SELECT "directed_by" FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='11.21';
```
## Task
Generate a SQL query to answer the following question:
`How many titles are listed with 8.44 million viewers?`

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

CREATE TABLE "table1_24910733_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many titles are listed with 8.44 million viewers?`:
```sql
                SELECT COUNT("title") FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='8.44';
```
## Task
Generate a SQL query to answer the following question:
`On what date does the episode called "triangles" air`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date does the episode called "triangles" air`:
```sql
                SELECT "air_date" FROM "u_s" WHERE "episode"='\"Triangles\"';
```
## Task
Generate a SQL query to answer the following question:
`When the episode called "the parent trap" airs, what is the weekly rank`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the episode called "the parent trap" airs, what is the weekly rank`:
```sql
                SELECT COUNT("weekly_rank_num") FROM "u_s" WHERE "episode"='\"The Parent Trap\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the share value of the episode "sins of the father"`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the share value of the episode "sins of the father"`:
```sql
                SELECT MAX("share") FROM "u_s" WHERE "episode"='\"Sins of the Father\"';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of viewers watched the episode "blowups"`

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

CREATE TABLE "u_s" (
  "num" real,
  "episode" text,
  "air_date" text,
  "timeslot_est" text,
  "rating" text,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" text,
  "weekly_rank_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of viewers watched the episode "blowups"`:
```sql
                SELECT "viewers_m" FROM "u_s" WHERE "episode"='\"Blowups\"';
```
## Task
Generate a SQL query to answer the following question:
`How many field goals had 597 points?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many field goals had 597 points?`:
```sql
                SELECT COUNT("field_goals") FROM "player_stats" WHERE "points"=597;
```
## Task
Generate a SQL query to answer the following question:
`How many minutes were played by Sue Bird?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many minutes were played by Sue Bird?`:
```sql
                SELECT MIN("minutes") FROM "player_stats" WHERE "player"='Sue Bird';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of rebounds for players having exactly 35 steals?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of rebounds for players having exactly 35 steals?`:
```sql
                SELECT MAX("rebounds") FROM "player_stats" WHERE "steals"=35;
```
## Task
Generate a SQL query to answer the following question:
`What are the numbers of steals associated with players having exactly 3 blocks?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the numbers of steals associated with players having exactly 3 blocks?`:
```sql
                SELECT "steals" FROM "player_stats" WHERE "blocks"=3;
```
## Task
Generate a SQL query to answer the following question:
`How many numbers of rebounds are associated with exactly 18 points?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many numbers of rebounds are associated with exactly 18 points?`:
```sql
                SELECT COUNT("rebounds") FROM "player_stats" WHERE "points"=18;
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of assists for players named Anastasia Kostaki?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of assists for players named Anastasia Kostaki?`:
```sql
                SELECT MAX("assists") FROM "player_stats" WHERE "player"='Anastasia Kostaki';
```
## Task
Generate a SQL query to answer the following question:
`What is Tiffani Johnson's maximum steals?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tiffani Johnson's maximum steals?`:
```sql
                SELECT MAX("steals") FROM "player_stats" WHERE "player"='Tiffani Johnson';
```
## Task
Generate a SQL query to answer the following question:
`Which player has 17 blocks?`

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

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

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

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

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

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

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

CREATE TABLE "player_stats" (
  "player" text,
  "minutes" real,
  "field_goals" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points does the player with 2 steals have?`:
```sql
                SELECT "points" FROM "player_stats" WHERE "steals"=2;
```
## Task
Generate a SQL query to answer the following question:
`Name the most number`

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

CREATE TABLE "list_of_boxing_septuple_or_seven_divisio" (
  "number" real,
  "name" text,
  "titles" text,
  "date" text,
  "opponent" text,
  "result" text,
  "defenses" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number`:
```sql
                SELECT MAX("number") FROM "list_of_boxing_septuple_or_seven_divisio";
```
## Task
Generate a SQL query to answer the following question:
`Name the titles for tko 11/12`

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

CREATE TABLE "list_of_boxing_septuple_or_seven_divisio" (
  "number" real,
  "name" text,
  "titles" text,
  "date" text,
  "opponent" text,
  "result" text,
  "defenses" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the titles for tko 11/12`:
```sql
                SELECT "titles" FROM "list_of_boxing_septuple_or_seven_divisio" WHERE "result"='TKO 11/12';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game played when the result/margin was won by 70?`

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

CREATE TABLE "nab_cup_and_premiership_season_results" (
  "round" text,
  "opposition" text,
  "time" text,
  "date" text,
  "home_away" text,
  "venue" text,
  "score" text,
  "result_margin" text,
  "broadcaster" text,
  "tv" text,
  "ladder_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game played when the result/margin was won by 70?`:
```sql
                SELECT "venue" FROM "nab_cup_and_premiership_season_results" WHERE "result_margin"='WON by 70';
```
## Task
Generate a SQL query to answer the following question:
`What is the result/margin when fox sports 1 broadcast the game played at mcg?`

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

CREATE TABLE "nab_cup_and_premiership_season_results" (
  "round" text,
  "opposition" text,
  "time" text,
  "date" text,
  "home_away" text,
  "venue" text,
  "score" text,
  "result_margin" text,
  "broadcaster" text,
  "tv" text,
  "ladder_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result/margin when fox sports 1 broadcast the game played at mcg?`:
```sql
                SELECT "result_margin" FROM "nab_cup_and_premiership_season_results" WHERE "broadcaster"='Fox Sports 1' AND "venue"='MCG';
```
## Task
Generate a SQL query to answer the following question:
`Which network broadcast the game when the Western Bulldogs played melbourne?`

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

CREATE TABLE "nab_cup_and_premiership_season_results" (
  "round" text,
  "opposition" text,
  "time" text,
  "date" text,
  "home_away" text,
  "venue" text,
  "score" text,
  "result_margin" text,
  "broadcaster" text,
  "tv" text,
  "ladder_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which network broadcast the game when the Western Bulldogs played melbourne?`:
```sql
                SELECT "broadcaster" FROM "nab_cup_and_premiership_season_results" WHERE "opposition"='Melbourne';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game played when the score was 14.16 (100)-12.12 (84)?`

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

CREATE TABLE "nab_cup_and_premiership_season_results" (
  "round" text,
  "opposition" text,
  "time" text,
  "date" text,
  "home_away" text,
  "venue" text,
  "score" text,
  "result_margin" text,
  "broadcaster" text,
  "tv" text,
  "ladder_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game played when the score was 14.16 (100)-12.12 (84)?`:
```sql
                SELECT "venue" FROM "nab_cup_and_premiership_season_results" WHERE "score"='14.16 (100)-12.12 (84)';
```
## Task
Generate a SQL query to answer the following question:
`What was the ladder position when the score was 15.9 (99)–14.6 (90)?`

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

CREATE TABLE "nab_cup_and_premiership_season_results" (
  "round" text,
  "opposition" text,
  "time" text,
  "date" text,
  "home_away" text,
  "venue" text,
  "score" text,
  "result_margin" text,
  "broadcaster" text,
  "tv" text,
  "ladder_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the ladder position when the score was 15.9 (99)–14.6 (90)?`:
```sql
                SELECT "ladder_position" FROM "nab_cup_and_premiership_season_results" WHERE "score"='15.9 (99)–14.6 (90)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?`

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

CREATE TABLE "nab_cup_and_premiership_season_results" (
  "round" text,
  "opposition" text,
  "time" text,
  "date" text,
  "home_away" text,
  "venue" text,
  "score" text,
  "result_margin" text,
  "broadcaster" text,
  "tv" text,
  "ladder_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?`:
```sql
                SELECT "date" FROM "nab_cup_and_premiership_season_results" WHERE "ladder_position"='8th' AND "opposition"='Hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What school is nicknamed the panthers?`

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

CREATE TABLE "table1_24935743_2" (
  "school" text,
  "nickname" text,
  "location" text,
  "colors" text,
  "type" text,
  "membership_tenure" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school is nicknamed the panthers?`:
```sql
                SELECT "school" FROM "table1_24935743_2" WHERE "nickname"='Panthers';
```
## Task
Generate a SQL query to answer the following question:
`What school is in Jeromesville?`

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

CREATE TABLE "table1_24935743_2" (
  "school" text,
  "nickname" text,
  "location" text,
  "colors" text,
  "type" text,
  "membership_tenure" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school is in Jeromesville?`:
```sql
                SELECT "location" FROM "table1_24935743_2" WHERE "school"='Jeromesville';
```
## Task
Generate a SQL query to answer the following question:
`What was the previous school of the ft7in (m) tall player?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "position" text,
  "height" text,
  "weight_lb" real,
  "year" text,
  "hometown" text,
  "previous_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the previous school of the ft7in (m) tall player?`:
```sql
                SELECT "previous_school" FROM "roster" WHERE "height"='ft7in (m)';
```
## Task
Generate a SQL query to answer the following question:
`What was the previous school of #22?`

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

CREATE TABLE "roster" (
  "name" text,
  "num" real,
  "position" text,
  "height" text,
  "weight_lb" real,
  "year" text,
  "hometown" text,
  "previous_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the previous school of #22?`:
```sql
                SELECT "previous_school" FROM "roster" WHERE "num"=22;
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode with production code 3x5402?`

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

CREATE TABLE "table1_24938621_2" (
  "no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode with production code 3x5402?`:
```sql
                SELECT "title" FROM "table1_24938621_2" WHERE "production_code"='3X5402';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode with production code 3x5405?`

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

CREATE TABLE "table1_24938621_2" (
  "no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode with production code 3x5405?`:
```sql
                SELECT "title" FROM "table1_24938621_2" WHERE "production_code"='3X5405';
```
## Task
Generate a SQL query to answer the following question:
`Who as the home team for game on 5 october 2011?`

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

CREATE TABLE "league" (
  "season" text,
  "date" text,
  "home_team" text,
  "result" text,
  "away_team" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who as the home team for game on 5 october 2011?`:
```sql
                SELECT "home_team" FROM "league" WHERE "date"='5 October 2011';
```
## Task
Generate a SQL query to answer the following question:
`What was the stadium for the home team of shamrock rovers and result of 3–0?`

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

CREATE TABLE "league" (
  "season" text,
  "date" text,
  "home_team" text,
  "result" text,
  "away_team" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the stadium for the home team of shamrock rovers and result of 3–0?`:
```sql
                SELECT "stadium" FROM "league" WHERE "home_team"='Shamrock Rovers' AND "result"='3–0';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team when the result was 2–1 and home team was the bohemians?`

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

CREATE TABLE "league" (
  "season" text,
  "date" text,
  "home_team" text,
  "result" text,
  "away_team" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team when the result was 2–1 and home team was the bohemians?`:
```sql
                SELECT "away_team" FROM "league" WHERE "result"='2–1' AND "home_team"='Bohemians';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team for the 2013 season and the result was 0–0?`

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

CREATE TABLE "league" (
  "season" text,
  "date" text,
  "home_team" text,
  "result" text,
  "away_team" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team for the 2013 season and the result was 0–0?`:
```sql
                SELECT "home_team" FROM "league" WHERE "season"='2013' AND "result"='0–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the date for the game at the tallaght stadium and result was 0–1?`

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

CREATE TABLE "league" (
  "season" text,
  "date" text,
  "home_team" text,
  "result" text,
  "away_team" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date for the game at the tallaght stadium and result was 0–1?`:
```sql
                SELECT "date" FROM "league" WHERE "stadium"='Tallaght Stadium' AND "result"='0–1';
```
## Task
Generate a SQL query to answer the following question:
`What opponents played Waldstadion in a game?`

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

CREATE TABLE "table1_24951872_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What opponents played Waldstadion in a game?`:
```sql
                SELECT "opponent" FROM "table1_24951872_2" WHERE "game_site"='Waldstadion';
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum week that had attendance of 10738?`

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

CREATE TABLE "table1_24951872_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum week that had attendance of 10738?`:
```sql
                SELECT MAX("week") FROM "table1_24951872_2" WHERE "attendance"=10738;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "Concordia"?`

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

CREATE TABLE "table1_24938621_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "Concordia"?`:
```sql
                SELECT "written_by" FROM "table1_24938621_3" WHERE "title"='\"Concordia\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code of the episode written by Cathryn Humphris?`

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

CREATE TABLE "table1_24938621_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code of the episode written by Cathryn Humphris?`:
```sql
                SELECT "production_code" FROM "table1_24938621_3" WHERE "written_by"='Cathryn Humphris';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code of the episode that had 5.43 million viewers?`

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

CREATE TABLE "table1_24938621_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code of the episode that had 5.43 million viewers?`:
```sql
                SELECT "production_code" FROM "table1_24938621_3" WHERE "u_s_viewers_million"='5.43';
```
## Task
Generate a SQL query to answer the following question:
`What was the title of the episode directed by Jesse Warn?`

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

CREATE TABLE "table1_24938621_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the title of the episode directed by Jesse Warn?`:
```sql
                SELECT "production_code" FROM "table1_24938621_3" WHERE "directed_by"='Jesse Warn';
```
## Task
Generate a SQL query to answer the following question:
`What episode number was written by Gregg Hurwitz?`

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

CREATE TABLE "table1_24938621_3" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number was written by Gregg Hurwitz?`:
```sql
                SELECT "no" FROM "table1_24938621_3" WHERE "written_by"='Gregg Hurwitz';
```
## Task
Generate a SQL query to answer the following question:
`If the dry density is 800, what is the drying shrinkage %?`

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

CREATE TABLE "properties_of_foamed_concrete" (
  "dry_density_kg_m3" real,
  "7_day_compressive_strength_n_mm2" text,
  "thermal_conductivity_w_m_k" text,
  "modulus_of_elasticity_k_n_mm2" text,
  "drying_shrinkage_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the dry density is 800, what is the drying shrinkage %?`:
```sql
                SELECT "drying_shrinkage_pct" FROM "properties_of_foamed_concrete" WHERE "dry_density_kg_m3"=800;
```
## Task
Generate a SQL query to answer the following question:
`What number in the series was episode 7 in the season?`

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

CREATE TABLE "table1_24961421_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number in the series was episode 7 in the season?`:
```sql
                SELECT "series_num" FROM "table1_24961421_1" WHERE "season_num"=7;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "Voir Dire"?`

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

CREATE TABLE "table1_24961421_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "Voir Dire"?`:
```sql
                SELECT "written_by" FROM "table1_24961421_1" WHERE "title"='\"Voir Dire\"';
```
## Task
Generate a SQL query to answer the following question:
`When was "Rewind" originally aired?`

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

CREATE TABLE "table1_24961421_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was "Rewind" originally aired?`:
```sql
                SELECT "original_air_date" FROM "table1_24961421_1" WHERE "title"='\"Rewind\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes had the title "Rise and Fall"?`

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

CREATE TABLE "table1_24961421_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes had the title "Rise and Fall"?`:
```sql
                SELECT COUNT("season_num") FROM "table1_24961421_1" WHERE "title"='\"Rise and Fall\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode that had 12.15 million viewers?`

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

CREATE TABLE "table1_24961421_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode that had 12.15 million viewers?`:
```sql
                SELECT "written_by" FROM "table1_24961421_1" WHERE "u_s_viewers_millions"='12.15';
```
## Task
Generate a SQL query to answer the following question:
`What number in the season was the episode with 12.23 million viewers?`

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

CREATE TABLE "table1_24961421_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number in the season was the episode with 12.23 million viewers?`:
```sql
                SELECT "season_num" FROM "table1_24961421_1" WHERE "u_s_viewers_millions"='12.23';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game at Olympic Stadium?`

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

CREATE TABLE "table1_24989925_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game at Olympic Stadium?`:
```sql
                SELECT "date" FROM "table1_24989925_2" WHERE "game_site"='Olympic Stadium';
```
## Task
Generate a SQL query to answer the following question:
`How many weeks total are there?`

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

CREATE TABLE "table1_24989925_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks total are there?`:
```sql
                SELECT MAX("week") FROM "table1_24989925_2";
```