cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?`

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

CREATE TABLE "title_holders_from_2000_until_2010" (
  "year" real,
  "miss_universe_philippines" text,
  "binibining_pilipinas_world" text,
  "binibining_pilipinas_international" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?`:
```sql
                SELECT COUNT("binibining_pilipinas_international") FROM "title_holders_from_2000_until_2010" WHERE "miss_universe_philippines"='Nina Ricci Alagao';
```
## Task
Generate a SQL query to answer the following question:
`Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?`

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

CREATE TABLE "title_holders_from_2000_until_2010" (
  "year" real,
  "miss_universe_philippines" text,
  "binibining_pilipinas_world" text,
  "binibining_pilipinas_international" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?`:
```sql
                SELECT "second_runner_up" FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Janina San Miguel';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?`

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

CREATE TABLE "title_holders_from_2000_until_2010" (
  "year" real,
  "miss_universe_philippines" text,
  "binibining_pilipinas_world" text,
  "binibining_pilipinas_international" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?`:
```sql
                SELECT "binibining_pilipinas_international" FROM "title_holders_from_2000_until_2010" WHERE "miss_universe_philippines"='Gionna Cabrera';
```
## Task
Generate a SQL query to answer the following question:
`How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?`

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

CREATE TABLE "title_holders_from_2000_until_2010" (
  "year" real,
  "miss_universe_philippines" text,
  "binibining_pilipinas_world" text,
  "binibining_pilipinas_international" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?`:
```sql
                SELECT COUNT("binibining_pilipinas_international") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Maria Karla Bautista';
```
## Task
Generate a SQL query to answer the following question:
`Who is the second runner up when Janina San Miguel won binibining pilipinas-world?`

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

CREATE TABLE "title_holders_from_2000_until_2010" (
  "year" real,
  "miss_universe_philippines" text,
  "binibining_pilipinas_world" text,
  "binibining_pilipinas_international" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the second runner up when Janina San Miguel won binibining pilipinas-world?`:
```sql
                SELECT COUNT("second_runner_up") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Janina San Miguel';
```
## Task
Generate a SQL query to answer the following question:
`When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?`

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

CREATE TABLE "title_holders_from_2000_until_2010" (
  "year" real,
  "miss_universe_philippines" text,
  "binibining_pilipinas_world" text,
  "binibining_pilipinas_international" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?`:
```sql
                SELECT COUNT("miss_universe_philippines") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_international"='Margaret Ann Bayot';
```
## Task
Generate a SQL query to answer the following question:
`What's the minimal number of population served?`

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

CREATE TABLE "plants" (
  "location" text,
  "partner" text,
  "construction_start" text,
  "inauguration_date" text,
  "population_served" real,
  "design_flow_lpm" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the minimal number of population served?`:
```sql
                SELECT MIN("population_served") FROM "plants";
```
## Task
Generate a SQL query to answer the following question:
`Who's the partner at Tamara, Hon?`

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

CREATE TABLE "plants" (
  "location" text,
  "partner" text,
  "construction_start" text,
  "inauguration_date" text,
  "population_served" real,
  "design_flow_lpm" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who's the partner at Tamara, Hon?`:
```sql
                SELECT "partner" FROM "plants" WHERE "location"='Tamara, HON';
```
## Task
Generate a SQL query to answer the following question:
`How many votes Khuzestan were there when the percentage was 34.50?`

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

CREATE TABLE "table1_1827900_1" (
  "candidates" text,
  "votes_khuzestan" real,
  "pct_of_votes_khuzestan" text,
  "votes_nationally" real,
  "pct_of_votes_nationally" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many votes Khuzestan were there when the percentage was 34.50?`:
```sql
                SELECT MIN("votes_khuzestan") FROM "table1_1827900_1" WHERE "pct_of_votes_khuzestan"='34.50';
```
## Task
Generate a SQL query to answer the following question:
`How many figures for votes Khuzestan were there when the percentage was 34.50?`

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

CREATE TABLE "table1_1827900_1" (
  "candidates" text,
  "votes_khuzestan" real,
  "pct_of_votes_khuzestan" text,
  "votes_nationally" real,
  "pct_of_votes_nationally" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many figures for votes Khuzestan were there when the percentage was 34.50?`:
```sql
                SELECT COUNT("votes_khuzestan") FROM "table1_1827900_1" WHERE "pct_of_votes_khuzestan"='34.50';
```
## Task
Generate a SQL query to answer the following question:
`What was the percentage of national votes for Mahmoud Ahmadinejad?`

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

CREATE TABLE "table1_1827900_1" (
  "candidates" text,
  "votes_khuzestan" real,
  "pct_of_votes_khuzestan" text,
  "votes_nationally" real,
  "pct_of_votes_nationally" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the percentage of national votes for Mahmoud Ahmadinejad?`:
```sql
                SELECT "pct_of_votes_nationally" FROM "table1_1827900_1" WHERE "candidates"='Mahmoud Ahmadinejad';
```
## Task
Generate a SQL query to answer the following question:
`Name the revenue for eps being 8.9`

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

CREATE TABLE "senior_plc_financial_results" (
  "year_to_april" real,
  "revenue_million" text,
  "ebit_m" text,
  "net_profit_m" text,
  "earnings_per_share_p" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the revenue for eps being 8.9`:
```sql
                SELECT "revenue_million" FROM "senior_plc_financial_results" WHERE "earnings_per_share_p"='8.9';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of year to april for ebit being 24.5`

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

CREATE TABLE "senior_plc_financial_results" (
  "year_to_april" real,
  "revenue_million" text,
  "ebit_m" text,
  "net_profit_m" text,
  "earnings_per_share_p" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of year to april for ebit being 24.5`:
```sql
                SELECT COUNT("year_to_april") FROM "senior_plc_financial_results" WHERE "ebit_m"='24.5';
```
## Task
Generate a SQL query to answer the following question:
`Name the eps for net profit being 39.2`

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

CREATE TABLE "senior_plc_financial_results" (
  "year_to_april" real,
  "revenue_million" text,
  "ebit_m" text,
  "net_profit_m" text,
  "earnings_per_share_p" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the eps for net profit being 39.2`:
```sql
                SELECT "earnings_per_share_p" FROM "senior_plc_financial_results" WHERE "net_profit_m"='39.2';
```
## Task
Generate a SQL query to answer the following question:
`Name the ebit for eps being 10.6`

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

CREATE TABLE "senior_plc_financial_results" (
  "year_to_april" real,
  "revenue_million" text,
  "ebit_m" text,
  "net_profit_m" text,
  "earnings_per_share_p" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the ebit for eps being 10.6`:
```sql
                SELECT "ebit_m" FROM "senior_plc_financial_results" WHERE "earnings_per_share_p"='10.6';
```
## Task
Generate a SQL query to answer the following question:
`What are the population densities of all communes with an are of 28.3 sq.km.?`

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

CREATE TABLE "communes" (
  "commune" text,
  "area_km_2" text,
  "2002_population" real,
  "pop_density_km_2" text,
  "municipality_website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the population densities of all communes with an are of 28.3 sq.km.?`:
```sql
                SELECT "pop_density_km_2" FROM "communes" WHERE "area_km_2"='28.3';
```
## Task
Generate a SQL query to answer the following question:
`What commune has an area of 12.4 sq.km.?`

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

CREATE TABLE "communes" (
  "commune" text,
  "area_km_2" text,
  "2002_population" real,
  "pop_density_km_2" text,
  "municipality_website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What commune has an area of 12.4 sq.km.?`:
```sql
                SELECT "commune" FROM "communes" WHERE "area_km_2"='12.4';
```
## Task
Generate a SQL query to answer the following question:
`What commune had a 2002 population of 130394?`

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

CREATE TABLE "communes" (
  "commune" text,
  "area_km_2" text,
  "2002_population" real,
  "pop_density_km_2" text,
  "municipality_website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What commune had a 2002 population of 130394?`:
```sql
                SELECT "commune" FROM "communes" WHERE "2002_population"=130394;
```
## Task
Generate a SQL query to answer the following question:
`Which city has a resolution that is negotiated exile in Austria?`

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

CREATE TABLE "references" (
  "name" text,
  "notability" text,
  "reason_for_seeking_refuge" text,
  "country" text,
  "city" text,
  "missions_country" text,
  "start_date" text,
  "end_date" text,
  "resolution" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city has a resolution that is negotiated exile in Austria?`:
```sql
                SELECT "city" FROM "references" WHERE "resolution"='Negotiated exile in Austria';
```
## Task
Generate a SQL query to answer the following question:
`Which city has the missions city of Australia?`

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

CREATE TABLE "references" (
  "name" text,
  "notability" text,
  "reason_for_seeking_refuge" text,
  "country" text,
  "city" text,
  "missions_country" text,
  "start_date" text,
  "end_date" text,
  "resolution" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city has the missions city of Australia?`:
```sql
                SELECT "city" FROM "references" WHERE "missions_country"='Australia';
```
## Task
Generate a SQL query to answer the following question:
`How many missions countries have notability with president of burundi?`

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

CREATE TABLE "references" (
  "name" text,
  "notability" text,
  "reason_for_seeking_refuge" text,
  "country" text,
  "city" text,
  "missions_country" text,
  "start_date" text,
  "end_date" text,
  "resolution" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many missions countries have notability with president of burundi?`:
```sql
                SELECT COUNT("missions_country") FROM "references" WHERE "notability"='President of Burundi';
```
## Task
Generate a SQL query to answer the following question:
`What is the nickname of the team whose 2013/2014 enrollment is 436? `

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

CREATE TABLE "cooperative_programs" (
  "team_name" text,
  "schools" text,
  "sports" text,
  "host" text,
  "nickname_s" text,
  "colors" text,
  "enrollment_2013_14" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nickname of the team whose 2013/2014 enrollment is 436? `:
```sql
                SELECT "nickname_s" FROM "cooperative_programs" WHERE "enrollment_2013_14"=436;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the team from the Elverado Trico school in football? `

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

CREATE TABLE "cooperative_programs" (
  "team_name" text,
  "schools" text,
  "sports" text,
  "host" text,
  "nickname_s" text,
  "colors" text,
  "enrollment_2013_14" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the team from the Elverado Trico school in football? `:
```sql
                SELECT "team_name" FROM "cooperative_programs" WHERE "sports"='Football' AND "schools"='Elverado Trico';
```
## Task
Generate a SQL query to answer the following question:
`How many years of kindergarten is provided in Ticino?`

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

CREATE TABLE "cantonal_school_systems" (
  "canton" text,
  "years_of_kindergarten" real,
  "years_of_kindergarten_provided" text,
  "years_of_kindergarten_legally_required" text,
  "length_of_primary_school" real,
  "length_of_mandatory_secondary_school" real,
  "separate_secondary_schools" text,
  "cooperative_secondary_schools" text,
  "integrated_secondary_schools" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years of kindergarten is provided in Ticino?`:
```sql
                SELECT "years_of_kindergarten_provided" FROM "cantonal_school_systems" WHERE "canton"='Ticino';
```
## Task
Generate a SQL query to answer the following question:
`How many years is kindergarten legally requited in Zug?`

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

CREATE TABLE "cantonal_school_systems" (
  "canton" text,
  "years_of_kindergarten" real,
  "years_of_kindergarten_provided" text,
  "years_of_kindergarten_legally_required" text,
  "length_of_primary_school" real,
  "length_of_mandatory_secondary_school" real,
  "separate_secondary_schools" text,
  "cooperative_secondary_schools" text,
  "integrated_secondary_schools" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years is kindergarten legally requited in Zug?`:
```sql
                SELECT "years_of_kindergarten_legally_required" FROM "cantonal_school_systems" WHERE "canton"='Zug';
```
## Task
Generate a SQL query to answer the following question:
`Are there integrated secondary schools in Uri?`

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

CREATE TABLE "cantonal_school_systems" (
  "canton" text,
  "years_of_kindergarten" real,
  "years_of_kindergarten_provided" text,
  "years_of_kindergarten_legally_required" text,
  "length_of_primary_school" real,
  "length_of_mandatory_secondary_school" real,
  "separate_secondary_schools" text,
  "cooperative_secondary_schools" text,
  "integrated_secondary_schools" text
);
### SQL
Given the database schema, here is the SQL query that answers `Are there integrated secondary schools in Uri?`:
```sql
                SELECT "integrated_secondary_schools" FROM "cantonal_school_systems" WHERE "canton"='Uri';
```
## Task
Generate a SQL query to answer the following question:
`What is the longest length of mandatory secondary school?`

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

CREATE TABLE "cantonal_school_systems" (
  "canton" text,
  "years_of_kindergarten" real,
  "years_of_kindergarten_provided" text,
  "years_of_kindergarten_legally_required" text,
  "length_of_primary_school" real,
  "length_of_mandatory_secondary_school" real,
  "separate_secondary_schools" text,
  "cooperative_secondary_schools" text,
  "integrated_secondary_schools" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the longest length of mandatory secondary school?`:
```sql
                SELECT MAX("length_of_mandatory_secondary_school") FROM "cantonal_school_systems";
```
## Task
Generate a SQL query to answer the following question:
`Are there integrated secondary schools in Basel-Stadt?`

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

CREATE TABLE "cantonal_school_systems" (
  "canton" text,
  "years_of_kindergarten" real,
  "years_of_kindergarten_provided" text,
  "years_of_kindergarten_legally_required" text,
  "length_of_primary_school" real,
  "length_of_mandatory_secondary_school" real,
  "separate_secondary_schools" text,
  "cooperative_secondary_schools" text,
  "integrated_secondary_schools" text
);
### SQL
Given the database schema, here is the SQL query that answers `Are there integrated secondary schools in Basel-Stadt?`:
```sql
                SELECT "integrated_secondary_schools" FROM "cantonal_school_systems" WHERE "canton"='Basel-Stadt';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the story that is cover date 19 October 1985?`

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

CREATE TABLE "table1_18305523_2" (
  "num" real,
  "cover_date" text,
  "story_title" text,
  "writer_s" text,
  "artist_s" text,
  "letterer_s" text,
  "colourist_s" text,
  "editor_s" text,
  "comments" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the story that is cover date 19 October 1985?`:
```sql
                SELECT "writer_s" FROM "table1_18305523_2" WHERE "cover_date"='19 October 1985';
```
## Task
Generate a SQL query to answer the following question:
`How many cover dates does the story "Devastation Derby! (part 1)" have?`

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

CREATE TABLE "table1_18305523_2" (
  "num" real,
  "cover_date" text,
  "story_title" text,
  "writer_s" text,
  "artist_s" text,
  "letterer_s" text,
  "colourist_s" text,
  "editor_s" text,
  "comments" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many cover dates does the story "Devastation Derby! (part 1)" have?`:
```sql
                SELECT COUNT("cover_date") FROM "table1_18305523_2" WHERE "story_title"='DEVASTATION DERBY! (Part 1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the comment on the issue dated 14 March 1987?`

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

CREATE TABLE "table1_18305523_2" (
  "num" real,
  "cover_date" text,
  "story_title" text,
  "writer_s" text,
  "artist_s" text,
  "letterer_s" text,
  "colourist_s" text,
  "editor_s" text,
  "comments" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the comment on the issue dated 14 March 1987?`:
```sql
                SELECT "comments" FROM "table1_18305523_2" WHERE "cover_date"='14 March 1987';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the issue where the art was done by Barry Kitson and Farmer?`

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

CREATE TABLE "table1_18305523_2" (
  "num" real,
  "cover_date" text,
  "story_title" text,
  "writer_s" text,
  "artist_s" text,
  "letterer_s" text,
  "colourist_s" text,
  "editor_s" text,
  "comments" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the issue where the art was done by Barry Kitson and Farmer?`:
```sql
                SELECT "story_title" FROM "table1_18305523_2" WHERE "artist_s"='Barry Kitson and Farmer';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum number which is for title The Enemy Within part 1?`

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

CREATE TABLE "table1_18305523_1" (
  "num" real,
  "cover_date" text,
  "story_title" text,
  "writer_s" text,
  "artist_s" text,
  "letterer_s" text,
  "colourist_s" text,
  "editor_s" text,
  "comments" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum number which is for title The Enemy Within part 1?`:
```sql
                SELECT MIN("num") FROM "table1_18305523_1";
```
## Task
Generate a SQL query to answer the following question:
`what is the number of hydroxymatairesinol where sesamin is 62724?`

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

CREATE TABLE "food_sources" (
  "foodstuff" text,
  "pinoresinol" real,
  "syringaresinol" real,
  "sesamin" text,
  "lariciresinol" real,
  "secoisolariciresinol" real,
  "matairesinol" real,
  "hydroxymatairesinol" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of hydroxymatairesinol where sesamin is 62724?`:
```sql
                SELECT "hydroxymatairesinol" FROM "food_sources" WHERE "sesamin"='62724';
```
## Task
Generate a SQL query to answer the following question:
`what is the total number of sesamin were secoisolariciresinol is 240?`

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

CREATE TABLE "food_sources" (
  "foodstuff" text,
  "pinoresinol" real,
  "syringaresinol" real,
  "sesamin" text,
  "lariciresinol" real,
  "secoisolariciresinol" real,
  "matairesinol" real,
  "hydroxymatairesinol" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total number of sesamin were secoisolariciresinol is 240?`:
```sql
                SELECT "sesamin" FROM "food_sources" WHERE "secoisolariciresinol"=240;
```
## Task
Generate a SQL query to answer the following question:
`what is the maximum number of pinorinol in wheat bran?`

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

CREATE TABLE "food_sources" (
  "foodstuff" text,
  "pinoresinol" real,
  "syringaresinol" real,
  "sesamin" text,
  "lariciresinol" real,
  "secoisolariciresinol" real,
  "matairesinol" real,
  "hydroxymatairesinol" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the maximum number of pinorinol in wheat bran?`:
```sql
                SELECT MAX("pinoresinol") FROM "food_sources" WHERE "foodstuff"='Wheat bran';
```
## Task
Generate a SQL query to answer the following question:
`how much sesamin is in sesame seed?`

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

CREATE TABLE "food_sources" (
  "foodstuff" text,
  "pinoresinol" real,
  "syringaresinol" real,
  "sesamin" text,
  "lariciresinol" real,
  "secoisolariciresinol" real,
  "matairesinol" real,
  "hydroxymatairesinol" real
);
### SQL
Given the database schema, here is the SQL query that answers `how much sesamin is in sesame seed?`:
```sql
                SELECT "sesamin" FROM "food_sources" WHERE "foodstuff"='Sesame seed';
```
## Task
Generate a SQL query to answer the following question:
`what is the minimum number is lariciresinol where matairesinol number is 440?`

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

CREATE TABLE "food_sources" (
  "foodstuff" text,
  "pinoresinol" real,
  "syringaresinol" real,
  "sesamin" text,
  "lariciresinol" real,
  "secoisolariciresinol" real,
  "matairesinol" real,
  "hydroxymatairesinol" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the minimum number is lariciresinol where matairesinol number is 440?`:
```sql
                SELECT MIN("lariciresinol") FROM "food_sources" WHERE "matairesinol"=440;
```
## Task
Generate a SQL query to answer the following question:
`What was the calling for the 18.42 arrival time?`

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

CREATE TABLE "table1_18332845_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the calling for the 18.42 arrival time?`:
```sql
                SELECT "calling_at" FROM "table1_18332845_2" WHERE "arrival"='18.42';
```
## Task
Generate a SQL query to answer the following question:
`What was the arrival for Wansford, Peterborough East?`

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

CREATE TABLE "table1_18332845_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the arrival for Wansford, Peterborough East?`:
```sql
                SELECT "arrival" FROM "table1_18332845_2" WHERE "calling_at"='Wansford, Peterborough East';
```
## Task
Generate a SQL query to answer the following question:
`What was the departure time when the arrival was 14.40?`

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

CREATE TABLE "table1_18332845_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the departure time when the arrival was 14.40?`:
```sql
                SELECT "departure" FROM "table1_18332845_2" WHERE "arrival"='14.40';
```
## Task
Generate a SQL query to answer the following question:
`What is the departure for Peterborough East whose arrival time is 12.40?`

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

CREATE TABLE "table1_18332845_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the departure for Peterborough East whose arrival time is 12.40?`:
```sql
                SELECT "departure" FROM "table1_18332845_2" WHERE "going_to"='Peterborough East' AND "arrival"='12.40';
```
## Task
Generate a SQL query to answer the following question:
`What is the calling at for the 09.50 departure?`

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

CREATE TABLE "table1_18332845_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the calling at for the 09.50 departure?`:
```sql
                SELECT "calling_at" FROM "table1_18332845_2" WHERE "departure"='09.50';
```
## Task
Generate a SQL query to answer the following question:
`Where is the train going to when departing at 20.35?`

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

CREATE TABLE "table1_18332845_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the train going to when departing at 20.35?`:
```sql
                SELECT "going_to" FROM "table1_18332845_2" WHERE "departure"='20.35';
```
## Task
Generate a SQL query to answer the following question:
`Name the most played for 140 plus is 13`

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

CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "legs_won" real,
  "legs_lost" real,
  "lwat" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most played for 140 plus is 13`:
```sql
                SELECT MAX("played") FROM "statistics" WHERE "140"=13;
```
## Task
Generate a SQL query to answer the following question:
`Name the 3 dart average for michael van gerwen`

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

CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "legs_won" real,
  "legs_lost" real,
  "lwat" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 3 dart average for michael van gerwen`:
```sql
                SELECT "3_dart_average" FROM "statistics" WHERE "player"='Michael van Gerwen';
```
## Task
Generate a SQL query to answer the following question:
`how many callings of trains arriving at 09.06`

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

CREATE TABLE "table1_18333678_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many callings of trains arriving at 09.06`:
```sql
                SELECT COUNT("calling_at") FROM "table1_18333678_2" WHERE "arrival"='09.06';
```
## Task
Generate a SQL query to answer the following question:
`what is the operator of trains arriving at 13.39 `

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

CREATE TABLE "table1_18333678_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the operator of trains arriving at 13.39 `:
```sql
                SELECT "operator" FROM "table1_18333678_2" WHERE "arrival"='13.39';
```
## Task
Generate a SQL query to answer the following question:
`when does the train departuring at 11.35 arrive`

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

CREATE TABLE "table1_18333678_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `when does the train departuring at 11.35 arrive`:
```sql
                SELECT "arrival" FROM "table1_18333678_2" WHERE "departure"='11.35';
```
## Task
Generate a SQL query to answer the following question:
`when does the train arriving at bourne at 11.45 departure `

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

CREATE TABLE "table1_18333678_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `when does the train arriving at bourne at 11.45 departure `:
```sql
                SELECT "departure" FROM "table1_18333678_2" WHERE "going_to"='Bourne' AND "arrival"='11.45';
```
## Task
Generate a SQL query to answer the following question:
`when does the train arriving at stamford east at 11.45 departure `

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

CREATE TABLE "table1_18333678_2" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `when does the train arriving at stamford east at 11.45 departure `:
```sql
                SELECT "departure" FROM "table1_18333678_2" WHERE "arrival"='11.45' AND "going_to"='Stamford East';
```
## Task
Generate a SQL query to answer the following question:
`How many clubs are remaining when the winners from the previous round totals 4?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many clubs are remaining when the winners from the previous round totals 4?`:
```sql
                SELECT "clubs_remaining" FROM "teams" WHERE "winners_from_previous_round"='4';
```
## Task
Generate a SQL query to answer the following question:
`What is the round where winners from the previous round totals 8?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round where winners from the previous round totals 8?`:
```sql
                SELECT "round" FROM "teams" WHERE "winners_from_previous_round"='8';
```
## Task
Generate a SQL query to answer the following question:
`How many clubs remain in the fourth round?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many clubs remain in the fourth round?`:
```sql
                SELECT MIN("clubs_remaining") FROM "teams" WHERE "round"='Fourth round';
```
## Task
Generate a SQL query to answer the following question:
`How many new entries started in the round where winners from the previous round is 32?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many new entries started in the round where winners from the previous round is 32?`:
```sql
                SELECT "new_entries_this_round" FROM "teams" WHERE "winners_from_previous_round"='32';
```
## Task
Generate a SQL query to answer the following question:
`How many new entries started in the quarter finals?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many new entries started in the quarter finals?`:
```sql
                SELECT "new_entries_this_round" FROM "teams" WHERE "round"='Quarter finals';
```
## Task
Generate a SQL query to answer the following question:
`How many new entries started in the round where winners from the previous round is 16?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many new entries started in the round where winners from the previous round is 16?`:
```sql
                SELECT "new_entries_this_round" FROM "teams" WHERE "winners_from_previous_round"='16';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "episode 10"?`

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

CREATE TABLE "table1_18335117_4" (
  "no_overall" real,
  "no_in_series" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "episode 10"?`:
```sql
                SELECT "writer" FROM "table1_18335117_4" WHERE "title"='\"Episode 10\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "episode 4"?`

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

CREATE TABLE "table1_18335117_4" (
  "no_overall" real,
  "no_in_series" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "episode 4"?`:
```sql
                SELECT "writer" FROM "table1_18335117_4" WHERE "title"='\"Episode 4\"';
```
## Task
Generate a SQL query to answer the following question:
`Who directed "episode 5"?`

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

CREATE TABLE "table1_18335117_4" (
  "no_overall" real,
  "no_in_series" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed "episode 5"?`:
```sql
                SELECT "director" FROM "table1_18335117_4" WHERE "title"='\"Episode 5\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was the train operator when the train departed at 11.02 in 1922?`

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

CREATE TABLE "table1_18365784_3" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the train operator when the train departed at 11.02 in 1922?`:
```sql
                SELECT "operator" FROM "table1_18365784_3" WHERE "departure"='11.02';
```
## Task
Generate a SQL query to answer the following question:
`What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?`

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

CREATE TABLE "table1_18365784_3" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?`:
```sql
                SELECT "going_to" FROM "table1_18365784_3" WHERE "calling_at"='Boston, Sleaford, Nottingham Victoria';
```
## Task
Generate a SQL query to answer the following question:
`What was the departure time of the train going to Boston?`

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

CREATE TABLE "table1_18365784_3" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the departure time of the train going to Boston?`:
```sql
                SELECT "departure" FROM "table1_18365784_3" WHERE "going_to"='Boston';
```
## Task
Generate a SQL query to answer the following question:
`What was the arrival time of the train that departed at 18.16?`

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

CREATE TABLE "table1_18365784_3" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the arrival time of the train that departed at 18.16?`:
```sql
                SELECT "arrival" FROM "table1_18365784_3" WHERE "departure"='18.16';
```
## Task
Generate a SQL query to answer the following question:
`What was the departure time of the train that arrived at 21.26?`

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

CREATE TABLE "table1_18365784_3" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the departure time of the train that arrived at 21.26?`:
```sql
                SELECT "departure" FROM "table1_18365784_3" WHERE "arrival"='21.26';
```
## Task
Generate a SQL query to answer the following question:
`What was the 'calling at' station of the train that departed on 18.16?`

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

CREATE TABLE "table1_18365784_3" (
  "departure" text,
  "going_to" text,
  "calling_at" text,
  "arrival" text,
  "operator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 'calling at' station of the train that departed on 18.16?`:
```sql
                SELECT "calling_at" FROM "table1_18365784_3" WHERE "departure"='18.16';
```
## Task
Generate a SQL query to answer the following question:
`Name the original air date for barnaby southcomb for charlie martin`

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

CREATE TABLE "table1_18335117_5" (
  "no_overall" real,
  "no_in_series" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the original air date for barnaby southcomb for charlie martin`:
```sql
                SELECT "original_air_date" FROM "table1_18335117_5" WHERE "director"='Barnaby Southcomb' AND "writer"='Charlie Martin';
```
## Task
Generate a SQL query to answer the following question:
`Name the number in series for number 38`

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

CREATE TABLE "table1_18335117_5" (
  "no_overall" real,
  "no_in_series" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number in series for number 38`:
```sql
                SELECT MIN("no_in_series") FROM "table1_18335117_5" WHERE "no_overall"=38;
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date of the episode with the production code 1115? `

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

CREATE TABLE "table1_18367694_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date of the episode with the production code 1115? `:
```sql
                SELECT "original_air_date" FROM "table1_18367694_2" WHERE "production_code"=1115;
```
## Task
Generate a SQL query to answer the following question:
`who directed the episode with the original air date of November 22, 1989? `

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

CREATE TABLE "table1_18367694_2" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `who directed the episode with the original air date of November 22, 1989? `:
```sql
                SELECT "directed_by" FROM "table1_18367694_2" WHERE "original_air_date"='November 22, 1989';
```
## Task
Generate a SQL query to answer the following question:
`when deland is the fcsl team and 2008 is the year played who is the mlb team?`

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

CREATE TABLE "florida_league_alumni_top_5_round_picks_" (
  "player" text,
  "fcsl_team" text,
  "years_played" text,
  "year_drafted" real,
  "round" text,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `when deland is the fcsl team and 2008 is the year played who is the mlb team?`:
```sql
                SELECT "mlb_team" FROM "florida_league_alumni_top_5_round_picks_" WHERE "years_played"='2008' AND "fcsl_team"='DeLand';
```
## Task
Generate a SQL query to answer the following question:
`When toronto blue jays are the mlb team who are the fscl team?`

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

CREATE TABLE "florida_league_alumni_top_5_round_picks_" (
  "player" text,
  "fcsl_team" text,
  "years_played" text,
  "year_drafted" real,
  "round" text,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `When toronto blue jays are the mlb team who are the fscl team?`:
```sql
                SELECT "fcsl_team" FROM "florida_league_alumni_top_5_round_picks_" WHERE "mlb_team"='Toronto Blue Jays';
```