cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the destination of the season won by Anwar Syed?`

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

CREATE TABLE "series_details" (
  "season" real,
  "network" text,
  "host" text,
  "contestants" real,
  "winner" text,
  "destination" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the destination of the season won by Anwar Syed?`:
```sql
                SELECT "destination" FROM "series_details" WHERE "winner"='Anwar Syed';
```
## Task
Generate a SQL query to answer the following question:
`What season was won by Anthony Yeh?`

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

CREATE TABLE "series_details" (
  "season" real,
  "network" text,
  "host" text,
  "contestants" real,
  "winner" text,
  "destination" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season was won by Anthony Yeh?`:
```sql
                SELECT "season" FROM "series_details" WHERE "winner"='Anthony Yeh';
```
## Task
Generate a SQL query to answer the following question:
`Who won the season with Africa as its destination?`

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

CREATE TABLE "series_details" (
  "season" real,
  "network" text,
  "host" text,
  "contestants" real,
  "winner" text,
  "destination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the season with Africa as its destination?`:
```sql
                SELECT "winner" FROM "series_details" WHERE "destination"='Africa';
```
## Task
Generate a SQL query to answer the following question:
`What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle?`

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

CREATE TABLE "table1_20042805_2" (
  "ostrich" text,
  "hamerkop" text,
  "hadeda_ibis" text,
  "african_spoonbill" text,
  "whitefaced_duck" text,
  "knobbilled_duck" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle?`:
```sql
                SELECT "african_spoonbill" FROM "table1_20042805_2" WHERE "hadeda_ibis"='Brown Snake Eagle';
```
## Task
Generate a SQL query to answer the following question:
`What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk?`

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

CREATE TABLE "table1_20042805_2" (
  "ostrich" text,
  "hamerkop" text,
  "hadeda_ibis" text,
  "african_spoonbill" text,
  "whitefaced_duck" text,
  "knobbilled_duck" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk?`:
```sql
                SELECT "hadeda_ibis" FROM "table1_20042805_2" WHERE "ostrich"='Dark Chanting Goshawk';
```
## Task
Generate a SQL query to answer the following question:
`What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?`

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

CREATE TABLE "table1_20042805_2" (
  "ostrich" text,
  "hamerkop" text,
  "hadeda_ibis" text,
  "african_spoonbill" text,
  "whitefaced_duck" text,
  "knobbilled_duck" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?`:
```sql
                SELECT "african_spoonbill" FROM "table1_20042805_2" WHERE "hadeda_ibis"='Flernecked Nightjar';
```
## Task
Generate a SQL query to answer the following question:
`What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow?`

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

CREATE TABLE "table1_20042805_2" (
  "ostrich" text,
  "hamerkop" text,
  "hadeda_ibis" text,
  "african_spoonbill" text,
  "whitefaced_duck" text,
  "knobbilled_duck" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow?`:
```sql
                SELECT "hadeda_ibis" FROM "table1_20042805_2" WHERE "knobbilled_duck"='Pied Crow';
```
## Task
Generate a SQL query to answer the following question:
`What is the African Spoonbill when the Ostrich is Brown-hooded Kingfisher?`

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

CREATE TABLE "table1_20042805_2" (
  "ostrich" text,
  "hamerkop" text,
  "hadeda_ibis" text,
  "african_spoonbill" text,
  "whitefaced_duck" text,
  "knobbilled_duck" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the African Spoonbill when the Ostrich is Brown-hooded Kingfisher?`:
```sql
                SELECT "african_spoonbill" FROM "table1_20042805_2" WHERE "ostrich"='Brown-hooded Kingfisher';
```
## Task
Generate a SQL query to answer the following question:
`What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover?`

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

CREATE TABLE "table1_20042805_2" (
  "ostrich" text,
  "hamerkop" text,
  "hadeda_ibis" text,
  "african_spoonbill" text,
  "whitefaced_duck" text,
  "knobbilled_duck" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover?`:
```sql
                SELECT "hadeda_ibis" FROM "table1_20042805_2" WHERE "whitefaced_duck"='Blacksmith Plover';
```
## Task
Generate a SQL query to answer the following question:
`Name the winning pilot for hungary`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "location" text,
  "country" text,
  "date" text,
  "fastest_qualifying" text,
  "winning_pilot" text,
  "winning_aircraft" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winning pilot for hungary`:
```sql
                SELECT "winning_pilot" FROM "race_calendar_and_results" WHERE "country"='Hungary';
```
## Task
Generate a SQL query to answer the following question:
`Name the most round for michael goulian`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "location" text,
  "country" text,
  "date" text,
  "fastest_qualifying" text,
  "winning_pilot" text,
  "winning_aircraft" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most round for michael goulian`:
```sql
                SELECT MAX("round") FROM "race_calendar_and_results" WHERE "winning_pilot"='Michael Goulian';
```
## Task
Generate a SQL query to answer the following question:
`Name the country for hannes arch`

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

CREATE TABLE "race_calendar_and_results" (
  "round" real,
  "location" text,
  "country" text,
  "date" text,
  "fastest_qualifying" text,
  "winning_pilot" text,
  "winning_aircraft" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country for hannes arch`:
```sql
                SELECT "country" FROM "race_calendar_and_results" WHERE "winning_pilot"='Hannes Arch';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode with series number 45?`

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

CREATE TABLE "table1_20046379_3" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode with series number 45?`:
```sql
                SELECT "written_by" FROM "table1_20046379_3" WHERE "no_in_series"='45';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of people in the US saw the episode with production code 214?`

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

CREATE TABLE "table1_20046379_3" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of people in the US saw the episode with production code 214?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_20046379_3" WHERE "production_code"='214';
```
## Task
Generate a SQL query to answer the following question:
`What's the title of the episode seen by 3.8 million people in the US?`

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

CREATE TABLE "table1_20046379_3" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the title of the episode seen by 3.8 million people in the US?`:
```sql
                SELECT "title" FROM "table1_20046379_3" WHERE "u_s_viewers_millions"='3.8';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode titled "Mission gone bad" "Trapped in Paris"?`

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

CREATE TABLE "table1_20046379_3" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode titled "Mission gone bad" "Trapped in Paris"?`:
```sql
                SELECT "written_by" FROM "table1_20046379_3" WHERE "title"='\"Mission Gone Bad\" \"Trapped in Paris\"';
```
## Task
Generate a SQL query to answer the following question:
`On how many different dates did the episode with series number 35 air for the first time?`

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

CREATE TABLE "table1_20046379_3" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `On how many different dates did the episode with series number 35 air for the first time?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_20046379_3" WHERE "no_in_series"='35';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for value 55c`

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

CREATE TABLE "table1_2006661_1" (
  "year" real,
  "date" text,
  "type" text,
  "species" text,
  "author_species" text,
  "value" text,
  "scott" text,
  "yvert" real,
  "mitchell" real,
  "sta_gib" real,
  "order" text,
  "family" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for value 55c`:
```sql
                SELECT "date" FROM "table1_2006661_1" WHERE "value"='55c';
```
## Task
Generate a SQL query to answer the following question:
`Name the scott for chloropsis hardwickii`

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

CREATE TABLE "table1_2006661_1" (
  "year" real,
  "date" text,
  "type" text,
  "species" text,
  "author_species" text,
  "value" text,
  "scott" text,
  "yvert" real,
  "mitchell" real,
  "sta_gib" real,
  "order" text,
  "family" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the scott for chloropsis hardwickii`:
```sql
                SELECT "scott" FROM "table1_2006661_1" WHERE "species"='Chloropsis hardwickii';
```
## Task
Generate a SQL query to answer the following question:
`How many people lived in bulac in the year 2000?`

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

CREATE TABLE "demographics" (
  "no" real,
  "barangay" text,
  "area_in_km_2" text,
  "rank" real,
  "population_2000" real,
  "population_2007" real,
  "population_2010" real,
  "population_density_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people lived in bulac in the year 2000?`:
```sql
                SELECT MAX("population_2000") FROM "demographics" WHERE "barangay"='Bulac';
```
## Task
Generate a SQL query to answer the following question:
`In 2010, how many people lived in cities with a population density of 3,965.02?`

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

CREATE TABLE "demographics" (
  "no" real,
  "barangay" text,
  "area_in_km_2" text,
  "rank" real,
  "population_2000" real,
  "population_2007" real,
  "population_2010" real,
  "population_density_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 2010, how many people lived in cities with a population density of 3,965.02?`:
```sql
                SELECT "population_2010" FROM "demographics" WHERE "population_density_2010"='3,965.02';
```
## Task
Generate a SQL query to answer the following question:
`What's the name of the barangay whose area is 3.6787 km² ?`

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

CREATE TABLE "demographics" (
  "no" real,
  "barangay" text,
  "area_in_km_2" text,
  "rank" real,
  "population_2000" real,
  "population_2007" real,
  "population_2010" real,
  "population_density_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the name of the barangay whose area is 3.6787 km² ?`:
```sql
                SELECT "barangay" FROM "demographics" WHERE "area_in_km_2"='3.6787';
```
## Task
Generate a SQL query to answer the following question:
`How many people lived in the city which has 1.2530 km² in the year 2000?`

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

CREATE TABLE "demographics" (
  "no" real,
  "barangay" text,
  "area_in_km_2" text,
  "rank" real,
  "population_2000" real,
  "population_2007" real,
  "population_2010" real,
  "population_density_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people lived in the city which has 1.2530 km² in the year 2000?`:
```sql
                SELECT MAX("population_2000") FROM "demographics" WHERE "area_in_km_2"='1.2530';
```
## Task
Generate a SQL query to answer the following question:
`How many people lived in san gabriel in the year 2000?`

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

CREATE TABLE "demographics" (
  "no" real,
  "barangay" text,
  "area_in_km_2" text,
  "rank" real,
  "population_2000" real,
  "population_2007" real,
  "population_2010" real,
  "population_density_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people lived in san gabriel in the year 2000?`:
```sql
                SELECT COUNT("population_2000") FROM "demographics" WHERE "barangay"='San Gabriel';
```
## Task
Generate a SQL query to answer the following question:
`How many different titles does the representative whose mission was terminated on August 5, 1984 have?`

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

CREATE TABLE "see_also" (
  "representative" text,
  "state" text,
  "training" text,
  "title" text,
  "appointment" text,
  "presentation_of_credentials" text,
  "termination_of_mission" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different titles does the representative whose mission was terminated on August 5, 1984 have?`:
```sql
                SELECT COUNT("title") FROM "see_also" WHERE "termination_of_mission"='August 5, 1984';
```
## Task
Generate a SQL query to answer the following question:
`What state does the representative whose mission was terminated on November 29, 1973 represent?`

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

CREATE TABLE "see_also" (
  "representative" text,
  "state" text,
  "training" text,
  "title" text,
  "appointment" text,
  "presentation_of_credentials" text,
  "termination_of_mission" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state does the representative whose mission was terminated on November 29, 1973 represent?`:
```sql
                SELECT "state" FROM "see_also" WHERE "termination_of_mission"='November 29, 1973';
```
## Task
Generate a SQL query to answer the following question:
`Who trained the representative whose presentation of credentials happened on February 24, 1950?`

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

CREATE TABLE "see_also" (
  "representative" text,
  "state" text,
  "training" text,
  "title" text,
  "appointment" text,
  "presentation_of_credentials" text,
  "termination_of_mission" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who trained the representative whose presentation of credentials happened on February 24, 1950?`:
```sql
                SELECT "training" FROM "see_also" WHERE "presentation_of_credentials"='February 24, 1950';
```
## Task
Generate a SQL query to answer the following question:
`When was the film Här har du ditt liv used in nomination?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the film Här har du ditt liv used in nomination?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Här har du ditt liv';
```
## Task
Generate a SQL query to answer the following question:
`What's the original title of the film Zozo?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the original title of the film Zozo?`:
```sql
                SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='Zozo';
```
## Task
Generate a SQL query to answer the following question:
`What's the original title of The New Land?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the original title of The New Land?`:
```sql
                SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='The New Land';
```
## Task
Generate a SQL query to answer the following question:
`Name the championship for winner and judy tegart dalton lesley turner bowrey`

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

CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the championship for winner and judy tegart dalton lesley turner bowrey`:
```sql
                SELECT COUNT("championship") FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "outcome"='Winner' AND "opponents"='Judy Tegart Dalton Lesley Turner Bowrey';
```
## Task
Generate a SQL query to answer the following question:
`Name the outcome for wimbledon`

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

CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the outcome for wimbledon`:
```sql
                SELECT "outcome" FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "championship"='Wimbledon';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponets for  6–4, 3–6, 6–2`

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

CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponets for  6–4, 3–6, 6–2`:
```sql
                SELECT "opponents" FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "score"='6–4, 3–6, 6–2';
```
## Task
Generate a SQL query to answer the following question:
`Name the least year for evonne goolagong helen gourlay`

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

CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least year for evonne goolagong helen gourlay`:
```sql
                SELECT MIN("year") FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "opponents"='Evonne Goolagong Helen Gourlay';
```
## Task
Generate a SQL query to answer the following question:
`Name the surface for australian open for winner`

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

CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the surface for australian open for winner`:
```sql
                SELECT "surface" FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "championship"='Australian Open' AND "outcome"='Winner';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team?`

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

CREATE TABLE "races" (
  "round" real,
  "circuit_location" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "highest_scoring_team" text,
  "winning_privateer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team?`:
```sql
                SELECT "highest_scoring_team" FROM "races" WHERE "circuit_location"='Ring Knutstorp' AND "winning_team"='Polestar Racing';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position?`

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

CREATE TABLE "races" (
  "round" real,
  "circuit_location" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "highest_scoring_team" text,
  "winning_privateer" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position?`:
```sql
                SELECT COUNT("round") FROM "races" WHERE "circuit_location"='Karlskoga Motorstadion' AND "pole_position"='Roger Eriksson';
```
## Task
Generate a SQL query to answer the following question:
`What was the first leg result in the round against Norchi Dinamoeli?`

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

CREATE TABLE "table1_20086138_1" (
  "season" text,
  "competition" text,
  "round" text,
  "opposition" text,
  "first_leg" text,
  "second_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first leg result in the round against Norchi Dinamoeli?`:
```sql
                SELECT "first_leg" FROM "table1_20086138_1" WHERE "opposition"='Norchi Dinamoeli';
```
## Task
Generate a SQL query to answer the following question:
`which vehicles got best time of day 1:17.17`

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

CREATE TABLE "2008_taupo_1_november" (
  "pos" real,
  "driver" text,
  "vehicle" text,
  "top_13_time" text,
  "shoot_out_time" text,
  "best_time_of_day" text
);
### SQL
Given the database schema, here is the SQL query that answers `which vehicles got best time of day 1:17.17`:
```sql
                SELECT "vehicle" FROM "2008_taupo_1_november" WHERE "best_time_of_day"='1:17.17';
```
## Task
Generate a SQL query to answer the following question:
`how many drivers driving toyota corolla`

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

CREATE TABLE "2008_taupo_1_november" (
  "pos" real,
  "driver" text,
  "vehicle" text,
  "top_13_time" text,
  "shoot_out_time" text,
  "best_time_of_day" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many drivers driving toyota corolla`:
```sql
                SELECT COUNT("driver") FROM "2008_taupo_1_november" WHERE "vehicle"='Toyota Corolla';
```
## Task
Generate a SQL query to answer the following question:
`what is the lowest position of brendan sole`

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

CREATE TABLE "2008_taupo_1_november" (
  "pos" real,
  "driver" text,
  "vehicle" text,
  "top_13_time" text,
  "shoot_out_time" text,
  "best_time_of_day" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the lowest position of brendan sole`:
```sql
                SELECT MAX("pos") FROM "2008_taupo_1_november" WHERE "driver"='Brendan Sole';
```
## Task
Generate a SQL query to answer the following question:
`how many vehicles where top 13 time is 1:18.72`

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

CREATE TABLE "2008_taupo_1_november" (
  "pos" real,
  "driver" text,
  "vehicle" text,
  "top_13_time" text,
  "shoot_out_time" text,
  "best_time_of_day" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many vehicles where top 13 time is 1:18.72`:
```sql
                SELECT COUNT("vehicle") FROM "2008_taupo_1_november" WHERE "top_13_time"='1:18.72';
```
## Task
Generate a SQL query to answer the following question:
`which driver got best time of day 1:16.93`

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

CREATE TABLE "2008_taupo_1_november" (
  "pos" real,
  "driver" text,
  "vehicle" text,
  "top_13_time" text,
  "shoot_out_time" text,
  "best_time_of_day" text
);
### SQL
Given the database schema, here is the SQL query that answers `which driver got best time of day 1:16.93`:
```sql
                SELECT "driver" FROM "2008_taupo_1_november" WHERE "best_time_of_day"='1:16.93';
```
## Task
Generate a SQL query to answer the following question:
`What is the amount of assists when mins is 744:27?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "games" real,
  "mins" text,
  "f_gpct" text,
  "3_ppct" text,
  "f_tpct" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "blocks" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the amount of assists when mins is 744:27?`:
```sql
                SELECT "assists" FROM "career_statistics" WHERE "mins"='744:27';
```
## Task
Generate a SQL query to answer the following question:
`What is the game number with 385:33 mins?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "games" real,
  "mins" text,
  "f_gpct" text,
  "3_ppct" text,
  "f_tpct" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "blocks" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the game number with 385:33 mins?`:
```sql
                SELECT MIN("games") FROM "career_statistics" WHERE "mins"='385:33';
```
## Task
Generate a SQL query to answer the following question:
`What is the points number when rebounds is 4.4?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "games" real,
  "mins" text,
  "f_gpct" text,
  "3_ppct" text,
  "f_tpct" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "blocks" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the points number when rebounds is 4.4?`:
```sql
                SELECT "points" FROM "career_statistics" WHERE "rebounds"='4.4';
```
## Task
Generate a SQL query to answer the following question:
`Who is the team with the ft% of 77.6?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "games" real,
  "mins" text,
  "f_gpct" text,
  "3_ppct" text,
  "f_tpct" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "blocks" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the team with the ft% of 77.6?`:
```sql
                SELECT "team" FROM "career_statistics" WHERE "f_tpct"='77.6';
```
## Task
Generate a SQL query to answer the following question:
`When did Austin Austin TX get the third place?`

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

CREATE TABLE "nac_champions_and_runners_up" (
  "year" text,
  "winner" text,
  "first_runner_up" text,
  "third_place" text,
  "consolation_winner_4th" text,
  "finals_location" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did Austin Austin TX get the third place?`:
```sql
                SELECT "year" FROM "nac_champions_and_runners_up" WHERE "third_place"='Austin Austin TX';
```
## Task
Generate a SQL query to answer the following question:
`Who was the first runner up in the year when Mesa Mesa AZ was the consolation winner?`

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

CREATE TABLE "nac_champions_and_runners_up" (
  "year" text,
  "winner" text,
  "first_runner_up" text,
  "third_place" text,
  "consolation_winner_4th" text,
  "finals_location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the first runner up in the year when Mesa Mesa AZ was the consolation winner?`:
```sql
                SELECT "first_runner_up" FROM "nac_champions_and_runners_up" WHERE "consolation_winner_4th"='Mesa Mesa AZ';
```
## Task
Generate a SQL query to answer the following question:
`Who has a religion of United Methodist and a prior background of a Congressional Aide?`

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

CREATE TABLE "house_of_representatives" (
  "district" text,
  "representative" text,
  "party_change" text,
  "prior_background" text,
  "religion" text,
  "birth_year" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a religion of United Methodist and a prior background of a Congressional Aide?`:
```sql
                SELECT "representative" FROM "house_of_representatives" WHERE "religion"='United Methodist' AND "prior_background"='Congressional aide';
```
## Task
Generate a SQL query to answer the following question:
`What horse had a starting price of 14/1 and weighted 10-7?`

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

CREATE TABLE "runners_and_betting" (
  "starting_price" text,
  "number" real,
  "name" text,
  "age" real,
  "weight_st_lb" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "colours" text
);
### SQL
Given the database schema, here is the SQL query that answers `What horse had a starting price of 14/1 and weighted 10-7?`:
```sql
                SELECT "name" FROM "runners_and_betting" WHERE "starting_price"='14/1' AND "weight_st_lb"='10-7';
```
## Task
Generate a SQL query to answer the following question:
`What's the number of the horse weighting 10-5?`

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

CREATE TABLE "runners_and_betting" (
  "starting_price" text,
  "number" real,
  "name" text,
  "age" real,
  "weight_st_lb" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "colours" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the number of the horse weighting 10-5?`:
```sql
                SELECT MIN("number") FROM "runners_and_betting" WHERE "weight_st_lb"='10-5';
```
## Task
Generate a SQL query to answer the following question:
`What horse has the number 25?`

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

CREATE TABLE "runners_and_betting" (
  "starting_price" text,
  "number" real,
  "name" text,
  "age" real,
  "weight_st_lb" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "colours" text
);
### SQL
Given the database schema, here is the SQL query that answers `What horse has the number 25?`:
```sql
                SELECT "name" FROM "runners_and_betting" WHERE "number"=25;
```
## Task
Generate a SQL query to answer the following question:
`How much does Point Barrow weight?`

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

CREATE TABLE "runners_and_betting" (
  "starting_price" text,
  "number" real,
  "name" text,
  "age" real,
  "weight_st_lb" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "colours" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much does Point Barrow weight?`:
```sql
                SELECT "weight_st_lb" FROM "runners_and_betting" WHERE "name"='Point Barrow';
```
## Task
Generate a SQL query to answer the following question:
`What are Andrew McNamara's colors?`

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

CREATE TABLE "runners_and_betting" (
  "starting_price" text,
  "number" real,
  "name" text,
  "age" real,
  "weight_st_lb" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "colours" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are Andrew McNamara's colors?`:
```sql
                SELECT "colours" FROM "runners_and_betting" WHERE "jockey"='Andrew McNamara';
```
## Task
Generate a SQL query to answer the following question:
`What's the number of the horse whose trainer is Kim Bailey?`

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

CREATE TABLE "runners_and_betting" (
  "starting_price" text,
  "number" real,
  "name" text,
  "age" real,
  "weight_st_lb" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "colours" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the number of the horse whose trainer is Kim Bailey?`:
```sql
                SELECT MAX("number") FROM "runners_and_betting" WHERE "trainer"='Kim Bailey';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode number 48`

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

CREATE TABLE "table1_20098479_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode number 48`:
```sql
                SELECT "written_by" FROM "table1_20098479_1" WHERE "no_in_series"=48;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest production code`

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

CREATE TABLE "table1_20098479_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest production code`:
```sql
                SELECT MIN("production_code") FROM "table1_20098479_1";
```
## Task
Generate a SQL query to answer the following question:
`What was the original title of 3.19?`

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

CREATE TABLE "table1_20124413_3" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original title of 3.19?`:
```sql
                SELECT "original_title" FROM "table1_20124413_3" WHERE "production_code"='3.19';
```
## Task
Generate a SQL query to answer the following question:
`What was the production code for "down to earth"?`

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

CREATE TABLE "table1_20124413_3" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the production code for "down to earth"?`:
```sql
                SELECT "production_code" FROM "table1_20124413_3" WHERE "original_title"='\"Down to Earth\"';
```
## Task
Generate a SQL query to answer the following question:
`How many numbers have the product code of 2.6?`

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

CREATE TABLE "table1_20124413_2" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many numbers have the product code of 2.6?`:
```sql
                SELECT "num" FROM "table1_20124413_2" WHERE "prod_code"='2.6';
```
## Task
Generate a SQL query to answer the following question:
`How many directed have the product code of 2.8?`

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

CREATE TABLE "table1_20124413_2" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many directed have the product code of 2.8?`:
```sql
                SELECT COUNT("directed_by") FROM "table1_20124413_2" WHERE "prod_code"='2.8';
```
## Task
Generate a SQL query to answer the following question:
`When "helpful tracy" is the original title how many numbers are there?`

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

CREATE TABLE "table1_20124413_1" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "prod_code" text,
  "viewers" real
);
### SQL
Given the database schema, here is the SQL query that answers `When "helpful tracy" is the original title how many numbers are there?`:
```sql
                SELECT COUNT("num") FROM "table1_20124413_1" WHERE "original_title"='\"Helpful Tracy\"';
```
## Task
Generate a SQL query to answer the following question:
`When 1.12 is the production code what is the original title?`

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

CREATE TABLE "table1_20124413_1" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "prod_code" text,
  "viewers" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 1.12 is the production code what is the original title?`:
```sql
                SELECT "original_title" FROM "table1_20124413_1" WHERE "prod_code"='1.12';
```
## Task
Generate a SQL query to answer the following question:
`When "the postcard" is the original title what is the production code?`

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

CREATE TABLE "table1_20124413_1" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "prod_code" text,
  "viewers" real
);
### SQL
Given the database schema, here is the SQL query that answers `When "the postcard" is the original title what is the production code?`:
```sql
                SELECT "prod_code" FROM "table1_20124413_1" WHERE "original_title"='\"The Postcard\"';
```
## Task
Generate a SQL query to answer the following question:
`When 1.17 is the production code how many air dates are there?`

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

CREATE TABLE "table1_20124413_1" (
  "num" text,
  "original_title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "prod_code" text,
  "viewers" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 1.17 is the production code how many air dates are there?`:
```sql
                SELECT COUNT("original_airdate") FROM "table1_20124413_1" WHERE "prod_code"='1.17';
```
## Task
Generate a SQL query to answer the following question:
`state the winnings of yates racing front row motorsports where poles were 0`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_10" real,
  "poles" real,
  "avg_start" text,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `state the winnings of yates racing front row motorsports where poles were 0`:
```sql
                SELECT "winnings" FROM "nascar_sprint_cup_series" WHERE "poles"=0 AND "team_s"='Yates Racing Front Row Motorsports';
```
## Task
Generate a SQL query to answer the following question:
`which team(s) won $2,605,05`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_10" real,
  "poles" real,
  "avg_start" text,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `which team(s) won $2,605,05`:
```sql
                SELECT "team_s" FROM "nascar_sprint_cup_series" WHERE "winnings"='$2,605,05';
```
## Task
Generate a SQL query to answer the following question:
`state the wins of the team with 2 top 10`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_10" real,
  "poles" real,
  "avg_start" text,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `state the wins of the team with 2 top 10`:
```sql
                SELECT COUNT("wins") FROM "nascar_sprint_cup_series" WHERE "top_10"=2;
```
## Task
Generate a SQL query to answer the following question:
`what is kannada name ಕನ್ನಡ of tamil name தமிழ் anusham அனுஷம்`

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

CREATE TABLE "nak_atra" (
  "num" real,
  "sanskrit" text,
  "malayalam_name" text,
  "tamil_name" text,
  "telugu_name" text,
  "kannada_name" text,
  "western_star_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is kannada name ಕನ್ನಡ of tamil name தமிழ் anusham அனுஷம்`:
```sql
                SELECT "kannada_name" FROM "nak_atra" WHERE "tamil_name"='Anusham அனுஷம்';
```
## Task
Generate a SQL query to answer the following question:
`what is the malayalam name മലയാളം of tamil name தமிழ் punarpoosam புனர்பூசம்`

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

CREATE TABLE "nak_atra" (
  "num" real,
  "sanskrit" text,
  "malayalam_name" text,
  "tamil_name" text,
  "telugu_name" text,
  "kannada_name" text,
  "western_star_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the malayalam name മലയാളം of tamil name தமிழ் punarpoosam புனர்பூசம்`:
```sql
                SELECT "malayalam_name" FROM "nak_atra" WHERE "tamil_name"='Punarpoosam புனர்பூசம்';
```
## Task
Generate a SQL query to answer the following question:
`what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ`

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

CREATE TABLE "nak_atra" (
  "num" real,
  "sanskrit" text,
  "malayalam_name" text,
  "tamil_name" text,
  "telugu_name" text,
  "kannada_name" text,
  "western_star_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ`:
```sql
                SELECT "telugu_name" FROM "nak_atra" WHERE "kannada_name"='Utthara ಉತ್ತರ';
```
## Task
Generate a SQL query to answer the following question:
`what is the sanskrit of western star name arcturus`

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

CREATE TABLE "nak_atra" (
  "num" real,
  "sanskrit" text,
  "malayalam_name" text,
  "tamil_name" text,
  "telugu_name" text,
  "kannada_name" text,
  "western_star_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the sanskrit of western star name arcturus`:
```sql
                SELECT "sanskrit" FROM "nak_atra" WHERE "western_star_name"='Arcturus';
```
## Task
Generate a SQL query to answer the following question:
`what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा`

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

CREATE TABLE "nak_atra" (
  "num" real,
  "sanskrit" text,
  "malayalam_name" text,
  "tamil_name" text,
  "telugu_name" text,
  "kannada_name" text,
  "western_star_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा`:
```sql
                SELECT "malayalam_name" FROM "nak_atra" WHERE "sanskrit"='Uttarāṣāḍha उत्तराषाढा';
```