cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Who is the  pärnu manager?`

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

CREATE TABLE "2013_naiste_meistriliiga" (
  "club" text,
  "location" text,
  "ground" text,
  "manager" text,
  "titles" real,
  "last_title" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the  pärnu manager?`:
```sql
                SELECT "manager" FROM "2013_naiste_meistriliiga" WHERE "club"='Pärnu';
```
## Task
Generate a SQL query to answer the following question:
`Where is the team that is managed by richard barnwell from?`

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

CREATE TABLE "2013_naiste_meistriliiga" (
  "club" text,
  "location" text,
  "ground" text,
  "manager" text,
  "titles" real,
  "last_title" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the team that is managed by richard barnwell from?`:
```sql
                SELECT "location" FROM "2013_naiste_meistriliiga" WHERE "manager"='Richard Barnwell';
```
## Task
Generate a SQL query to answer the following question:
`What is the home location for team flora tallinn?`

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

CREATE TABLE "2013_naiste_meistriliiga" (
  "club" text,
  "location" text,
  "ground" text,
  "manager" text,
  "titles" real,
  "last_title" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home location for team flora tallinn?`:
```sql
                SELECT "ground" FROM "2013_naiste_meistriliiga" WHERE "club"='Flora Tallinn';
```
## Task
Generate a SQL query to answer the following question:
`How many viewers watched the episode written by shana goldberg-meehan & greg malins? `

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

CREATE TABLE "table1_27403436_1" (
  "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 `How many viewers watched the episode written by shana goldberg-meehan & greg malins? `:
```sql
                SELECT "u_s_viewers_million" FROM "table1_27403436_1" WHERE "written_by"='Shana Goldberg-Meehan & Greg Malins';
```
## Task
Generate a SQL query to answer the following question:
`which number lists the production code as 2j5809`

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

CREATE TABLE "table1_27403436_1" (
  "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 `which number lists the production code as 2j5809`:
```sql
                SELECT "no" FROM "table1_27403436_1" WHERE "production_code"='2J5809';
```
## Task
Generate a SQL query to answer the following question:
`What position was Bob Lilly?`

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

CREATE TABLE "table1_274117_5" (
  "number" real,
  "player" text,
  "position" text,
  "seasons_by_team" text,
  "year_of_induction_into_pro_football_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position was Bob Lilly?`:
```sql
                SELECT "position" FROM "table1_274117_5" WHERE "player"='Bob Lilly';
```
## Task
Generate a SQL query to answer the following question:
`What are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances? `

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

CREATE TABLE "table1_274117_5" (
  "number" real,
  "player" text,
  "position" text,
  "seasons_by_team" text,
  "year_of_induction_into_pro_football_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances? `:
```sql
                SELECT "seasons_by_team" FROM "table1_274117_5" WHERE "position"='OL' AND "number"=11;
```
## Task
Generate a SQL query to answer the following question:
`What position was the player who was inducted into the Pro Football Hall of Fame in 1980? `

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

CREATE TABLE "table1_274117_5" (
  "number" real,
  "player" text,
  "position" text,
  "seasons_by_team" text,
  "year_of_induction_into_pro_football_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position was the player who was inducted into the Pro Football Hall of Fame in 1980? `:
```sql
                SELECT "position" FROM "table1_274117_5" WHERE "year_of_induction_into_pro_football_hall_of_fame"='1980';
```
## Task
Generate a SQL query to answer the following question:
`When was Will Shields inducted into the Pro Football Hall of Fame?`

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

CREATE TABLE "table1_274117_5" (
  "number" real,
  "player" text,
  "position" text,
  "seasons_by_team" text,
  "year_of_induction_into_pro_football_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Will Shields inducted into the Pro Football Hall of Fame?`:
```sql
                SELECT "year_of_induction_into_pro_football_hall_of_fame" FROM "table1_274117_5" WHERE "player"='Will Shields';
```
## Task
Generate a SQL query to answer the following question:
`What is the fewest amount of Pro Bowl appearances any of the players had? `

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

CREATE TABLE "table1_274117_5" (
  "number" real,
  "player" text,
  "position" text,
  "seasons_by_team" text,
  "year_of_induction_into_pro_football_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fewest amount of Pro Bowl appearances any of the players had? `:
```sql
                SELECT MIN("number") FROM "table1_274117_5";
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode titled "Not Without My Jacket"?`

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

CREATE TABLE "table1_27412213_3" (
  "no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode titled "Not Without My Jacket"?`:
```sql
                SELECT "directed_by" FROM "table1_27412213_3" WHERE "title"='\"Not Without My Jacket\"';
```
## Task
Generate a SQL query to answer the following question:
`How many U.S. viewers in millions watched the episode titled "The Truth About Dads and Moms"?`

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

CREATE TABLE "table1_27412213_3" (
  "no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many U.S. viewers in millions watched the episode titled "The Truth About Dads and Moms"?`:
```sql
                SELECT COUNT("u_s_viewers_million") FROM "table1_27412213_3" WHERE "title"='\"The Truth About Dads and Moms\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the life expectancy of men with an IMR of 64?`

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

CREATE TABLE "table1_27434_2" (
  "period" text,
  "live_births_per_year" text,
  "deaths_per_year" text,
  "natural_change_per_year" text,
  "cbr" text,
  "cdr" text,
  "nc" text,
  "tfr" text,
  "imr" real,
  "life_expectancy_total" text,
  "life_expectancy_males" text,
  "life_expectancy_females" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the life expectancy of men with an IMR of 64?`:
```sql
                SELECT "life_expectancy_males" FROM "table1_27434_2" WHERE "imr"=64;
```
## Task
Generate a SQL query to answer the following question:
`How many live births per year do people with a life expectancy of 65.1 have?`

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

CREATE TABLE "table1_27434_2" (
  "period" text,
  "live_births_per_year" text,
  "deaths_per_year" text,
  "natural_change_per_year" text,
  "cbr" text,
  "cdr" text,
  "nc" text,
  "tfr" text,
  "imr" real,
  "life_expectancy_total" text,
  "life_expectancy_males" text,
  "life_expectancy_females" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many live births per year do people with a life expectancy of 65.1 have?`:
```sql
                SELECT "live_births_per_year" FROM "table1_27434_2" WHERE "life_expectancy_total"='65.1';
```
## Task
Generate a SQL query to answer the following question:
`What period was there a 22.7 NC?`

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

CREATE TABLE "table1_27434_2" (
  "period" text,
  "live_births_per_year" text,
  "deaths_per_year" text,
  "natural_change_per_year" text,
  "cbr" text,
  "cdr" text,
  "nc" text,
  "tfr" text,
  "imr" real,
  "life_expectancy_total" text,
  "life_expectancy_males" text,
  "life_expectancy_females" text
);
### SQL
Given the database schema, here is the SQL query that answers `What period was there a 22.7 NC?`:
```sql
                SELECT "period" FROM "table1_27434_2" WHERE "nc"='22.7';
```
## Task
Generate a SQL query to answer the following question:
`What is the natural change per year for the 7.2 CDR group?`

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

CREATE TABLE "table1_27434_2" (
  "period" text,
  "live_births_per_year" text,
  "deaths_per_year" text,
  "natural_change_per_year" text,
  "cbr" text,
  "cdr" text,
  "nc" text,
  "tfr" text,
  "imr" real,
  "life_expectancy_total" text,
  "life_expectancy_males" text,
  "life_expectancy_females" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the natural change per year for the 7.2 CDR group?`:
```sql
                SELECT "natural_change_per_year" FROM "table1_27434_2" WHERE "cdr"='7.2';
```
## Task
Generate a SQL query to answer the following question:
`What is the natural change per year for the 34 IMR group?`

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

CREATE TABLE "table1_27434_2" (
  "period" text,
  "live_births_per_year" text,
  "deaths_per_year" text,
  "natural_change_per_year" text,
  "cbr" text,
  "cdr" text,
  "nc" text,
  "tfr" text,
  "imr" real,
  "life_expectancy_total" text,
  "life_expectancy_males" text,
  "life_expectancy_females" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the natural change per year for the 34 IMR group?`:
```sql
                SELECT "natural_change_per_year" FROM "table1_27434_2" WHERE "imr"=34;
```
## Task
Generate a SQL query to answer the following question:
`What period was the life expectancy at 62.4?`

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

CREATE TABLE "table1_27434_2" (
  "period" text,
  "live_births_per_year" text,
  "deaths_per_year" text,
  "natural_change_per_year" text,
  "cbr" text,
  "cdr" text,
  "nc" text,
  "tfr" text,
  "imr" real,
  "life_expectancy_total" text,
  "life_expectancy_males" text,
  "life_expectancy_females" text
);
### SQL
Given the database schema, here is the SQL query that answers `What period was the life expectancy at 62.4?`:
```sql
                SELECT "period" FROM "table1_27434_2" WHERE "life_expectancy_total"='62.4';
```
## Task
Generate a SQL query to answer the following question:
`Who is the artiest when the number one single is "elle"?`

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

CREATE TABLE "m" (
  "artist" text,
  "country" text,
  "number_one_single_s" text,
  "year" real,
  "weeks_at_num1" real,
  "straight_to_num1" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the artiest when the number one single is "elle"?`:
```sql
                SELECT "artist" FROM "m" WHERE "number_one_single_s"='\"Elle\"';
```
## Task
Generate a SQL query to answer the following question:
`In what year is australia/oceania listed? `

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

CREATE TABLE "table1_27435931_1" (
  "year" text,
  "summits" text,
  "country" text,
  "continent" text,
  "elevation_ft" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what year is australia/oceania listed? `:
```sql
                SELECT COUNT("year") FROM "table1_27435931_1" WHERE "continent"='Australia/Oceania';
```
## Task
Generate a SQL query to answer the following question:
`what was the elevation in september 2009?`

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

CREATE TABLE "table1_27435931_1" (
  "year" text,
  "summits" text,
  "country" text,
  "continent" text,
  "elevation_ft" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `what was the elevation in september 2009?`:
```sql
                SELECT "elevation_m" FROM "table1_27435931_1" WHERE "year"='September 2009';
```
## Task
Generate a SQL query to answer the following question:
`what is the continent in which the country russia is listed?`

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

CREATE TABLE "table1_27435931_1" (
  "year" text,
  "summits" text,
  "country" text,
  "continent" text,
  "elevation_ft" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the continent in which the country russia is listed?`:
```sql
                SELECT "continent" FROM "table1_27435931_1" WHERE "country"='Russia';
```
## Task
Generate a SQL query to answer the following question:
`what was the lowest elevation in april 2006?`

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

CREATE TABLE "table1_27435931_1" (
  "year" text,
  "summits" text,
  "country" text,
  "continent" text,
  "elevation_ft" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `what was the lowest elevation in april 2006?`:
```sql
                SELECT MIN("elevation_ft") FROM "table1_27435931_1" WHERE "year"='April 2006';
```
## Task
Generate a SQL query to answer the following question:
`what is elevation of tanzania?`

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

CREATE TABLE "table1_27435931_1" (
  "year" text,
  "summits" text,
  "country" text,
  "continent" text,
  "elevation_ft" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is elevation of tanzania?`:
```sql
                SELECT COUNT("elevation_ft") FROM "table1_27435931_1" WHERE "country"='Tanzania';
```
## Task
Generate a SQL query to answer the following question:
`what is the elevation of south america? `

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

CREATE TABLE "table1_27435931_1" (
  "year" text,
  "summits" text,
  "country" text,
  "continent" text,
  "elevation_ft" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the elevation of south america? `:
```sql
                SELECT "elevation_ft" FROM "table1_27435931_1" WHERE "continent"='South America';
```
## Task
Generate a SQL query to answer the following question:
`List the season above 241.0 that was handled by brad tanenbaum.`

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

CREATE TABLE "table1_27437601_2" (
  "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 `List the season above 241.0 that was handled by brad tanenbaum.`:
```sql
                SELECT "no_in_season" FROM "table1_27437601_2" WHERE "directed_by"='Brad Tanenbaum' AND "no_in_series">241.0;
```
## Task
Generate a SQL query to answer the following question:
`List the series number with the espide called "shock waves".`

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

CREATE TABLE "table1_27437601_2" (
  "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 `List the series number with the espide called "shock waves".`:
```sql
                SELECT "no_in_series" FROM "table1_27437601_2" WHERE "title"='\"Shock Waves\"';
```
## Task
Generate a SQL query to answer the following question:
`List the 1st air date for season 12.`

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

CREATE TABLE "table1_27437601_2" (
  "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 `List the 1st air date for season 12.`:
```sql
                SELECT "original_air_date" FROM "table1_27437601_2" WHERE "no_in_season"=12;
```
## Task
Generate a SQL query to answer the following question:
`List the series number for season 12.`

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

CREATE TABLE "table1_27437601_2" (
  "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 `List the series number for season 12.`:
```sql
                SELECT COUNT("no_in_series") FROM "table1_27437601_2" WHERE "no_in_season"=12;
```
## Task
Generate a SQL query to answer the following question:
`How many years was the country Belgium?`

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

CREATE TABLE "l" (
  "artist" text,
  "country" text,
  "number_one_single_s" text,
  "year" real,
  "weeks_at_num1" real,
  "straight_to_num1" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years was the country Belgium?`:
```sql
                SELECT COUNT("year") FROM "l" WHERE "country"='Belgium';
```
## Task
Generate a SQL query to answer the following question:
`What number-one single is performed by artist Pep's?`

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

CREATE TABLE "p" (
  "artist" text,
  "country" text,
  "number_one_single_s" text,
  "year" real,
  "weeks_at_num1" real,
  "straight_to_num1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number-one single is performed by artist Pep's?`:
```sql
                SELECT "number_one_single_s" FROM "p" WHERE "artist"='Pep''s';
```
## Task
Generate a SQL query to answer the following question:
`Where were the auditions held in the episode that aired on january 27, 2011?`

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

CREATE TABLE "regional_auditions" (
  "episode_air_date" text,
  "audition_city" text,
  "first_audition_date" text,
  "audition_venue" text,
  "callback_audition_date" text,
  "callback_venue" text,
  "golden_tickets" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where were the auditions held in the episode that aired on january 27, 2011?`:
```sql
                SELECT "audition_city" FROM "regional_auditions" WHERE "episode_air_date"='January 27, 2011';
```
## Task
Generate a SQL query to answer the following question:
`In how many different audition cities were the Bridgestone arena auditions held?`

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

CREATE TABLE "regional_auditions" (
  "episode_air_date" text,
  "audition_city" text,
  "first_audition_date" text,
  "audition_venue" text,
  "callback_audition_date" text,
  "callback_venue" text,
  "golden_tickets" text
);
### SQL
Given the database schema, here is the SQL query that answers `In how many different audition cities were the Bridgestone arena auditions held?`:
```sql
                SELECT COUNT("audition_city") FROM "regional_auditions" WHERE "audition_venue"='Bridgestone Arena';
```
## Task
Generate a SQL query to answer the following question:
`When was the callback audition date for the audition city from the episode aired on February 2, 2011?`

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

CREATE TABLE "regional_auditions" (
  "episode_air_date" text,
  "audition_city" text,
  "first_audition_date" text,
  "audition_venue" text,
  "callback_audition_date" text,
  "callback_venue" text,
  "golden_tickets" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the callback audition date for the audition city from the episode aired on February 2, 2011?`:
```sql
                SELECT "callback_audition_date" FROM "regional_auditions" WHERE "episode_air_date"='February 2, 2011';
```
## Task
Generate a SQL query to answer the following question:
`When were the callback auditions at Hilton Riverside Hotel held?`

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

CREATE TABLE "regional_auditions" (
  "episode_air_date" text,
  "audition_city" text,
  "first_audition_date" text,
  "audition_venue" text,
  "callback_audition_date" text,
  "callback_venue" text,
  "golden_tickets" text
);
### SQL
Given the database schema, here is the SQL query that answers `When were the callback auditions at Hilton Riverside Hotel held?`:
```sql
                SELECT "callback_audition_date" FROM "regional_auditions" WHERE "callback_venue"='Hilton Riverside Hotel';
```
## Task
Generate a SQL query to answer the following question:
`What was the callback venue for the audition city in the episode aired on January 20, 2011?`

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

CREATE TABLE "regional_auditions" (
  "episode_air_date" text,
  "audition_city" text,
  "first_audition_date" text,
  "audition_venue" text,
  "callback_audition_date" text,
  "callback_venue" text,
  "golden_tickets" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the callback venue for the audition city in the episode aired on January 20, 2011?`:
```sql
                SELECT "callback_venue" FROM "regional_auditions" WHERE "episode_air_date"='January 20, 2011';
```
## Task
Generate a SQL query to answer the following question:
`When were the callback auditions for the audition city in the episode aired on February 9, 2011?`

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

CREATE TABLE "regional_auditions" (
  "episode_air_date" text,
  "audition_city" text,
  "first_audition_date" text,
  "audition_venue" text,
  "callback_audition_date" text,
  "callback_venue" text,
  "golden_tickets" text
);
### SQL
Given the database schema, here is the SQL query that answers `When were the callback auditions for the audition city in the episode aired on February 9, 2011?`:
```sql
                SELECT "callback_audition_date" FROM "regional_auditions" WHERE "episode_air_date"='February 9, 2011';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes did Eve Weston write?`

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

CREATE TABLE "table1_27462177_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes did Eve Weston write?`:
```sql
                SELECT COUNT("no_in_series") FROM "table1_27462177_1" WHERE "written_by"='Eve Weston';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of US viewers watched the episode written by Jack Sanderson?`

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

CREATE TABLE "table1_27462177_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of US viewers watched the episode written by Jack Sanderson?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_27462177_1" WHERE "written_by"='Jack Sanderson';
```
## Task
Generate a SQL query to answer the following question:
`What is the series episode number of "Taxi Dance"?`

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

CREATE TABLE "table1_27462199_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the series episode number of "Taxi Dance"?`:
```sql
                SELECT MIN("no_in_series") FROM "table1_27462199_1" WHERE "title"='\"Taxi Dance\"';
```
## Task
Generate a SQL query to answer the following question:
`Name who wrote the production code 322`

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

CREATE TABLE "table1_27462209_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name who wrote the production code 322`:
```sql
                SELECT "written_by" FROM "table1_27462209_1" WHERE "prod_code"=322;
```
## Task
Generate a SQL query to answer the following question:
`What is the television network with the television channel of Astro Pelangi & Astro Bintang?`

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

CREATE TABLE "international_broadcasts" (
  "country" text,
  "series_programmes" text,
  "series_seasons_programmes" text,
  "television_channel" text,
  "television_network" text,
  "series_premiere" text,
  "series_end" text,
  "status" text,
  "available" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the television network with the television channel of Astro Pelangi & Astro Bintang?`:
```sql
                SELECT "television_network" FROM "international_broadcasts" WHERE "television_channel"='Astro Pelangi & Astro Bintang';
```
## Task
Generate a SQL query to answer the following question:
`What was the status of the series that was run by tv channel Mediacorp tv12 Suria?`

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

CREATE TABLE "international_broadcasts" (
  "country" text,
  "series_programmes" text,
  "series_seasons_programmes" text,
  "television_channel" text,
  "television_network" text,
  "series_premiere" text,
  "series_end" text,
  "status" text,
  "available" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the status of the series that was run by tv channel Mediacorp tv12 Suria?`:
```sql
                SELECT "status" FROM "international_broadcasts" WHERE "television_channel"='MediaCorp TV12 Suria';
```
## Task
Generate a SQL query to answer the following question:
`What was the world rank by QS in 2013 for the University of Otago?`

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

CREATE TABLE "universities" (
  "members" text,
  "country" text,
  "year_established" real,
  "world_rank_by_the_wur_2013" text,
  "world_rank_by_arwu_2013" text,
  "world_rank_by_qs_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the world rank by QS in 2013 for the University of Otago?`:
```sql
                SELECT "world_rank_by_qs_2013" FROM "universities" WHERE "members"='University of Otago';
```
## Task
Generate a SQL query to answer the following question:
`What was the world rank by ARWU in 2013 of university whose world rank by QS in 2013 was 90th?`

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

CREATE TABLE "universities" (
  "members" text,
  "country" text,
  "year_established" real,
  "world_rank_by_the_wur_2013" text,
  "world_rank_by_arwu_2013" text,
  "world_rank_by_qs_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the world rank by ARWU in 2013 of university whose world rank by QS in 2013 was 90th?`:
```sql
                SELECT "world_rank_by_arwu_2013" FROM "universities" WHERE "world_rank_by_qs_2013"='90th';
```
## Task
Generate a SQL query to answer the following question:
`What was the world rank by ARWU in 2013 of the University of Tübingen?`

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

CREATE TABLE "universities" (
  "members" text,
  "country" text,
  "year_established" real,
  "world_rank_by_the_wur_2013" text,
  "world_rank_by_arwu_2013" text,
  "world_rank_by_qs_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the world rank by ARWU in 2013 of the University of Tübingen?`:
```sql
                SELECT "world_rank_by_arwu_2013" FROM "universities" WHERE "members"='University of Tübingen';
```
## Task
Generate a SQL query to answer the following question:
`What was the world rank by THE-WUR in 2013 of the university whose world rank by QS in 2013 was 113th? `

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

CREATE TABLE "universities" (
  "members" text,
  "country" text,
  "year_established" real,
  "world_rank_by_the_wur_2013" text,
  "world_rank_by_arwu_2013" text,
  "world_rank_by_qs_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the world rank by THE-WUR in 2013 of the university whose world rank by QS in 2013 was 113th? `:
```sql
                SELECT "world_rank_by_the_wur_2013" FROM "universities" WHERE "world_rank_by_qs_2013"='113th';
```
## Task
Generate a SQL query to answer the following question:
`What is the production number for the episode called "Random on Purpose"?`

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

CREATE TABLE "table1_27481781_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_no" real,
  "viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production number for the episode called "Random on Purpose"?`:
```sql
                SELECT "prod_no" FROM "table1_27481781_2" WHERE "title"='\"Random on Purpose\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes have 18.73 million viewers?`

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

CREATE TABLE "table1_27481781_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_no" real,
  "viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes have 18.73 million viewers?`:
```sql
                SELECT COUNT("no_in_series") FROM "table1_27481781_2" WHERE "viewers_millions"='18.73';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the election for georgia's 3rd district?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the election for georgia's 3rd district?`:
```sql
                SELECT "result" FROM "results" WHERE "district"='Georgia''s 3rd';
```
## Task
Generate a SQL query to answer the following question:
`Who was the incumbent from georgia's 8th district?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incumbent from georgia's 8th district?`:
```sql
                SELECT "incumbent" FROM "results" WHERE "district"='Georgia''s 8th';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the election with incumbent bob barr?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the election with incumbent bob barr?`:
```sql
                SELECT "result" FROM "results" WHERE "incumbent"='Bob Barr';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the election with incumbent john lewis?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the election with incumbent john lewis?`:
```sql
                SELECT "result" FROM "results" WHERE "incumbent"='John Lewis';
```
## Task
Generate a SQL query to answer the following question:
`Who was the incumbent for the election in 1978?`

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

CREATE TABLE "results" (
  "district" text,
  "incumbent" text,
  "party" text,
  "elected" real,
  "status" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incumbent for the election in 1978?`:
```sql
                SELECT "incumbent" FROM "results" WHERE "elected"=1978;
```
## Task
Generate a SQL query to answer the following question:
`Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011?`

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

CREATE TABLE "table1_27487310_5" (
  "country" text,
  "name" text,
  "host_s" text,
  "judges" text,
  "network" text,
  "air_dates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011?`:
```sql
                SELECT "judges" FROM "table1_27487310_5" WHERE "country"='Netherlands' AND "air_dates"='28 November 2011 – 24 December 2011';
```
## Task
Generate a SQL query to answer the following question:
`What is the version aired on SBS 6 called?`

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

CREATE TABLE "table1_27487310_5" (
  "country" text,
  "name" text,
  "host_s" text,
  "judges" text,
  "network" text,
  "air_dates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the version aired on SBS 6 called?`:
```sql
                SELECT "name" FROM "table1_27487310_5" WHERE "network"='SBS 6';
```
## Task
Generate a SQL query to answer the following question:
`What are the air dates of the show in ABS-CBN?`

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

CREATE TABLE "table1_27487310_5" (
  "country" text,
  "name" text,
  "host_s" text,
  "judges" text,
  "network" text,
  "air_dates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the air dates of the show in ABS-CBN?`:
```sql
                SELECT "air_dates" FROM "table1_27487310_5" WHERE "network"='ABS-CBN';
```
## Task
Generate a SQL query to answer the following question:
`Who is the host on the series aired on 18 January 2012?`

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

CREATE TABLE "table1_27487310_5" (
  "country" text,
  "name" text,
  "host_s" text,
  "judges" text,
  "network" text,
  "air_dates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the host on the series aired on 18 January 2012?`:
```sql
                SELECT "host_s" FROM "table1_27487310_5" WHERE "air_dates"='18 January 2012';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the series with the unknown host?`

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

CREATE TABLE "table1_27487310_5" (
  "country" text,
  "name" text,
  "host_s" text,
  "judges" text,
  "network" text,
  "air_dates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the series with the unknown host?`:
```sql
                SELECT "name" FROM "table1_27487310_5" WHERE "host_s"='unknown';
```
## Task
Generate a SQL query to answer the following question:
`What is every value for points per game if passing yards per game is 179.6?`

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

CREATE TABLE "season_by_season_statistics" (
  "season" text,
  "points_per_game" text,
  "total_yards_per_game" text,
  "rushing_yards_per_game" text,
  "passing_yards_per_game" text,
  "sacks" text,
  "interceptions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for points per game if passing yards per game is 179.6?`:
```sql
                SELECT "points_per_game" FROM "season_by_season_statistics" WHERE "passing_yards_per_game"='179.6';
```
## Task
Generate a SQL query to answer the following question:
`What is every value for sacks if interceptions is 19?`

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

CREATE TABLE "season_by_season_statistics" (
  "season" text,
  "points_per_game" text,
  "total_yards_per_game" text,
  "rushing_yards_per_game" text,
  "passing_yards_per_game" text,
  "sacks" text,
  "interceptions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for sacks if interceptions is 19?`:
```sql
                SELECT "sacks" FROM "season_by_season_statistics" WHERE "interceptions"='19';
```
## Task
Generate a SQL query to answer the following question:
`What is every value for passing yards per game if rushing yards per game is 113.6?`

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

CREATE TABLE "season_by_season_statistics" (
  "season" text,
  "points_per_game" text,
  "total_yards_per_game" text,
  "rushing_yards_per_game" text,
  "passing_yards_per_game" text,
  "sacks" text,
  "interceptions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for passing yards per game if rushing yards per game is 113.6?`:
```sql
                SELECT "passing_yards_per_game" FROM "season_by_season_statistics" WHERE "rushing_yards_per_game"='113.6';
```
## Task
Generate a SQL query to answer the following question:
`What is every value for rushing yards per game if sacks if 25?`

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

CREATE TABLE "season_by_season_statistics" (
  "season" text,
  "points_per_game" text,
  "total_yards_per_game" text,
  "rushing_yards_per_game" text,
  "passing_yards_per_game" text,
  "sacks" text,
  "interceptions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for rushing yards per game if sacks if 25?`:
```sql
                SELECT "rushing_yards_per_game" FROM "season_by_season_statistics" WHERE "sacks"='25';
```
## Task
Generate a SQL query to answer the following question:
`What is every value for rushing yards per game if the season is 1984?`

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

CREATE TABLE "season_by_season_statistics" (
  "season" text,
  "points_per_game" text,
  "total_yards_per_game" text,
  "rushing_yards_per_game" text,
  "passing_yards_per_game" text,
  "sacks" text,
  "interceptions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every value for rushing yards per game if the season is 1984?`:
```sql
                SELECT "rushing_yards_per_game" FROM "season_by_season_statistics" WHERE "season"='1984';
```
## Task
Generate a SQL query to answer the following question:
`How many seasons have a sacks of 39?`

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

CREATE TABLE "season_by_season_statistics" (
  "season" text,
  "points_per_game" text,
  "total_yards_per_game" text,
  "rushing_yards_per_game" text,
  "passing_yards_per_game" text,
  "sacks" text,
  "interceptions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons have a sacks of 39?`:
```sql
                SELECT COUNT("season") FROM "season_by_season_statistics" WHERE "sacks"='39';
```
## Task
Generate a SQL query to answer the following question:
`Name the average for rank of 3`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the average for rank of 3`:
```sql
                SELECT "average" FROM "averages" WHERE "rank_by_average"=3;
```
## Task
Generate a SQL query to answer the following question:
`Name the total points for 2`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total points for 2`:
```sql
                SELECT "total_points" FROM "averages" WHERE "place"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the decision when the opponents are atlanta thrashers?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text,
  "points" real,
  "decision" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the decision when the opponents are atlanta thrashers?`:
```sql
                SELECT "decision" FROM "regular_season" WHERE "opponent"='Atlanta Thrashers';
```
## Task
Generate a SQL query to answer the following question:
`How many game entries are there when the points are 57?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text,
  "points" real,
  "decision" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many game entries are there when the points are 57?`:
```sql
                SELECT COUNT("game") FROM "regular_season" WHERE "points"=57;
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest año?`

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

CREATE TABLE "awards_and_nominations" (
  "a_o" real,
  "trabajo_nominado" text,
  "premio" text,
  "categor_a" text,
  "country" text,
  "resultado" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest año?`:
```sql
                SELECT MIN("a_o") FROM "awards_and_nominations";
```
## Task
Generate a SQL query to answer the following question:
`How many premio are there when "Artist of the Year" was the categoria?`

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

CREATE TABLE "awards_and_nominations" (
  "a_o" real,
  "trabajo_nominado" text,
  "premio" text,
  "categor_a" text,
  "country" text,
  "resultado" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many premio are there when "Artist of the Year" was the categoria?`:
```sql
                SELECT COUNT("premio") FROM "awards_and_nominations" WHERE "categor_a"='Artist of the Year';
```
## Task
Generate a SQL query to answer the following question:
`What was the resultado when E.E.U.U was the country?`

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

CREATE TABLE "awards_and_nominations" (
  "a_o" real,
  "trabajo_nominado" text,
  "premio" text,
  "categor_a" text,
  "country" text,
  "resultado" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the resultado when E.E.U.U was the country?`:
```sql
                SELECT "resultado" FROM "awards_and_nominations" WHERE "country"='E.E.U.U';
```
## Task
Generate a SQL query to answer the following question:
`What was the categoria when E.E.U.U was the country?`

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

CREATE TABLE "awards_and_nominations" (
  "a_o" real,
  "trabajo_nominado" text,
  "premio" text,
  "categor_a" text,
  "country" text,
  "resultado" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the categoria when E.E.U.U was the country?`:
```sql
                SELECT "categor_a" FROM "awards_and_nominations" WHERE "country"='E.E.U.U';
```
## Task
Generate a SQL query to answer the following question:
`When the año was 2012, who was the county?`

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

CREATE TABLE "awards_and_nominations" (
  "a_o" real,
  "trabajo_nominado" text,
  "premio" text,
  "categor_a" text,
  "country" text,
  "resultado" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the año was 2012, who was the county?`:
```sql
                SELECT "country" FROM "awards_and_nominations" WHERE "a_o"=2012;
```