cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume?`

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

CREATE TABLE "key_characteristics_of_the_major_climati" (
  "region" text,
  "land_area_km_2" text,
  "rainfall_by_depth_mm_year" real,
  "rainfall_by_volume_km_3_year" text,
  "surface_run_off_km_3_year" text,
  "infiltration_km_3_year" text,
  "evapotranspiration_km_3_year" text
);
### SQL
Given the database schema, here is the SQL query that answers `In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume?`:
```sql
                SELECT "rainfall_by_volume_km_3_year" FROM "key_characteristics_of_the_major_climati" WHERE "rainfall_by_depth_mm_year"=2801;
```
## Task
Generate a SQL query to answer the following question:
`In the region where the rainfall by volume (km 3 /year) was 13.2, what was the evapotranspiration (km 3 /year)?`

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

CREATE TABLE "key_characteristics_of_the_major_climati" (
  "region" text,
  "land_area_km_2" text,
  "rainfall_by_depth_mm_year" real,
  "rainfall_by_volume_km_3_year" text,
  "surface_run_off_km_3_year" text,
  "infiltration_km_3_year" text,
  "evapotranspiration_km_3_year" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the region where the rainfall by volume (km 3 /year) was 13.2, what was the evapotranspiration (km 3 /year)?`:
```sql
                SELECT "evapotranspiration_km_3_year" FROM "key_characteristics_of_the_major_climati" WHERE "rainfall_by_volume_km_3_year"='13.2';
```
## Task
Generate a SQL query to answer the following question:
`In the Central region, what was the infiltration (km 3 /year)?`

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

CREATE TABLE "key_characteristics_of_the_major_climati" (
  "region" text,
  "land_area_km_2" text,
  "rainfall_by_depth_mm_year" real,
  "rainfall_by_volume_km_3_year" text,
  "surface_run_off_km_3_year" text,
  "infiltration_km_3_year" text,
  "evapotranspiration_km_3_year" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the Central region, what was the infiltration (km 3 /year)?`:
```sql
                SELECT "infiltration_km_3_year" FROM "key_characteristics_of_the_major_climati" WHERE "region"='Central';
```
## Task
Generate a SQL query to answer the following question:
`In the Central region, where the land area (km 2) is 8,543.2, what was the rainfall by depth (mm/year)?`

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

CREATE TABLE "key_characteristics_of_the_major_climati" (
  "region" text,
  "land_area_km_2" text,
  "rainfall_by_depth_mm_year" real,
  "rainfall_by_volume_km_3_year" text,
  "surface_run_off_km_3_year" text,
  "infiltration_km_3_year" text,
  "evapotranspiration_km_3_year" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the Central region, where the land area (km 2) is 8,543.2, what was the rainfall by depth (mm/year)?`:
```sql
                SELECT "rainfall_by_depth_mm_year" FROM "key_characteristics_of_the_major_climati" WHERE "land_area_km_2"='8,543.2';
```
## Task
Generate a SQL query to answer the following question:
`How many wins did Parsons have in the year where his winnings were $90,700? `

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" text,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins did Parsons have in the year where his winnings were $90,700? `:
```sql
                SELECT MAX("wins") FROM "nascar_sprint_cup_series" WHERE "winnings"='$90,700';
```
## Task
Generate a SQL query to answer the following question:
`What position was Parsons in for 1992? `

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" text,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position was Parsons in for 1992? `:
```sql
                SELECT "position" FROM "nascar_sprint_cup_series" WHERE "year"=1992;
```
## Task
Generate a SQL query to answer the following question:
`Who is every young rider classification when Jelle Vanendert is the winner?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "combativity_award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is every young rider classification when Jelle Vanendert is the winner?`:
```sql
                SELECT "young_rider_classification" FROM "classification_leadership" WHERE "winner"='Jelle Vanendert';
```
## Task
Generate a SQL query to answer the following question:
`Who is every young rider classification if combativity award is Yannick Talabardon?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "combativity_award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is every young rider classification if combativity award is Yannick Talabardon?`:
```sql
                SELECT "young_rider_classification" FROM "classification_leadership" WHERE "combativity_award"='Yannick Talabardon';
```
## Task
Generate a SQL query to answer the following question:
`How many mountains classifications when Rui Costa is the winner?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "combativity_award" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many mountains classifications when Rui Costa is the winner?`:
```sql
                SELECT COUNT("mountains_classification") FROM "classification_leadership" WHERE "winner"='Rui Costa';
```
## Task
Generate a SQL query to answer the following question:
`What is every team classification when points classification is Philippe Gilbert if mountains classification is Johnny Hoogerland and stage is less than 9.0?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "combativity_award" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every team classification when points classification is Philippe Gilbert if mountains classification is Johnny Hoogerland and stage is less than 9.0?`:
```sql
                SELECT "team_classification" FROM "classification_leadership" WHERE "points_classification"='Philippe Gilbert' AND "mountains_classification"='Johnny Hoogerland' AND "stage"<9.0;
```
## Task
Generate a SQL query to answer the following question:
`how many million u.s. viewers watched the episode directed by dan lerner?`

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

CREATE TABLE "table1_25997153_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many million u.s. viewers watched the episode directed by dan lerner?`:
```sql
                SELECT "u_s_viewers_million" FROM "table1_25997153_1" WHERE "directed_by"='Dan Lerner';
```
## Task
Generate a SQL query to answer the following question:
`what is the latest episode in the series that had 16.17 million u.s. viewers?`

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

CREATE TABLE "table1_25997153_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the latest episode in the series that had 16.17 million u.s. viewers?`:
```sql
                SELECT MAX("no_in_series") FROM "table1_25997153_1" WHERE "u_s_viewers_million"='16.17';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode with the production code 3x5362?`

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

CREATE TABLE "table1_25997153_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode with the production code 3x5362?`:
```sql
                SELECT "title" FROM "table1_25997153_1" WHERE "production_code"='3X5362';
```
## Task
Generate a SQL query to answer the following question:
`What Nature reserve number was established on 19961220 20.12.1996`

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

CREATE TABLE "table1_26013618_1" (
  "nsg_nr" real,
  "name_of_the_nature_reserve" text,
  "district_town" text,
  "area_ha" text,
  "date_established" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Nature reserve number was established on 19961220 20.12.1996`:
```sql
                SELECT MIN("nsg_nr") FROM "table1_26013618_1" WHERE "date_established"='19961220 20.12.1996';
```
## Task
Generate a SQL query to answer the following question:
`How many reserves were established on 19740329 29.03.1974?`

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

CREATE TABLE "table1_26013618_1" (
  "nsg_nr" real,
  "name_of_the_nature_reserve" text,
  "district_town" text,
  "area_ha" text,
  "date_established" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many reserves were established on 19740329 29.03.1974?`:
```sql
                SELECT COUNT("nsg_nr") FROM "table1_26013618_1" WHERE "date_established"='19740329 29.03.1974';
```
## Task
Generate a SQL query to answer the following question:
`When was Stellbrookmoor established?`

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

CREATE TABLE "table1_26013618_1" (
  "nsg_nr" real,
  "name_of_the_nature_reserve" text,
  "district_town" text,
  "area_ha" text,
  "date_established" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Stellbrookmoor established?`:
```sql
                SELECT "date_established" FROM "table1_26013618_1" WHERE "name_of_the_nature_reserve"='Stellbrookmoor';
```
## Task
Generate a SQL query to answer the following question:
`What town has the reserve with an area of 163,62?`

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

CREATE TABLE "table1_26013618_1" (
  "nsg_nr" real,
  "name_of_the_nature_reserve" text,
  "district_town" text,
  "area_ha" text,
  "date_established" text
);
### SQL
Given the database schema, here is the SQL query that answers `What town has the reserve with an area of 163,62?`:
```sql
                SELECT "district_town" FROM "table1_26013618_1" WHERE "area_ha"='163,62';
```
## Task
Generate a SQL query to answer the following question:
`How many reserves are in Herzogtum Lauenburg with an area of 123,14?`

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

CREATE TABLE "table1_26013618_1" (
  "nsg_nr" real,
  "name_of_the_nature_reserve" text,
  "district_town" text,
  "area_ha" text,
  "date_established" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many reserves are in Herzogtum Lauenburg with an area of 123,14?`:
```sql
                SELECT COUNT("nsg_nr") FROM "table1_26013618_1" WHERE "district_town"='Herzogtum Lauenburg' AND "area_ha"='123,14';
```
## Task
Generate a SQL query to answer the following question:
`How many names does nature reserve 54 have?`

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

CREATE TABLE "table1_26013618_1" (
  "nsg_nr" real,
  "name_of_the_nature_reserve" text,
  "district_town" text,
  "area_ha" text,
  "date_established" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many names does nature reserve 54 have?`:
```sql
                SELECT COUNT("name_of_the_nature_reserve") FROM "table1_26013618_1" WHERE "nsg_nr"=54;
```
## Task
Generate a SQL query to answer the following question:
`Which episode did 18.74 million people tune in?`

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

CREATE TABLE "table1_25996938_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode did 18.74 million people tune in?`:
```sql
                SELECT "title" FROM "table1_25996938_1" WHERE "u_s_viewers_million"='18.74';
```
## Task
Generate a SQL query to answer the following question:
`Which prod code was series 11?`

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

CREATE TABLE "table1_25996938_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which prod code was series 11?`:
```sql
                SELECT "production_code" FROM "table1_25996938_1" WHERE "no_in_series"=11;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest localities?`

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

CREATE TABLE "table1_26007767_1" (
  "metropolitan_ring" text,
  "localities" real,
  "total" real,
  "jews_and_others_1" real,
  "thereof_jews" real,
  "arabs" real,
  "population_density_per_km" text,
  "annual_population_growth_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest localities?`:
```sql
                SELECT MAX("localities") FROM "table1_26007767_1";
```
## Task
Generate a SQL query to answer the following question:
`What is the least arabs when the metropolitan ring is inner ring 3?`

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

CREATE TABLE "table1_26007767_1" (
  "metropolitan_ring" text,
  "localities" real,
  "total" real,
  "jews_and_others_1" real,
  "thereof_jews" real,
  "arabs" real,
  "population_density_per_km" text,
  "annual_population_growth_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least arabs when the metropolitan ring is inner ring 3?`:
```sql
                SELECT MIN("arabs") FROM "table1_26007767_1" WHERE "metropolitan_ring"='Inner Ring 3';
```
## Task
Generate a SQL query to answer the following question:
`How many time is the population density (per km²) is 2.5?`

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

CREATE TABLE "table1_26007767_1" (
  "metropolitan_ring" text,
  "localities" real,
  "total" real,
  "jews_and_others_1" real,
  "thereof_jews" real,
  "arabs" real,
  "population_density_per_km" text,
  "annual_population_growth_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many time is the population density (per km²) is 2.5?`:
```sql
                SELECT COUNT("localities") FROM "table1_26007767_1" WHERE "population_density_per_km"='2.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the metropolitan ring when thereof: jews is 30600?`

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

CREATE TABLE "table1_26007767_1" (
  "metropolitan_ring" text,
  "localities" real,
  "total" real,
  "jews_and_others_1" real,
  "thereof_jews" real,
  "arabs" real,
  "population_density_per_km" text,
  "annual_population_growth_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the metropolitan ring when thereof: jews is 30600?`:
```sql
                SELECT "metropolitan_ring" FROM "table1_26007767_1" WHERE "thereof_jews"=30600;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of stages where the teams classification leader is Cervélo Testteam?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "teams_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of stages where the teams classification leader is Cervélo Testteam?`:
```sql
                SELECT COUNT("stage") FROM "classification_leadership" WHERE "teams_classification"='Cervélo TestTeam';
```
## Task
Generate a SQL query to answer the following question:
`How many stages did Team Sky lead the teams classification?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "teams_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many stages did Team Sky lead the teams classification?`:
```sql
                SELECT MAX("stage") FROM "classification_leadership" WHERE "teams_classification"='Team Sky';
```
## Task
Generate a SQL query to answer the following question:
`Who leads the general classification in stage 3?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "teams_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who leads the general classification in stage 3?`:
```sql
                SELECT "general_classification" FROM "classification_leadership" WHERE "stage"=3;
```
## Task
Generate a SQL query to answer the following question:
`How many production codes are there for episode number 45?`

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

CREATE TABLE "table1_2602958_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many production codes are there for episode number 45?`:
```sql
                SELECT COUNT("prod_code") FROM "table1_2602958_4" WHERE "no"=45;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode 6 in season 3?`

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

CREATE TABLE "table1_2602958_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode 6 in season 3?`:
```sql
                SELECT "writer_s" FROM "table1_2602958_4" WHERE "num"=6;
```
## Task
Generate a SQL query to answer the following question:
`Which episodein season 3 had 175020 for a production code?`

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

CREATE TABLE "table1_2602958_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episodein season 3 had 175020 for a production code?`:
```sql
                SELECT "num" FROM "table1_2602958_4" WHERE "prod_code"=175020;
```
## Task
Generate a SQL query to answer the following question:
`How many production codes does the episode "keg! max!" have?`

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

CREATE TABLE "table1_2602958_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many production codes does the episode "keg! max!" have?`:
```sql
                SELECT COUNT("prod_code") FROM "table1_2602958_4" WHERE "title"='\"Keg! Max!\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date of "they shoot gilmores, don't they?"`

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

CREATE TABLE "table1_2602958_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date of "they shoot gilmores, don't they?"`:
```sql
                SELECT "original_air_date" FROM "table1_2602958_4" WHERE "title"='\"They Shoot Gilmores, Don''t They?\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode number 45?`

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

CREATE TABLE "table1_2602958_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode number 45?`:
```sql
                SELECT "writer_s" FROM "table1_2602958_4" WHERE "no"=45;
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode "hammers and veils"?`

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

CREATE TABLE "table1_2602958_3" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode "hammers and veils"?`:
```sql
                SELECT "director" FROM "table1_2602958_3" WHERE "title"='\"Hammers and Veils\"';
```
## Task
Generate a SQL query to answer the following question:
`How many viewers in millions for episode number 38?`

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

CREATE TABLE "table1_2602958_3" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many viewers in millions for episode number 38?`:
```sql
                SELECT "u_s_viewers_million" FROM "table1_2602958_3" WHERE "no"=38;
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode with production code 227451?`

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

CREATE TABLE "table1_2602958_3" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode with production code 227451?`:
```sql
                SELECT "director" FROM "table1_2602958_3" WHERE "prod_code"=227451;
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date for the episode directed by kevin dowling?`

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

CREATE TABLE "table1_2602958_3" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date for the episode directed by kevin dowling?`:
```sql
                SELECT "original_air_date" FROM "table1_2602958_3" WHERE "director"='Kevin Dowling';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes are titled "like mother, like daughter"?`

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

CREATE TABLE "table1_2602958_3" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes are titled "like mother, like daughter"?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_2602958_3" WHERE "title"='\"Like Mother, Like Daughter\"';
```
## Task
Generate a SQL query to answer the following question:
`what is ba - running bear where b - bishop is rn - running stag?`

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

CREATE TABLE "table1_2603017_2" (
  "ab_angry_boar" text,
  "b_bishop" text,
  "ba_running_bear" text,
  "bb_blind_bear" text,
  "bc_beast_cadet" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is ba - running bear where b - bishop is rn - running stag?`:
```sql
                SELECT "ba_running_bear" FROM "table1_2603017_2" WHERE "b_bishop"='RN - Running Stag';
```
## Task
Generate a SQL query to answer the following question:
`what is b - bishop where ab - angry boar is vw - vertical wolf?`

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

CREATE TABLE "table1_2603017_2" (
  "ab_angry_boar" text,
  "b_bishop" text,
  "ba_running_bear" text,
  "bb_blind_bear" text,
  "bc_beast_cadet" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is b - bishop where ab - angry boar is vw - vertical wolf?`:
```sql
                SELECT "b_bishop" FROM "table1_2603017_2" WHERE "ab_angry_boar"='VW - Vertical Wolf';
```
## Task
Generate a SQL query to answer the following question:
`what is ba - running bear where ab - angry boar is os - ox soldier?`

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

CREATE TABLE "table1_2603017_2" (
  "ab_angry_boar" text,
  "b_bishop" text,
  "ba_running_bear" text,
  "bb_blind_bear" text,
  "bc_beast_cadet" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is ba - running bear where ab - angry boar is os - ox soldier?`:
```sql
                SELECT "ba_running_bear" FROM "table1_2603017_2" WHERE "ab_angry_boar"='OS - Ox Soldier';
```
## Task
Generate a SQL query to answer the following question:
`what is b - bishop where bc - beast cadet is gr - great dove?`

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

CREATE TABLE "table1_2603017_2" (
  "ab_angry_boar" text,
  "b_bishop" text,
  "ba_running_bear" text,
  "bb_blind_bear" text,
  "bc_beast_cadet" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is b - bishop where bc - beast cadet is gr - great dove?`:
```sql
                SELECT "b_bishop" FROM "table1_2603017_2" WHERE "bc_beast_cadet"='GR - Great Dove';
```
## Task
Generate a SQL query to answer the following question:
`what is bb - blind bear where ba - running bear is mf - mountain falcon?`

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

CREATE TABLE "table1_2603017_2" (
  "ab_angry_boar" text,
  "b_bishop" text,
  "ba_running_bear" text,
  "bb_blind_bear" text,
  "bc_beast_cadet" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is bb - blind bear where ba - running bear is mf - mountain falcon?`:
```sql
                SELECT "bb_blind_bear" FROM "table1_2603017_2" WHERE "ba_running_bear"='MF - Mountain Falcon';
```
## Task
Generate a SQL query to answer the following question:
`what is bb - blind bear where ba - running bear is tc - tile chariot?`

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

CREATE TABLE "table1_2603017_2" (
  "ab_angry_boar" text,
  "b_bishop" text,
  "ba_running_bear" text,
  "bb_blind_bear" text,
  "bc_beast_cadet" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is bb - blind bear where ba - running bear is tc - tile chariot?`:
```sql
                SELECT "bb_blind_bear" FROM "table1_2603017_2" WHERE "ba_running_bear"='TC - Tile Chariot';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum die size for an SM count of exactly 2?`

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

CREATE TABLE "table1_26040604_1" (
  "model" text,
  "launch" text,
  "code_name" text,
  "transistors_million" real,
  "die_size_mm_2" real,
  "bus_interface" text,
  "memory_mb" text,
  "sm_count" real,
  "core_config_1_3" text,
  "core_m_hz" real,
  "shader_m_hz" real,
  "memory_m_hz" text,
  "pixel_gp_s" text,
  "texture_gt_s" text,
  "bandwidth_gb_s" text,
  "dram_type" text,
  "bus_width_bit" real,
  "gflops_fma_2" text,
  "tdp_watts" real,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum die size for an SM count of exactly 2?`:
```sql
                SELECT MIN("die_size_mm_2") FROM "table1_26040604_1" WHERE "sm_count"=2;
```
## Task
Generate a SQL query to answer the following question:
`How many die sizes have a texture of exactly 34?`

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

CREATE TABLE "table1_26040604_1" (
  "model" text,
  "launch" text,
  "code_name" text,
  "transistors_million" real,
  "die_size_mm_2" real,
  "bus_interface" text,
  "memory_mb" text,
  "sm_count" real,
  "core_config_1_3" text,
  "core_m_hz" real,
  "shader_m_hz" real,
  "memory_m_hz" text,
  "pixel_gp_s" text,
  "texture_gt_s" text,
  "bandwidth_gb_s" text,
  "dram_type" text,
  "bus_width_bit" real,
  "gflops_fma_2" text,
  "tdp_watts" real,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many die sizes have a texture of exactly 34?`:
```sql
                SELECT COUNT("die_size_mm_2") FROM "table1_26040604_1" WHERE "texture_gt_s"='34';
```
## Task
Generate a SQL query to answer the following question:
`What model has a launch of September 3, 2010?`

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

CREATE TABLE "table1_26040604_1" (
  "model" text,
  "launch" text,
  "code_name" text,
  "transistors_million" real,
  "die_size_mm_2" real,
  "bus_interface" text,
  "memory_mb" text,
  "sm_count" real,
  "core_config_1_3" text,
  "core_m_hz" real,
  "shader_m_hz" real,
  "memory_m_hz" text,
  "pixel_gp_s" text,
  "texture_gt_s" text,
  "bandwidth_gb_s" text,
  "dram_type" text,
  "bus_width_bit" real,
  "gflops_fma_2" text,
  "tdp_watts" real,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What model has a launch of September 3, 2010?`:
```sql
                SELECT "model" FROM "table1_26040604_1" WHERE "launch"='September 3, 2010';
```
## Task
Generate a SQL query to answer the following question:
`What was the DRAM type of an SM Count of 6?`

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

CREATE TABLE "table1_26040604_1" (
  "model" text,
  "launch" text,
  "code_name" text,
  "transistors_million" real,
  "die_size_mm_2" real,
  "bus_interface" text,
  "memory_mb" text,
  "sm_count" real,
  "core_config_1_3" text,
  "core_m_hz" real,
  "shader_m_hz" real,
  "memory_m_hz" text,
  "pixel_gp_s" text,
  "texture_gt_s" text,
  "bandwidth_gb_s" text,
  "dram_type" text,
  "bus_width_bit" real,
  "gflops_fma_2" text,
  "tdp_watts" real,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the DRAM type of an SM Count of 6?`:
```sql
                SELECT "dram_type" FROM "table1_26040604_1" WHERE "sm_count"=6;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the movie positioned at 8 on the list?`

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

CREATE TABLE "table1_2602958_5" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the movie positioned at 8 on the list?`:
```sql
                SELECT "writer_s" FROM "table1_2602958_5" WHERE "num"=8;
```
## Task
Generate a SQL query to answer the following question:
`What district does the road with a MDR number of 47 pass through?`

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

CREATE TABLE "table1_26036389_1" (
  "sr_no" real,
  "name_of_road" text,
  "passes_through_district_s" text,
  "length_in_km" text,
  "mdr_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What district does the road with a MDR number of 47 pass through?`:
```sql
                SELECT "passes_through_district_s" FROM "table1_26036389_1" WHERE "mdr_no"=47;
```
## Task
Generate a SQL query to answer the following question:
`What is the MDR number of Rait Charhi Dharamshala?`

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

CREATE TABLE "table1_26036389_1" (
  "sr_no" real,
  "name_of_road" text,
  "passes_through_district_s" text,
  "length_in_km" text,
  "mdr_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the MDR number of Rait Charhi Dharamshala?`:
```sql
                SELECT MIN("mdr_no") FROM "table1_26036389_1" WHERE "name_of_road"='Rait Charhi Dharamshala';
```
## Task
Generate a SQL query to answer the following question:
`What is the Sr. number of Banikhet Dalhouse Khajiar?`

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

CREATE TABLE "table1_26036389_1" (
  "sr_no" real,
  "name_of_road" text,
  "passes_through_district_s" text,
  "length_in_km" text,
  "mdr_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Sr. number of Banikhet Dalhouse Khajiar?`:
```sql
                SELECT MAX("sr_no") FROM "table1_26036389_1" WHERE "name_of_road"='Banikhet Dalhouse Khajiar';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest number of runs?`

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

CREATE TABLE "most_career_runs" (
  "rank" real,
  "runs" real,
  "average" text,
  "strike_rate" text,
  "player" text,
  "matches" real,
  "innings" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest number of runs?`:
```sql
                SELECT MIN("runs") FROM "most_career_runs";
```
## Task
Generate a SQL query to answer the following question:
`How many innings are there when the average is 32.3?`

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

CREATE TABLE "most_career_runs" (
  "rank" real,
  "runs" real,
  "average" text,
  "strike_rate" text,
  "player" text,
  "matches" real,
  "innings" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many innings are there when the average is 32.3?`:
```sql
                SELECT MIN("innings") FROM "most_career_runs" WHERE "average"='32.3';
```
## Task
Generate a SQL query to answer the following question:
`What was the average when the strike rate is 75.78?`

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

CREATE TABLE "most_career_runs" (
  "rank" real,
  "runs" real,
  "average" text,
  "strike_rate" text,
  "player" text,
  "matches" real,
  "innings" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average when the strike rate is 75.78?`:
```sql
                SELECT "average" FROM "most_career_runs" WHERE "strike_rate"='75.78';
```
## Task
Generate a SQL query to answer the following question:
`What is the catches maximum number?`

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

CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
  "rank" real,
  "dismissals" real,
  "catches" real,
  "stumps" real,
  "player" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the catches maximum number?`:
```sql
                SELECT MAX("catches") FROM "most_dismissals_catches_plus_stumpings_i";
```
## Task
Generate a SQL query to answer the following question:
`If the player is Hashan Tillakaratne, what is the catches minimum?`

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

CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
  "rank" real,
  "dismissals" real,
  "catches" real,
  "stumps" real,
  "player" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the player is Hashan Tillakaratne, what is the catches minimum?`:
```sql
                SELECT MIN("catches") FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Hashan Tillakaratne';
```
## Task
Generate a SQL query to answer the following question:
`what is the period if the player is Hashan Tillakaratne?`

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

CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
  "rank" real,
  "dismissals" real,
  "catches" real,
  "stumps" real,
  "player" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the period if the player is Hashan Tillakaratne?`:
```sql
                SELECT "period" FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Hashan Tillakaratne';
```
## Task
Generate a SQL query to answer the following question:
`What is the ranktotal number if the Hashan Tillakaratne?`

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

CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
  "rank" real,
  "dismissals" real,
  "catches" real,
  "stumps" real,
  "player" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ranktotal number if the Hashan Tillakaratne?`:
```sql
                SELECT COUNT("rank") FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Hashan Tillakaratne';
```
## Task
Generate a SQL query to answer the following question:
`If the catches is 131, what is the rank total number?`

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

CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
  "rank" real,
  "dismissals" real,
  "catches" real,
  "stumps" real,
  "player" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the catches is 131, what is the rank total number?`:
```sql
                SELECT COUNT("rank") FROM "most_dismissals_catches_plus_stumpings_i" WHERE "catches"=131;
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum burglary statistics if the property crimes is 168630?`

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

CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
  "year" real,
  "population" real,
  "total" real,
  "violent" real,
  "property_crimes" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum burglary statistics if the property crimes is 168630?`:
```sql
                SELECT MAX("burglary") FROM "crime_statistics_1995_2011_non_homicide" WHERE "property_crimes"=168630;
```
## Task
Generate a SQL query to answer the following question:
`How many burglary crimes were committed if the forcible rapes were 1233?`

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

CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
  "year" real,
  "population" real,
  "total" real,
  "violent" real,
  "property_crimes" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many burglary crimes were committed if the forcible rapes were 1233?`:
```sql
                SELECT "burglary" FROM "crime_statistics_1995_2011_non_homicide" WHERE "forcible_rape"=1233;
```
## Task
Generate a SQL query to answer the following question:
`How many vehicle thefts data were recorded if forcible rape is 1232?`

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

CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
  "year" real,
  "population" real,
  "total" real,
  "violent" real,
  "property_crimes" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many vehicle thefts data were recorded if forcible rape is 1232?`:
```sql
                SELECT COUNT("vehicle_theft") FROM "crime_statistics_1995_2011_non_homicide" WHERE "forcible_rape"=1232;
```
## Task
Generate a SQL query to answer the following question:
`How many vehicle theft data were recorded for a year with a population of 4465430?`

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

CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
  "year" real,
  "population" real,
  "total" real,
  "violent" real,
  "property_crimes" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many vehicle theft data were recorded for a year with a population of 4465430?`:
```sql
                SELECT COUNT("vehicle_theft") FROM "crime_statistics_1995_2011_non_homicide" WHERE "population"=4465430;
```
## Task
Generate a SQL query to answer the following question:
`What was the minimum property crimes stats if the burglary committed was 45350?`

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

CREATE TABLE "crime_statistics_1995_2011_non_homicide" (
  "year" real,
  "population" real,
  "total" real,
  "violent" real,
  "property_crimes" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum property crimes stats if the burglary committed was 45350?`:
```sql
                SELECT MIN("property_crimes") FROM "crime_statistics_1995_2011_non_homicide" WHERE "burglary"=45350;
```
## Task
Generate a SQL query to answer the following question:
`What was kumar sangakkara's average?`

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

CREATE TABLE "highest_career_averages" (
  "rank" real,
  "average" text,
  "player" text,
  "matches" real,
  "innings" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was kumar sangakkara's average?`:
```sql
                SELECT "average" FROM "highest_career_averages" WHERE "player"='Kumar Sangakkara';
```
## Task
Generate a SQL query to answer the following question:
`Who was the player with a 36.74 average?`

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

CREATE TABLE "highest_career_averages" (
  "rank" real,
  "average" text,
  "player" text,
  "matches" real,
  "innings" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the player with a 36.74 average?`:
```sql
                SELECT "player" FROM "highest_career_averages" WHERE "average"='36.74';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of the player with the 39.69 average?`

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

CREATE TABLE "highest_career_averages" (
  "rank" real,
  "average" text,
  "player" text,
  "matches" real,
  "innings" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of the player with the 39.69 average?`:
```sql
                SELECT "rank" FROM "highest_career_averages" WHERE "average"='39.69';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of matches for a record holder?`

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

CREATE TABLE "highest_career_averages" (
  "rank" real,
  "average" text,
  "player" text,
  "matches" real,
  "innings" real,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of matches for a record holder?`:
```sql
                SELECT MIN("matches") FROM "highest_career_averages";
```