cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the year Rowan University was established`

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

CREATE TABLE "american_division" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" real,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year Rowan University was established`:
```sql
                SELECT "established" FROM "american_division" WHERE "institution"='Rowan University';
```
## Task
Generate a SQL query to answer the following question:
`How many nicknames does the school in Newark, DE have`

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

CREATE TABLE "american_division" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" real,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many nicknames does the school in Newark, DE have`:
```sql
                SELECT COUNT("nickname") FROM "american_division" WHERE "location"='Newark, DE';
```
## Task
Generate a SQL query to answer the following question:
`Location of the school with the nickname Mountaineers`

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

CREATE TABLE "american_division" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" real,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `Location of the school with the nickname Mountaineers`:
```sql
                SELECT "location" FROM "american_division" WHERE "nickname"='Mountaineers';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date of the episode titled "Beaver's Pigeons"`

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

CREATE TABLE "table1_16432167_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date of the episode titled "Beaver's Pigeons"`:
```sql
                SELECT "original_air_date" FROM "table1_16432167_1" WHERE "title"='\"Beaver''s Pigeons\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode with the production code of 942A?`

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

CREATE TABLE "table1_16432167_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode with the production code of 942A?`:
```sql
                SELECT "written_by" FROM "table1_16432167_1" WHERE "production_code"='942A';
```
## Task
Generate a SQL query to answer the following question:
`What numbered episode of the season was titled "Beaver says Good-Bye"?`

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

CREATE TABLE "table1_16432167_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What numbered episode of the season was titled "Beaver says Good-Bye"?`:
```sql
                SELECT "no_in_season" FROM "table1_16432167_1" WHERE "title"='\"Beaver Says Good-bye\"';
```
## Task
Generate a SQL query to answer the following question:
`What number episode in the series was titled "Wally's Pug Nose"?`

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

CREATE TABLE "table1_16432167_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number episode in the series was titled "Wally's Pug Nose"?`:
```sql
                SELECT "no_in_series" FROM "table1_16432167_1" WHERE "title"='\"Wally''s Pug Nose\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the production code of the episode written by Joe Connelly and Bob Mosher  titled "Beaver Gets Adopted"?`

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

CREATE TABLE "table1_16432167_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the production code of the episode written by Joe Connelly and Bob Mosher  titled "Beaver Gets Adopted"?`:
```sql
                SELECT "production_code" FROM "table1_16432167_1" WHERE "written_by"='Joe Connelly and Bob Mosher' AND "title"='\"Beaver Gets Adopted\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was responsible for  original beechwood bunny tale / source material for the episode title "Papa Bramble's Secret"?`

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

CREATE TABLE "table1_16425614_3" (
  "official_num" real,
  "tf1_num" real,
  "french_title" text,
  "english_title" text,
  "air_date_france" text,
  "original_beechwood_bunny_tale_source_material" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was responsible for  original beechwood bunny tale / source material for the episode title "Papa Bramble's Secret"?`:
```sql
                SELECT "original_beechwood_bunny_tale_source_material" FROM "table1_16425614_3" WHERE "english_title"='\"Papa Bramble''s Secret\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the French title for "Papa Bramble's Secret"?`

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

CREATE TABLE "table1_16425614_3" (
  "official_num" real,
  "tf1_num" real,
  "french_title" text,
  "english_title" text,
  "air_date_france" text,
  "original_beechwood_bunny_tale_source_material" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the French title for "Papa Bramble's Secret"?`:
```sql
                SELECT "french_title" FROM "table1_16425614_3" WHERE "english_title"='\"Papa Bramble''s Secret\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was responsible for  original beechwood bunny tale / source material for the episode title "The Monster of Blueberry Lake"?`

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

CREATE TABLE "table1_16425614_3" (
  "official_num" real,
  "tf1_num" real,
  "french_title" text,
  "english_title" text,
  "air_date_france" text,
  "original_beechwood_bunny_tale_source_material" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was responsible for  original beechwood bunny tale / source material for the episode title "The Monster of Blueberry Lake"?`:
```sql
                SELECT "original_beechwood_bunny_tale_source_material" FROM "table1_16425614_3" WHERE "english_title"='\"The Monster of Blueberry Lake\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the English title for the official number 22 episode?`

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

CREATE TABLE "table1_16425614_3" (
  "official_num" real,
  "tf1_num" real,
  "french_title" text,
  "english_title" text,
  "air_date_france" text,
  "original_beechwood_bunny_tale_source_material" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English title for the official number 22 episode?`:
```sql
                SELECT "english_title" FROM "table1_16425614_3" WHERE "official_num"=22;
```
## Task
Generate a SQL query to answer the following question:
`Which CFL team did the player from British Columbia get drafted to`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which CFL team did the player from British Columbia get drafted to`:
```sql
                SELECT "cfl_team" FROM "round_five" WHERE "college"='British Columbia';
```
## Task
Generate a SQL query to answer the following question:
`Which positions had players from Laval college`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which positions had players from Laval college`:
```sql
                SELECT "position" FROM "round_five" WHERE "college"='Laval';
```
## Task
Generate a SQL query to answer the following question:
`What position did Gene Stahl play`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position did Gene Stahl play`:
```sql
                SELECT "position" FROM "round_five" WHERE "player"='Gene Stahl';
```
## Task
Generate a SQL query to answer the following question:
`Which player played DB`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player played DB`:
```sql
                SELECT "player" FROM "round_five" WHERE "position"='DB';
```
## Task
Generate a SQL query to answer the following question:
`Who was the lowest picked LB`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the lowest picked LB`:
```sql
                SELECT MIN("pick_num") FROM "round_five" WHERE "position"='LB';
```
## Task
Generate a SQL query to answer the following question:
`How many players named Jeff Brown were drafted`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players named Jeff Brown were drafted`:
```sql
                SELECT COUNT("position") FROM "round_five" WHERE "player"='Jeff Brown';
```
## Task
Generate a SQL query to answer the following question:
`How many feet per second does a shell move where the height range is 23500?`

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

CREATE TABLE "table1_16439764_1" (
  "gun" text,
  "m_v_ft_s" real,
  "shell_lb" text,
  "time_to_ft_m_at_25_seconds" text,
  "time_to_ft_m_at_40_seconds" text,
  "time_to_ft_m_at_55_seconds" text,
  "max_height_ft" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many feet per second does a shell move where the height range is 23500?`:
```sql
                SELECT MIN("m_v_ft_s") FROM "table1_16439764_1" WHERE "max_height_ft"=23500;
```
## Task
Generate a SQL query to answer the following question:
`If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?`

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

CREATE TABLE "table1_16439764_1" (
  "gun" text,
  "m_v_ft_s" real,
  "shell_lb" text,
  "time_to_ft_m_at_25_seconds" text,
  "time_to_ft_m_at_40_seconds" text,
  "time_to_ft_m_at_55_seconds" text,
  "max_height_ft" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?`:
```sql
                SELECT "shell_lb" FROM "table1_16439764_1" WHERE "gun"='QF 12 pdr 12 cwt';
```
## Task
Generate a SQL query to answer the following question:
`Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?`

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

CREATE TABLE "table1_16439764_1" (
  "gun" text,
  "m_v_ft_s" real,
  "shell_lb" text,
  "time_to_ft_m_at_25_seconds" text,
  "time_to_ft_m_at_40_seconds" text,
  "time_to_ft_m_at_55_seconds" text,
  "max_height_ft" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?`:
```sql
                SELECT "time_to_ft_m_at_25_seconds" FROM "table1_16439764_1" WHERE "shell_lb"='12.5' AND "max_height_ft">20000.0;
```
## Task
Generate a SQL query to answer the following question:
`What gun has a time to feet ratio of 18.8 at 55 degrees?`

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

CREATE TABLE "table1_16439764_1" (
  "gun" text,
  "m_v_ft_s" real,
  "shell_lb" text,
  "time_to_ft_m_at_25_seconds" text,
  "time_to_ft_m_at_40_seconds" text,
  "time_to_ft_m_at_55_seconds" text,
  "max_height_ft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What gun has a time to feet ratio of 18.8 at 55 degrees?`:
```sql
                SELECT "gun" FROM "table1_16439764_1" WHERE "time_to_ft_m_at_55_seconds"='18.8';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?`

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

CREATE TABLE "table1_16439764_1" (
  "gun" text,
  "m_v_ft_s" real,
  "shell_lb" text,
  "time_to_ft_m_at_25_seconds" text,
  "time_to_ft_m_at_40_seconds" text,
  "time_to_ft_m_at_55_seconds" text,
  "max_height_ft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?`:
```sql
                SELECT MAX("m_v_ft_s") FROM "table1_16439764_1" WHERE "time_to_ft_m_at_55_seconds"='22.1';
```
## Task
Generate a SQL query to answer the following question:
`What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?`

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

CREATE TABLE "table1_16439764_1" (
  "gun" text,
  "m_v_ft_s" real,
  "shell_lb" text,
  "time_to_ft_m_at_25_seconds" text,
  "time_to_ft_m_at_40_seconds" text,
  "time_to_ft_m_at_55_seconds" text,
  "max_height_ft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?`:
```sql
                SELECT "m_v_ft_s" FROM "table1_16439764_1" WHERE "time_to_ft_m_at_25_seconds"='9.2';
```
## Task
Generate a SQL query to answer the following question:
`Who was skip for the country whose points for (PF) was 73?`

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

CREATE TABLE "round_robin" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was skip for the country whose points for (PF) was 73?`:
```sql
                SELECT "skip" FROM "round_robin" WHERE "pf"=73;
```
## Task
Generate a SQL query to answer the following question:
`How many times is a score for stolen ends recorded for France?`

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

CREATE TABLE "round_robin" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times is a score for stolen ends recorded for France?`:
```sql
                SELECT COUNT("stolen_ends") FROM "round_robin" WHERE "country"='France';
```
## Task
Generate a SQL query to answer the following question:
`How many ends were lost by the country whose points for (PF) was 87?`

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

CREATE TABLE "round_robin" (
  "country" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many ends were lost by the country whose points for (PF) was 87?`:
```sql
                SELECT MAX("ends_lost") FROM "round_robin" WHERE "pf"=87;
```
## Task
Generate a SQL query to answer the following question:
`What is the 25 to 29 maximum if 30 to 34 is 1357?`

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

CREATE TABLE "1_ethnic_russians" (
  "children_women_over_15" real,
  "oblast_age_of_women" text,
  "15_to_17" real,
  "18_to_19" real,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 25 to 29 maximum if 30 to 34 is 1357?`:
```sql
                SELECT MIN("25_to_29") FROM "1_ethnic_russians" WHERE "30_to_34"=1357;
```
## Task
Generate a SQL query to answer the following question:
`If 70+ is 2554, what is the 25 to 29 amount?`

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

CREATE TABLE "1_ethnic_russians" (
  "children_women_over_15" real,
  "oblast_age_of_women" text,
  "15_to_17" real,
  "18_to_19" real,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `If 70+ is 2554, what is the 25 to 29 amount?`:
```sql
                SELECT "25_to_29" FROM "1_ethnic_russians" WHERE "70"=2554;
```
## Task
Generate a SQL query to answer the following question:
`How many seasons was Dave Reid treasurer?`

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

CREATE TABLE "executive_committee" (
  "season" text,
  "president" text,
  "general_sec" text,
  "treasurer" text,
  "fixtures_sec" text,
  "social_sec_bradford" text,
  "social_sec_leeds" text,
  "media_officer" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons was Dave Reid treasurer?`:
```sql
                SELECT COUNT("season") FROM "executive_committee" WHERE "treasurer"='Dave Reid';
```
## Task
Generate a SQL query to answer the following question:
`When was Jonny Leadbeater President?`

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

CREATE TABLE "executive_committee" (
  "season" text,
  "president" text,
  "general_sec" text,
  "treasurer" text,
  "fixtures_sec" text,
  "social_sec_bradford" text,
  "social_sec_leeds" text,
  "media_officer" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Jonny Leadbeater President?`:
```sql
                SELECT "season" FROM "executive_committee" WHERE "president"='Jonny Leadbeater';
```
## Task
Generate a SQL query to answer the following question:
`Who was the skip with 14 stolen ends?`

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

CREATE TABLE "round_robin" (
  "locale" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the skip with 14 stolen ends?`:
```sql
                SELECT "skip" FROM "round_robin" WHERE "stolen_ends"=14;
```
## Task
Generate a SQL query to answer the following question:
`What is the fewest number of losses?`

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

CREATE TABLE "round_robin" (
  "locale" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fewest number of losses?`:
```sql
                SELECT MIN("l") FROM "round_robin";
```
## Task
Generate a SQL query to answer the following question:
`What are the shot percentages for teams that played in switzerland?`

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

CREATE TABLE "round_robin" (
  "locale" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the shot percentages for teams that played in switzerland?`:
```sql
                SELECT "shot_pct" FROM "round_robin" WHERE "locale"='Switzerland';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of losses for teams that lost 52 ends?`

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

CREATE TABLE "round_robin" (
  "locale" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of losses for teams that lost 52 ends?`:
```sql
                SELECT MIN("l") FROM "round_robin" WHERE "ends_lost"=52;
```
## Task
Generate a SQL query to answer the following question:
`When 1509 is the c/w 15+ how many results of 15 to 17 are there?`

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

CREATE TABLE "2_ukrainians" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" text,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 1509 is the c/w 15+ how many results of 15 to 17 are there?`:
```sql
                SELECT COUNT("15_to_17") FROM "2_ukrainians" WHERE "c_w_15"=1509;
```
## Task
Generate a SQL query to answer the following question:
`When 2275 is 70+ how many results of 40 to 44 are there?`

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

CREATE TABLE "2_ukrainians" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" text,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 2275 is 70+ how many results of 40 to 44 are there?`:
```sql
                SELECT COUNT("40_to_44") FROM "2_ukrainians" WHERE "70"=2275;
```
## Task
Generate a SQL query to answer the following question:
`When pskov is oblast\age what is the result of 18 to 19?`

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

CREATE TABLE "2_ukrainians" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" text,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `When pskov is oblast\age what is the result of 18 to 19?`:
```sql
                SELECT "18_to_19" FROM "2_ukrainians" WHERE "oblast_age"='Pskov';
```
## Task
Generate a SQL query to answer the following question:
`When 2073 is 65 to 69 how many results of  25 to 29 are there?`

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

CREATE TABLE "2_ukrainians" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" text,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 2073 is 65 to 69 how many results of  25 to 29 are there?`:
```sql
                SELECT COUNT("25_to_29") FROM "2_ukrainians" WHERE "65_to_69"=2073;
```
## Task
Generate a SQL query to answer the following question:
`When 2054 is the result of 50 to 54 what is the oblast\age?`

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

CREATE TABLE "2_ukrainians" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" text,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `When 2054 is the result of 50 to 54 what is the oblast\age?`:
```sql
                SELECT "oblast_age" FROM "2_ukrainians" WHERE "50_to_54"=2054;
```
## Task
Generate a SQL query to answer the following question:
`When voronezh is the oblast\age what is the lowest result of 65 to 69?`

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

CREATE TABLE "2_ukrainians" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" text,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `When voronezh is the oblast\age what is the lowest result of 65 to 69?`:
```sql
                SELECT MIN("65_to_69") FROM "2_ukrainians" WHERE "oblast_age"='Voronezh';
```
## Task
Generate a SQL query to answer the following question:
`what is the number for 65-69 where 50-54 is 1571?`

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

CREATE TABLE "4_tatars" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" real,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number for 65-69 where 50-54 is 1571?`:
```sql
                SELECT "65_to_69" FROM "4_tatars" WHERE "50_to_54"=1571;
```
## Task
Generate a SQL query to answer the following question:
`what is the minimum of 60 -64?`

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

CREATE TABLE "4_tatars" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" real,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the minimum of 60 -64?`:
```sql
                SELECT MIN("60_to_64") FROM "4_tatars";
```
## Task
Generate a SQL query to answer the following question:
`what is the maximum 18 to 19 and 30-34  is 1203?`

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

CREATE TABLE "4_tatars" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" real,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the maximum 18 to 19 and 30-34  is 1203?`:
```sql
                SELECT MAX("18_to_19") FROM "4_tatars" WHERE "30_to_34"=1203;
```
## Task
Generate a SQL query to answer the following question:
`what is the maximum 65-69 and 35-39 is 1606?`

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

CREATE TABLE "4_tatars" (
  "c_w_15" real,
  "oblast_age" text,
  "15_to_17" real,
  "18_to_19" real,
  "20_to_24" real,
  "25_to_29" real,
  "30_to_34" real,
  "35_to_39" real,
  "40_to_44" real,
  "45_to_49" real,
  "50_to_54" real,
  "55_to_59" real,
  "60_to_64" real,
  "65_to_69" real,
  "70" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the maximum 65-69 and 35-39 is 1606?`:
```sql
                SELECT MAX("65_to_69") FROM "4_tatars" WHERE "35_to_39"=1606;
```
## Task
Generate a SQL query to answer the following question:
`What province has the Chinese translation 重庆?`

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

CREATE TABLE "china_prc" (
  "city" text,
  "chinese" text,
  "pinyin" text,
  "province" text,
  "urban_population_2010" real,
  "administrative_population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What province has the Chinese translation 重庆?`:
```sql
                SELECT COUNT("province") FROM "china_prc" WHERE "chinese"='重庆';
```
## Task
Generate a SQL query to answer the following question:
`What is the total administrative population of Shanghai?`

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

CREATE TABLE "china_prc" (
  "city" text,
  "chinese" text,
  "pinyin" text,
  "province" text,
  "urban_population_2010" real,
  "administrative_population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total administrative population of Shanghai?`:
```sql
                SELECT COUNT("administrative_population_2010") FROM "china_prc" WHERE "city"='Shanghai';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum administrative population of the city with Chinese translation 昆明?`

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

CREATE TABLE "china_prc" (
  "city" text,
  "chinese" text,
  "pinyin" text,
  "province" text,
  "urban_population_2010" real,
  "administrative_population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum administrative population of the city with Chinese translation 昆明?`:
```sql
                SELECT MAX("administrative_population_2010") FROM "china_prc" WHERE "chinese"='昆明';
```
## Task
Generate a SQL query to answer the following question:
`What is the total urban population of the city with the pinyin translation chángchūn?`

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

CREATE TABLE "china_prc" (
  "city" text,
  "chinese" text,
  "pinyin" text,
  "province" text,
  "urban_population_2010" real,
  "administrative_population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total urban population of the city with the pinyin translation chángchūn?`:
```sql
                SELECT COUNT("urban_population_2010") FROM "china_prc" WHERE "pinyin"='Chángchūn';
```
## Task
Generate a SQL query to answer the following question:
`What player was on the Grizzlies from 2009-2013?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player was on the Grizzlies from 2009-2013?`:
```sql
                SELECT "player" FROM "a" WHERE "years_for_grizzlies"='2009-2013';
```
## Task
Generate a SQL query to answer the following question:
`What nationality is the player who went to school at South Florida?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality is the player who went to school at South Florida?`:
```sql
                SELECT "nationality" FROM "a" WHERE "school_club_team"='South Florida';
```
## Task
Generate a SQL query to answer the following question:
`What position is the player who was on the Grizzlies from 1995-1996?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position is the player who was on the Grizzlies from 1995-1996?`:
```sql
                SELECT "position" FROM "a" WHERE "years_for_grizzlies"='1995-1996';
```
## Task
Generate a SQL query to answer the following question:
`How may players played for the Grizzlies from 2000-2002?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How may players played for the Grizzlies from 2000-2002?`:
```sql
                SELECT COUNT("no") FROM "a" WHERE "years_for_grizzlies"='2000-2002';
```
## Task
Generate a SQL query to answer the following question:
`Name the miles for june 7`

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

CREATE TABLE "table1_16493961_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the miles for june 7`:
```sql
                SELECT "miles_km" FROM "table1_16493961_1" WHERE "date"='June 7';
```
## Task
Generate a SQL query to answer the following question:
`Name the driver for race time being 2:34:21`

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

CREATE TABLE "table1_16493961_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the driver for race time being 2:34:21`:
```sql
                SELECT "driver" FROM "table1_16493961_1" WHERE "race_time"='2:34:21';
```
## Task
Generate a SQL query to answer the following question:
`Name the driver for june 23 and team of penske racing`

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

CREATE TABLE "table1_16493961_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the driver for june 23 and team of penske racing`:
```sql
                SELECT "driver" FROM "table1_16493961_1" WHERE "date"='June 23' AND "team"='Penske Racing';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director for the episode in season #50?`

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

CREATE TABLE "season_3_1998_99" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director for the episode in season #50?`:
```sql
                SELECT "directed_by" FROM "season_3_1998_99" WHERE "series_num"=50;
```
## Task
Generate a SQL query to answer the following question:
`How many directors were there in total for the episode with series #62?`

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

CREATE TABLE "season_3_1998_99" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many directors were there in total for the episode with series #62?`:
```sql
                SELECT COUNT("directed_by") FROM "season_3_1998_99" WHERE "series_num"=62;
```
## Task
Generate a SQL query to answer the following question:
`What season was the episode titled "Harlequin" in?`

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

CREATE TABLE "season_3_1998_99" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season was the episode titled "Harlequin" in?`:
```sql
                SELECT MAX("season_num") FROM "season_3_1998_99" WHERE "title"='\"Harlequin\"';
```
## Task
Generate a SQL query to answer the following question:
`What are the nationalities of players who attended duke?`

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

CREATE TABLE "j" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the nationalities of players who attended duke?`:
```sql
                SELECT COUNT("nationality") FROM "j" WHERE "school_club_team"='Duke';
```
## Task
Generate a SQL query to answer the following question:
`How many nationalities does athlete Casey Jacobsen have?`

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

CREATE TABLE "j" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many nationalities does athlete Casey Jacobsen have?`:
```sql
                SELECT COUNT("nationality") FROM "j" WHERE "player"='Casey Jacobsen';
```
## Task
Generate a SQL query to answer the following question:
`Who are the players that have attended Stanford?`

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

CREATE TABLE "j" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the players that have attended Stanford?`:
```sql
                SELECT "player" FROM "j" WHERE "school_club_team"='Stanford';
```
## Task
Generate a SQL query to answer the following question:
`How many athletes play the position of guard?`

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

CREATE TABLE "j" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many athletes play the position of guard?`:
```sql
                SELECT COUNT("player") FROM "j" WHERE "position"='Guard';
```
## Task
Generate a SQL query to answer the following question:
`During what years did athletes who attended school in Minnesota play for the Grizzlies?`

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

CREATE TABLE "j" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `During what years did athletes who attended school in Minnesota play for the Grizzlies?`:
```sql
                SELECT "years_for_grizzlies" FROM "j" WHERE "school_club_team"='Minnesota';
```
## Task
Generate a SQL query to answer the following question:
`How many players went to depaul?`

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

CREATE TABLE "b" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players went to depaul?`:
```sql
                SELECT COUNT("player") FROM "b" WHERE "school_club_team"='DePaul';
```
## Task
Generate a SQL query to answer the following question:
`What school did the player who was with the grizzles in 2011 attend?`

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

CREATE TABLE "c" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school did the player who was with the grizzles in 2011 attend?`:
```sql
                SELECT "school_club_team" FROM "c" WHERE "years_for_grizzlies"='2011';
```
## Task
Generate a SQL query to answer the following question:
`What players attended missouri?`

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

CREATE TABLE "c" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What players attended missouri?`:
```sql
                SELECT "player" FROM "c" WHERE "school_club_team"='Missouri';
```
## Task
Generate a SQL query to answer the following question:
`What position(s) does the player from seton hall play?`

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

CREATE TABLE "d" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position(s) does the player from seton hall play?`:
```sql
                SELECT "position" FROM "d" WHERE "school_club_team"='Seton Hall';
```
## Task
Generate a SQL query to answer the following question:
`What number does the player who was with the grizzles in 1999 wear?`

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

CREATE TABLE "d" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number does the player who was with the grizzles in 1999 wear?`:
```sql
                SELECT MIN("no") FROM "d" WHERE "years_for_grizzlies"='1999';
```
## Task
Generate a SQL query to answer the following question:
`What players play guard?`

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

CREATE TABLE "d" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What players play guard?`:
```sql
                SELECT "player" FROM "d" WHERE "position"='Guard';
```
## Task
Generate a SQL query to answer the following question:
`What position(s) do players from bowling green play?`

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

CREATE TABLE "d" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position(s) do players from bowling green play?`:
```sql
                SELECT "position" FROM "d" WHERE "school_club_team"='Bowling Green';
```
## Task
Generate a SQL query to answer the following question:
`Name the most losses for leslie mann`

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

CREATE TABLE "table1_16512618_1" (
  "year_affiliation" text,
  "wins" real,
  "losses" real,
  "winning_pct" text,
  "gb_division_standing" text,
  "manager" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most losses for leslie mann`:
```sql
                SELECT MAX("losses") FROM "table1_16512618_1" WHERE "manager"='Leslie Mann';
```
## Task
Generate a SQL query to answer the following question:
`who is the vacator whre the district is new jersey 2nd?`

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

CREATE TABLE "table1_1651764_3" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the vacator whre the district is new jersey 2nd?`:
```sql
                SELECT "vacator" FROM "table1_1651764_3" WHERE "district"='New Jersey 2nd';
```
## Task
Generate a SQL query to answer the following question:
`what is the date the successor seated because the person died august 17, 1954?`

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

CREATE TABLE "table1_1652224_5" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date the successor seated because the person died august 17, 1954?`:
```sql
                SELECT "date_successor_seated" FROM "table1_1652224_5" WHERE "reason_for_change"='Died August 17, 1954';
```