cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the panelists for david tennant`

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

CREATE TABLE "series_4" (
  "episode_number" real,
  "air_date" text,
  "guest_host" text,
  "musical_guest_song_performed" text,
  "who_knows_the_most_about_the_guest_host_panelists" text,
  "coat_of_cash_wearing_celebrity" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the panelists for david tennant`:
```sql
                SELECT "who_knows_the_most_about_the_guest_host_panelists" FROM "series_4" WHERE "guest_host"='David Tennant';
```
## Task
Generate a SQL query to answer the following question:
`What is the entry for weight in kilograms of jockey D. Nikolic?`

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

CREATE TABLE "2007_08_season_as_a_three_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "time" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the entry for weight in kilograms of jockey D. Nikolic?`:
```sql
                SELECT "weight_kg" FROM "2007_08_season_as_a_three_year_old" WHERE "jockey"='D. Nikolic';
```
## Task
Generate a SQL query to answer the following question:
`Which group had the time 1:11.65?`

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

CREATE TABLE "2007_08_season_as_a_three_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "time" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which group had the time 1:11.65?`:
```sql
                SELECT "group" FROM "2007_08_season_as_a_three_year_old" WHERE "time"='1:11.65';
```
## Task
Generate a SQL query to answer the following question:
`Which horse won with a time of 1:35.98 and what was their position?`

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

CREATE TABLE "2007_08_season_as_a_three_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "time" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which horse won with a time of 1:35.98 and what was their position?`:
```sql
                SELECT "winner_2nd" FROM "2007_08_season_as_a_three_year_old" WHERE "time"='1:35.98';
```
## Task
Generate a SQL query to answer the following question:
`What engine type is used in a Space Shuttle Vacuum scenario?`

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

CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
  "engine_type" text,
  "scenario" text,
  "sfc_in_lb_lbf_h" text,
  "sfc_in_g_k_n_s" text,
  "specific_impulse_s" real,
  "effective_exhaust_velocity_m_s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What engine type is used in a Space Shuttle Vacuum scenario?`:
```sql
                SELECT "engine_type" FROM "specific_fuel_consumption_sfc_specific_i" WHERE "scenario"='Space shuttle vacuum';
```
## Task
Generate a SQL query to answer the following question:
`What is the effective exhaust velocity in a Space Shuttle Vacuum?`

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

CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
  "engine_type" text,
  "scenario" text,
  "sfc_in_lb_lbf_h" text,
  "sfc_in_g_k_n_s" text,
  "specific_impulse_s" real,
  "effective_exhaust_velocity_m_s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the effective exhaust velocity in a Space Shuttle Vacuum?`:
```sql
                SELECT COUNT("effective_exhaust_velocity_m_s") FROM "specific_fuel_consumption_sfc_specific_i" WHERE "scenario"='Space shuttle vacuum';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum specific impulse with a 4423 m/s effective exhaust velocity?`

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

CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
  "engine_type" text,
  "scenario" text,
  "sfc_in_lb_lbf_h" text,
  "sfc_in_g_k_n_s" text,
  "specific_impulse_s" real,
  "effective_exhaust_velocity_m_s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum specific impulse with a 4423 m/s effective exhaust velocity?`:
```sql
                SELECT MAX("specific_impulse_s") FROM "specific_fuel_consumption_sfc_specific_i" WHERE "effective_exhaust_velocity_m_s"=4423;
```
## Task
Generate a SQL query to answer the following question:
`What is the SFC when the specific impulse is 453?`

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

CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
  "engine_type" text,
  "scenario" text,
  "sfc_in_lb_lbf_h" text,
  "sfc_in_g_k_n_s" text,
  "specific_impulse_s" real,
  "effective_exhaust_velocity_m_s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the SFC when the specific impulse is 453?`:
```sql
                SELECT "sfc_in_g_k_n_s" FROM "specific_fuel_consumption_sfc_specific_i" WHERE "specific_impulse_s"=453;
```
## Task
Generate a SQL query to answer the following question:
`When are start dates (1st night) for the season of 1966?`

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

CREATE TABLE "table1_159359_2" (
  "no" text,
  "season" text,
  "start_date_1st_night" text,
  "end_date_last_night" text,
  "location" text,
  "no_of_proms" text
);
### SQL
Given the database schema, here is the SQL query that answers `When are start dates (1st night) for the season of 1966?`:
```sql
                SELECT "start_date_1st_night" FROM "table1_159359_2" WHERE "season"='1966';
```
## Task
Generate a SQL query to answer the following question:
`When are end dates (last night) for the season of 1918?`

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

CREATE TABLE "table1_159359_2" (
  "no" text,
  "season" text,
  "start_date_1st_night" text,
  "end_date_last_night" text,
  "location" text,
  "no_of_proms" text
);
### SQL
Given the database schema, here is the SQL query that answers `When are end dates (last night) for the season of 1918?`:
```sql
                SELECT "end_date_last_night" FROM "table1_159359_2" WHERE "season"='1918';
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of the Labour Party on the Harris Poll`

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

CREATE TABLE "opinion_poll_summary" (
  "party" text,
  "marplan" text,
  "gallup" text,
  "national_opinion_polls_nop" text,
  "opinion_research_centre_opc" text,
  "harris" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of the Labour Party on the Harris Poll`:
```sql
                SELECT "harris" FROM "opinion_poll_summary" WHERE "party"='Labour';
```
## Task
Generate a SQL query to answer the following question:
`On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage? `

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

CREATE TABLE "opinion_poll_summary" (
  "party" text,
  "marplan" text,
  "gallup" text,
  "national_opinion_polls_nop" text,
  "opinion_research_centre_opc" text,
  "harris" text
);
### SQL
Given the database schema, here is the SQL query that answers `On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage? `:
```sql
                SELECT "opinion_research_centre_opc" FROM "opinion_poll_summary" WHERE "national_opinion_polls_nop"='1.3%';
```
## Task
Generate a SQL query to answer the following question:
`Name the del pueblo for centennial 1988`

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

CREATE TABLE "middle_schools_in_kyrene_sd" (
  "information" text,
  "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
  "altade_a" text,
  "aprende" text,
  "centennial" text,
  "kyrene_ms" text,
  "del_pueblo" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the del pueblo for centennial 1988`:
```sql
                SELECT "del_pueblo" FROM "middle_schools_in_kyrene_sd" WHERE "centennial"='1988';
```
## Task
Generate a SQL query to answer the following question:
`Name the centennial for 1992 akimel`

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

CREATE TABLE "middle_schools_in_kyrene_sd" (
  "information" text,
  "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
  "altade_a" text,
  "aprende" text,
  "centennial" text,
  "kyrene_ms" text,
  "del_pueblo" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the centennial for 1992 akimel`:
```sql
                SELECT "centennial" FROM "middle_schools_in_kyrene_sd" WHERE "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river"='1992';
```
## Task
Generate a SQL query to answer the following question:
`Name the del pueblo for red/black`

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

CREATE TABLE "middle_schools_in_kyrene_sd" (
  "information" text,
  "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
  "altade_a" text,
  "aprende" text,
  "centennial" text,
  "kyrene_ms" text,
  "del_pueblo" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the del pueblo for red/black`:
```sql
                SELECT "del_pueblo" FROM "middle_schools_in_kyrene_sd" WHERE "centennial"='Red/black';
```
## Task
Generate a SQL query to answer the following question:
`Name the centennial for location`

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

CREATE TABLE "middle_schools_in_kyrene_sd" (
  "information" text,
  "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
  "altade_a" text,
  "aprende" text,
  "centennial" text,
  "kyrene_ms" text,
  "del_pueblo" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the centennial for location`:
```sql
                SELECT "centennial" FROM "middle_schools_in_kyrene_sd" WHERE "information"='Location';
```
## Task
Generate a SQL query to answer the following question:
`Name the host when first premiere is august 3, 2007`

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

CREATE TABLE "table1_1597866_3" (
  "country" text,
  "name" text,
  "host" text,
  "channel" text,
  "first_premiere" text,
  "regular_judge" text,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the host when first premiere is august 3, 2007`:
```sql
                SELECT "host" FROM "table1_1597866_3" WHERE "first_premiere"='August 3, 2007';
```
## Task
Generate a SQL query to answer the following question:
`Name the regular judge when host is anja rubik`

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

CREATE TABLE "table1_1597866_3" (
  "country" text,
  "name" text,
  "host" text,
  "channel" text,
  "first_premiere" text,
  "regular_judge" text,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the regular judge when host is anja rubik`:
```sql
                SELECT "regular_judge" FROM "table1_1597866_3" WHERE "host"='Anja Rubik';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of regular judge when host is bernie chan`

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

CREATE TABLE "table1_1597866_3" (
  "country" text,
  "name" text,
  "host" text,
  "channel" text,
  "first_premiere" text,
  "regular_judge" text,
  "seasons" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of regular judge when host is bernie chan`:
```sql
                SELECT COUNT("regular_judge") FROM "table1_1597866_3" WHERE "host"='Bernie Chan';
```
## Task
Generate a SQL query to answer the following question:
`Name the most number for 74 runs margins`

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

CREATE TABLE "one_day_international" (
  "s_no" real,
  "team_a" text,
  "team_b" text,
  "winner" text,
  "margin" text,
  "match_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number for 74 runs margins`:
```sql
                SELECT MAX("s_no") FROM "one_day_international" WHERE "margin"='74 runs';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of team for 35 runs margin and india winner`

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

CREATE TABLE "one_day_international" (
  "s_no" real,
  "team_a" text,
  "team_b" text,
  "winner" text,
  "margin" text,
  "match_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of team for 35 runs margin and india winner`:
```sql
                SELECT COUNT("team_b") FROM "one_day_international" WHERE "margin"='35 runs' AND "winner"='India';
```
## Task
Generate a SQL query to answer the following question:
`Namethe team for feb 27, 1996`

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

CREATE TABLE "one_day_international" (
  "s_no" real,
  "team_a" text,
  "team_b" text,
  "winner" text,
  "margin" text,
  "match_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Namethe team for feb 27, 1996`:
```sql
                SELECT "team_a" FROM "one_day_international" WHERE "match_date"='Feb 27, 1996';
```
## Task
Generate a SQL query to answer the following question:
`Name the numbers for date of feb 27, 1996`

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

CREATE TABLE "one_day_international" (
  "s_no" real,
  "team_a" text,
  "team_b" text,
  "winner" text,
  "margin" text,
  "match_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the numbers for date of feb 27, 1996`:
```sql
                SELECT "s_no" FROM "one_day_international" WHERE "match_date"='Feb 27, 1996';
```
## Task
Generate a SQL query to answer the following question:
`Name the team for oct 30, 1989`

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

CREATE TABLE "one_day_international" (
  "s_no" real,
  "team_a" text,
  "team_b" text,
  "winner" text,
  "margin" text,
  "match_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the team for oct 30, 1989`:
```sql
                SELECT "team_b" FROM "one_day_international" WHERE "match_date"='Oct 30, 1989';
```
## Task
Generate a SQL query to answer the following question:
`Name the winner for date of nov 5, 1987`

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

CREATE TABLE "one_day_international" (
  "s_no" real,
  "team_a" text,
  "team_b" text,
  "winner" text,
  "margin" text,
  "match_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winner for date of nov 5, 1987`:
```sql
                SELECT "winner" FROM "one_day_international" WHERE "match_date"='Nov 5, 1987';
```
## Task
Generate a SQL query to answer the following question:
`On Sept. 17, how many first downs did the oilers have?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "oilers_points" real,
  "opponents" real,
  "oilers_first_downs" real,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `On Sept. 17, how many first downs did the oilers have?`:
```sql
                SELECT COUNT("oilers_first_downs") FROM "schedule" WHERE "date"='Sept. 17';
```
## Task
Generate a SQL query to answer the following question:
`How many games were against the los angeles rams?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "oilers_points" real,
  "opponents" real,
  "oilers_first_downs" real,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were against the los angeles rams?`:
```sql
                SELECT MIN("game") FROM "schedule" WHERE "opponent"='Los Angeles Rams';
```
## Task
Generate a SQL query to answer the following question:
`What is the annual change of GDP with a 20.5% GDP of EU in 2012?`

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

CREATE TABLE "economic_growth" (
  "member_state_sorted_by_gdp" text,
  "gdp_in_s_billion_of_usd_2012" text,
  "gdp_pct_of_eu_2012" text,
  "annual_change_pct_of_gdp_2012" text,
  "gdp_per_capita_in_ppp_us_2012" real,
  "public_debt_pct_of_gdp_2013_q1" text,
  "deficit_surplus_pct_of_gdp_2012" text,
  "inflation_pct_annual_2012" text,
  "unemp_pct_2013_m7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the annual change of GDP with a 20.5% GDP of EU in 2012?`:
```sql
                SELECT "annual_change_pct_of_gdp_2012" FROM "economic_growth" WHERE "gdp_pct_of_eu_2012"='20.5%';
```
## Task
Generate a SQL query to answer the following question:
`What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012?`

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

CREATE TABLE "economic_growth" (
  "member_state_sorted_by_gdp" text,
  "gdp_in_s_billion_of_usd_2012" text,
  "gdp_pct_of_eu_2012" text,
  "annual_change_pct_of_gdp_2012" text,
  "gdp_per_capita_in_ppp_us_2012" real,
  "public_debt_pct_of_gdp_2013_q1" text,
  "deficit_surplus_pct_of_gdp_2012" text,
  "inflation_pct_annual_2012" text,
  "unemp_pct_2013_m7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012?`:
```sql
                SELECT "public_debt_pct_of_gdp_2013_q1" FROM "economic_growth" WHERE "gdp_pct_of_eu_2012"='4.7%';
```
## Task
Generate a SQL query to answer the following question:
`What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012?`

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

CREATE TABLE "economic_growth" (
  "member_state_sorted_by_gdp" text,
  "gdp_in_s_billion_of_usd_2012" text,
  "gdp_pct_of_eu_2012" text,
  "annual_change_pct_of_gdp_2012" text,
  "gdp_per_capita_in_ppp_us_2012" real,
  "public_debt_pct_of_gdp_2013_q1" text,
  "deficit_surplus_pct_of_gdp_2012" text,
  "inflation_pct_annual_2012" text,
  "unemp_pct_2013_m7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012?`:
```sql
                SELECT "inflation_pct_annual_2012" FROM "economic_growth" WHERE "gdp_per_capita_in_ppp_us_2012"=24505;
```
## Task
Generate a SQL query to answer the following question:
`What are all the places where the number of perfect 40s is 0 and the average is 27.25?`

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

CREATE TABLE "average_scores_of_all_couples" (
  "rank_by_average" real,
  "place" text,
  "couple" text,
  "perfect_40s" real,
  "total" real,
  "number_of_dances" real,
  "season" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the places where the number of perfect 40s is 0 and the average is 27.25?`:
```sql
                SELECT "place" FROM "average_scores_of_all_couples" WHERE "perfect_40s"=0 AND "average"='27.25';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum total in which the average is 28.5?`

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

CREATE TABLE "average_scores_of_all_couples" (
  "rank_by_average" real,
  "place" text,
  "couple" text,
  "perfect_40s" real,
  "total" real,
  "number_of_dances" real,
  "season" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum total in which the average is 28.5?`:
```sql
                SELECT MAX("total") FROM "average_scores_of_all_couples" WHERE "average"='28.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum number of perfect 40s?`

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

CREATE TABLE "average_scores_of_all_couples" (
  "rank_by_average" real,
  "place" text,
  "couple" text,
  "perfect_40s" real,
  "total" real,
  "number_of_dances" real,
  "season" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum number of perfect 40s?`:
```sql
                SELECT MIN("perfect_40s") FROM "average_scores_of_all_couples";
```
## Task
Generate a SQL query to answer the following question:
`When using a .375 Remington Ultra Magnum, what is the muzzle velocity?`

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

CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `When using a .375 Remington Ultra Magnum, what is the muzzle velocity?`:
```sql
                SELECT "muzzle_velocity" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "cartridge"='.375 Remington Ultra Magnum';
```
## Task
Generate a SQL query to answer the following question:
`What type of cartridge is used by a Weatherby?`

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

CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of cartridge is used by a Weatherby?`:
```sql
                SELECT "cartridge" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Weatherby';
```
## Task
Generate a SQL query to answer the following question:
`What type of cartridge is used by a Winchester?`

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

CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of cartridge is used by a Winchester?`:
```sql
                SELECT "cartridge" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Winchester';
```
## Task
Generate a SQL query to answer the following question:
`What is the weight of the bullet used in a Weatherby?`

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

CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the weight of the bullet used in a Weatherby?`:
```sql
                SELECT "bullet_weight" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Weatherby';
```
## Task
Generate a SQL query to answer the following question:
`What is the weight of the bullet used in a Remington?`

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

CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the weight of the bullet used in a Remington?`:
```sql
                SELECT "bullet_weight" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Remington';
```
## Task
Generate a SQL query to answer the following question:
`When using a .375 Winchester, what is the muzzle energy?`

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

CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `When using a .375 Winchester, what is the muzzle energy?`:
```sql
                SELECT "muzzle_energy" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "cartridge"='.375 Winchester';
```
## Task
Generate a SQL query to answer the following question:
`Which headphone models correspond to the US MSRP of $150?`

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

CREATE TABLE "current_line_of_headphones" (
  "headphone_model" text,
  "headphone_class" text,
  "driver_matched_d_b" text,
  "construction" text,
  "earpads" text,
  "termination" text,
  "us_msrp" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which headphone models correspond to the US MSRP of $150?`:
```sql
                SELECT "headphone_model" FROM "current_line_of_headphones" WHERE "us_msrp"='$150';
```
## Task
Generate a SQL query to answer the following question:
`Which terminations correspond to a US MSRP of $49?`

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

CREATE TABLE "current_line_of_headphones" (
  "headphone_model" text,
  "headphone_class" text,
  "driver_matched_d_b" text,
  "construction" text,
  "earpads" text,
  "termination" text,
  "us_msrp" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which terminations correspond to a US MSRP of $49?`:
```sql
                SELECT "termination" FROM "current_line_of_headphones" WHERE "us_msrp"='$49';
```
## Task
Generate a SQL query to answer the following question:
`How many headphone classes have a US MSRP of $150?`

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

CREATE TABLE "current_line_of_headphones" (
  "headphone_model" text,
  "headphone_class" text,
  "driver_matched_d_b" text,
  "construction" text,
  "earpads" text,
  "termination" text,
  "us_msrp" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many headphone classes have a US MSRP of $150?`:
```sql
                SELECT COUNT("headphone_class") FROM "current_line_of_headphones" WHERE "us_msrp"='$150';
```
## Task
Generate a SQL query to answer the following question:
`How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79?`

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

CREATE TABLE "current_line_of_headphones" (
  "headphone_model" text,
  "headphone_class" text,
  "driver_matched_d_b" text,
  "construction" text,
  "earpads" text,
  "termination" text,
  "us_msrp" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79?`:
```sql
                SELECT COUNT("earpads") FROM "current_line_of_headphones" WHERE "headphone_class"='Prestige' AND "us_msrp"='$79';
```
## Task
Generate a SQL query to answer the following question:
`Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49?`

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

CREATE TABLE "current_line_of_headphones" (
  "headphone_model" text,
  "headphone_class" text,
  "driver_matched_d_b" text,
  "construction" text,
  "earpads" text,
  "termination" text,
  "us_msrp" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49?`:
```sql
                SELECT "headphone_model" FROM "current_line_of_headphones" WHERE "driver_matched_d_b"='0.1' AND "us_msrp"='$49';
```
## Task
Generate a SQL query to answer the following question:
`Which terminations correspond with headphone model SR80I?`

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

CREATE TABLE "current_line_of_headphones" (
  "headphone_model" text,
  "headphone_class" text,
  "driver_matched_d_b" text,
  "construction" text,
  "earpads" text,
  "termination" text,
  "us_msrp" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which terminations correspond with headphone model SR80I?`:
```sql
                SELECT "termination" FROM "current_line_of_headphones" WHERE "headphone_model"='SR80i';
```
## Task
Generate a SQL query to answer the following question:
`What type are State Assemblyman`

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

CREATE TABLE "table1_1602620_1" (
  "office" text,
  "type" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type are State Assemblyman`:
```sql
                SELECT "type" FROM "table1_1602620_1" WHERE "office"='State Assemblyman';
```
## Task
Generate a SQL query to answer the following question:
`What type had a beginning term of December 8, 1980`

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

CREATE TABLE "table1_1602620_1" (
  "office" text,
  "type" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type had a beginning term of December 8, 1980`:
```sql
                SELECT "type" FROM "table1_1602620_1" WHERE "term_began"='December 8, 1980';
```
## Task
Generate a SQL query to answer the following question:
`What type had an election day in 1980`

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

CREATE TABLE "table1_1602620_1" (
  "office" text,
  "type" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type had an election day in 1980`:
```sql
                SELECT "type" FROM "table1_1602620_1" WHERE "elected"=1980;
```
## Task
Generate a SQL query to answer the following question:
`What year did the term end for those elected in 1990`

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

CREATE TABLE "table1_1602620_1" (
  "office" text,
  "type" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the term end for those elected in 1990`:
```sql
                SELECT "term_ended" FROM "table1_1602620_1" WHERE "elected"=1990;
```
## Task
Generate a SQL query to answer the following question:
`What is the location for the office whose term ended December 2, 1976`

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

CREATE TABLE "table1_1602620_1" (
  "office" text,
  "type" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location for the office whose term ended December 2, 1976`:
```sql
                SELECT "location" FROM "table1_1602620_1" WHERE "term_ended"='December 2, 1976';
```
## Task
Generate a SQL query to answer the following question:
`What year did the term end for the office elected in 1984`

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

CREATE TABLE "table1_1602620_1" (
  "office" text,
  "type" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the term end for the office elected in 1984`:
```sql
                SELECT "term_ended" FROM "table1_1602620_1" WHERE "elected"=1984;
```
## Task
Generate a SQL query to answer the following question:
`What was the record on October 8, 1989?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record on October 8, 1989?`:
```sql
                SELECT "record" FROM "schedule" WHERE "date"='October 8, 1989';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game site on October 29, 1989?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game site on October 29, 1989?`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "date"='October 29, 1989';
```
## Task
Generate a SQL query to answer the following question:
`What was the minimum attendance against the New Orleans Saints?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum attendance against the New Orleans Saints?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "opponent"='New Orleans Saints';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of week 2?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of week 2?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"=2;
```
## Task
Generate a SQL query to answer the following question:
`What date did the team play the New York Jets?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the team play the New York Jets?`:
```sql
                SELECT "date" FROM "schedule" WHERE "opponent"='New York Jets';
```
## Task
Generate a SQL query to answer the following question:
`What was the minimum crowd on January 24, 1987?`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the minimum crowd on January 24, 1987?`:
```sql
                SELECT MIN("attendance") FROM "game_log" WHERE "date"='January 24, 1987';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of viewers were there for the episode with a run time of 18:00?`

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

CREATE TABLE "table1_1601935_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of viewers were there for the episode with a run time of 18:00?`:
```sql
                SELECT "viewers_in_millions" FROM "table1_1601935_1" WHERE "run_time"='18:00';
```
## Task
Generate a SQL query to answer the following question:
`What was the archive for episode with 6.6 million viewers?`

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

CREATE TABLE "table1_1601935_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the archive for episode with 6.6 million viewers?`:
```sql
                SELECT "archive" FROM "table1_1601935_1" WHERE "viewers_in_millions"='6.6';
```
## Task
Generate a SQL query to answer the following question:
`When is the latest game the bills had 21 first downs`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bills_points" real,
  "opponents" real,
  "bills_first_downs" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When is the latest game the bills had 21 first downs`:
```sql
                SELECT MIN("game") FROM "schedule" WHERE "bills_first_downs"=21;
```
## Task
Generate a SQL query to answer the following question:
`How many first downs did the bills have when their opponent had 6`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bills_points" real,
  "opponents" real,
  "bills_first_downs" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many first downs did the bills have when their opponent had 6`:
```sql
                SELECT MIN("bills_first_downs") FROM "schedule" WHERE "opponents"=6;
```
## Task
Generate a SQL query to answer the following question:
`How many points did the bills score when their opponent had 14`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bills_points" real,
  "opponents" real,
  "bills_first_downs" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did the bills score when their opponent had 14`:
```sql
                SELECT "bills_points" FROM "schedule" WHERE "opponents"=14;
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum number of points given up to the Baltimore Colts`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "bills_points" real,
  "opponents" real,
  "bills_first_downs" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum number of points given up to the Baltimore Colts`:
```sql
                SELECT MIN("opponents") FROM "schedule" WHERE "opponent"='Baltimore Colts';
```
## Task
Generate a SQL query to answer the following question:
`Who was the runner-up in the Memorial Tournament?`

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

CREATE TABLE "pga_tour_wins_8" (
  "no" real,
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the runner-up in the Memorial Tournament?`:
```sql
                SELECT "runner_s_up" FROM "pga_tour_wins_8" WHERE "tournament"='Memorial Tournament';
```
## Task
Generate a SQL query to answer the following question:
`What was the winning score for the tournament with runner-up Rory Sabbatini?`

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

CREATE TABLE "pga_tour_wins_8" (
  "no" real,
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning score for the tournament with runner-up Rory Sabbatini?`:
```sql
                SELECT "winning_score" FROM "pga_tour_wins_8" WHERE "runner_s_up"='Rory Sabbatini';
```
## Task
Generate a SQL query to answer the following question:
`What was the margin of victory with the winning score "63-68-68-68=267"?`

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

CREATE TABLE "pga_tour_wins_8" (
  "no" real,
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the margin of victory with the winning score "63-68-68-68=267"?`:
```sql
                SELECT "margin_of_victory" FROM "pga_tour_wins_8" WHERE "winning_score"='63-68-68-68=267';
```
## Task
Generate a SQL query to answer the following question:
`Name the least position`

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

CREATE TABLE "2_lyga_zone_north" (
  "position" real,
  "club" text,
  "games_played" real,
  "wins" real,
  "draws" real,
  "loses" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least position`:
```sql
                SELECT MIN("position") FROM "2_lyga_zone_north";
```
## Task
Generate a SQL query to answer the following question:
`Name the most goals scored for position 4`

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

CREATE TABLE "2_lyga_zone_north" (
  "position" real,
  "club" text,
  "games_played" real,
  "wins" real,
  "draws" real,
  "loses" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most goals scored for position 4`:
```sql
                SELECT MAX("goals_scored") FROM "2_lyga_zone_north" WHERE "position"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the bowl game that was played in Tempe, Arizona?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the bowl game that was played in Tempe, Arizona?`:
```sql
                SELECT "bowl_game" FROM "bowl_games" WHERE "city"='Tempe, Arizona';
```
## Task
Generate a SQL query to answer the following question:
`What city in the Citrus Bowl aired on ABC?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city in the Citrus Bowl aired on ABC?`:
```sql
                SELECT "city" FROM "bowl_games" WHERE "stadium"='Citrus Bowl' AND "television"='ABC';
```
## Task
Generate a SQL query to answer the following question:
`What teams played in the Capital One bowl game on January 1, 2009?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What teams played in the Capital One bowl game on January 1, 2009?`:
```sql
                SELECT "conference_matchups" FROM "bowl_games" WHERE "date"='January 1, 2009' AND "bowl_game"='Capital One';
```
## Task
Generate a SQL query to answer the following question:
`Which stadium has a payout of $3 million?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which stadium has a payout of $3 million?`:
```sql
                SELECT "stadium" FROM "bowl_games" WHERE "payout_us"='$3 Million';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest population in regions where the average family size is 2.8 people?`

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

CREATE TABLE "table1_16048129_5" (
  "region_of_ussr" text,
  "number_of_families" real,
  "number_of_people" real,
  "average_family_size" text,
  "pct_of_total_deportees" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest population in regions where the average family size is 2.8 people?`:
```sql
                SELECT MAX("number_of_people") FROM "table1_16048129_5" WHERE "average_family_size"='2.8';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of regions where the average family size is 2.8?`

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

CREATE TABLE "table1_16048129_5" (
  "region_of_ussr" text,
  "number_of_families" real,
  "number_of_people" real,
  "average_family_size" text,
  "pct_of_total_deportees" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of regions where the average family size is 2.8?`:
```sql
                SELECT COUNT("pct_of_total_deportees") FROM "table1_16048129_5" WHERE "average_family_size"='2.8';
```
## Task
Generate a SQL query to answer the following question:
`What regions of the USSR have a percentage of deportees of 10.6?`

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

CREATE TABLE "table1_16048129_5" (
  "region_of_ussr" text,
  "number_of_families" real,
  "number_of_people" real,
  "average_family_size" text,
  "pct_of_total_deportees" text
);
### SQL
Given the database schema, here is the SQL query that answers `What regions of the USSR have a percentage of deportees of 10.6?`:
```sql
                SELECT "region_of_ussr" FROM "table1_16048129_5" WHERE "pct_of_total_deportees"='10.6';
```