cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the Status of the Paris with a Census Ranking of 3,474 of 5,008?`

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

CREATE TABLE "parishes" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Status of the Paris with a Census Ranking of 3,474 of 5,008?`:
```sql
                SELECT "status" FROM "parishes" WHERE "census_ranking"='3,474 of 5,008';
```
## Task
Generate a SQL query to answer the following question:
`What is the Area of the Parish with a Population of 2,113?`

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

CREATE TABLE "parishes" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Area of the Parish with a Population of 2,113?`:
```sql
                SELECT COUNT("area_km_2") FROM "parishes" WHERE "population"='2,113';
```
## Task
Generate a SQL query to answer the following question:
`What is the Population of the Parish with an Area km 2 of 236.76?`

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

CREATE TABLE "parishes" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Population of the Parish with an Area km 2 of 236.76?`:
```sql
                SELECT MIN("population") FROM "parishes" WHERE "area_km_2"=236.76;
```
## Task
Generate a SQL query to answer the following question:
`What is the Area of the Parish with a Population of 71?`

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

CREATE TABLE "parishes" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Area of the Parish with a Population of 71?`:
```sql
                SELECT "area_km_2" FROM "parishes" WHERE "population"=71;
```
## Task
Generate a SQL query to answer the following question:
`What is the elevation and height for Halfbeak?`

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

CREATE TABLE "flintlock_tests" (
  "name" text,
  "location" text,
  "elevation_height" text,
  "delivery" text,
  "purpose" text,
  "yield" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the elevation and height for Halfbeak?`:
```sql
                SELECT "elevation_height" FROM "flintlock_tests" WHERE "name"='halfbeak';
```
## Task
Generate a SQL query to answer the following question:
`What is the purpose of Long Shot?`

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

CREATE TABLE "flintlock_tests" (
  "name" text,
  "location" text,
  "elevation_height" text,
  "delivery" text,
  "purpose" text,
  "yield" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the purpose of Long Shot?`:
```sql
                SELECT "purpose" FROM "flintlock_tests" WHERE "name"='long shot';
```
## Task
Generate a SQL query to answer the following question:
`What is the yield in NTS Area U2R when the purpose is weapons development?`

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

CREATE TABLE "flintlock_tests" (
  "name" text,
  "location" text,
  "elevation_height" text,
  "delivery" text,
  "purpose" text,
  "yield" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the yield in NTS Area U2R when the purpose is weapons development?`:
```sql
                SELECT "yield" FROM "flintlock_tests" WHERE "purpose"='weapons development' AND "location"='nts area u2r';
```
## Task
Generate a SQL query to answer the following question:
`What location was listed on 1977-09-15?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "borough" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location was listed on 1977-09-15?`:
```sql
                SELECT "location" FROM "references" WHERE "listed"='1977-09-15';
```
## Task
Generate a SQL query to answer the following question:
`What is the Borough for the Seward listing on 1977-11-23?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "borough" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Borough for the Seward listing on 1977-11-23?`:
```sql
                SELECT "borough" FROM "references" WHERE "location"='seward' AND "listed"='1977-11-23';
```
## Task
Generate a SQL query to answer the following question:
`What location was listed on 1977-11-23?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "borough" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location was listed on 1977-11-23?`:
```sql
                SELECT "location" FROM "references" WHERE "listed"='1977-11-23';
```
## Task
Generate a SQL query to answer the following question:
`What are the listings in the Valdez-cordova (census area) Borough?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "borough" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the listings in the Valdez-cordova (census area) Borough?`:
```sql
                SELECT "listed" FROM "references" WHERE "borough"='valdez-cordova (census area)';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the building listed on 1977-11-23?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "borough" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the building listed on 1977-11-23?`:
```sql
                SELECT "name" FROM "references" WHERE "listed"='1977-11-23';
```
## Task
Generate a SQL query to answer the following question:
`What was the Maple Leafs' record on game 52?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Maple Leafs' record on game 52?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game"=52;
```
## Task
Generate a SQL query to answer the following question:
`What was Germany's lowest sales when the profit was smaller than 6.7 billion?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" real,
  "profits_billion" real,
  "assets_billion" real,
  "market_value_billion" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was Germany's lowest sales when the profit was smaller than 6.7 billion?`:
```sql
                SELECT MIN("sales_billion") FROM "2011_list" WHERE "headquarters"='germany' AND "profits_billion"<6.7;
```
## Task
Generate a SQL query to answer the following question:
`For which industry was the profit smaller than 14.2 billion and the assets larger than 2,467.9 billion?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" real,
  "profits_billion" real,
  "assets_billion" real,
  "market_value_billion" real
);
### SQL
Given the database schema, here is the SQL query that answers `For which industry was the profit smaller than 14.2 billion and the assets larger than 2,467.9 billion?`:
```sql
                SELECT "industry" FROM "2011_list" WHERE "profits_billion"<14.2 AND "assets_billion">'2,467.9';
```
## Task
Generate a SQL query to answer the following question:
`For which industry is the assets smaller than 1,258.1 and the profit smaller than 11.6?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" real,
  "profits_billion" real,
  "assets_billion" real,
  "market_value_billion" real
);
### SQL
Given the database schema, here is the SQL query that answers `For which industry is the assets smaller than 1,258.1 and the profit smaller than 11.6?`:
```sql
                SELECT "industry" FROM "2011_list" WHERE "assets_billion"<'1,258.1' AND "profits_billion"<11.6;
```
## Task
Generate a SQL query to answer the following question:
`What is the average rank for USA when the market value is 407.2 billion?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" real,
  "profits_billion" real,
  "assets_billion" real,
  "market_value_billion" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average rank for USA when the market value is 407.2 billion?`:
```sql
                SELECT AVG("rank") FROM "2011_list" WHERE "headquarters"='usa' AND "market_value_billion">407.2;
```
## Task
Generate a SQL query to answer the following question:
`What was date was the attendance larger than 875 against Platense?`

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

CREATE TABLE "round_3" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was date was the attendance larger than 875 against Platense?`:
```sql
                SELECT "date" FROM "round_3" WHERE "attendance">875 AND "home"='platense';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team with 3305 in attendance?`

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

CREATE TABLE "round_3" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team with 3305 in attendance?`:
```sql
                SELECT "home" FROM "round_3" WHERE "attendance"=3305;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest attendance for the Hispano team?`

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

CREATE TABLE "round_3" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest attendance for the Hispano team?`:
```sql
                SELECT MAX("attendance") FROM "round_3" WHERE "home"='hispano';
```
## Task
Generate a SQL query to answer the following question:
`What country has the player Tiger Woods?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What country has the player Tiger Woods?`:
```sql
                SELECT "country" FROM "final_round" WHERE "player"='tiger woods';
```
## Task
Generate a SQL query to answer the following question:
`What is the Money ($) player Loren Roberts has made?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Money ($) player Loren Roberts has made?`:
```sql
                SELECT MAX("money") FROM "final_round" WHERE "player"='loren roberts';
```
## Task
Generate a SQL query to answer the following question:
`What is the Pinnacle height for Metcalf, Georgia?`

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

CREATE TABLE "structures_past_or_present_600_m_and_tal" (
  "name" text,
  "pinnacle_height" text,
  "structure_type" text,
  "main_use" text,
  "town" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Pinnacle height for Metcalf, Georgia?`:
```sql
                SELECT "pinnacle_height" FROM "structures_past_or_present_600_m_and_tal" WHERE "town"='metcalf, georgia';
```
## Task
Generate a SQL query to answer the following question:
`Who placed t7 with a score of 70-71=141?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who placed t7 with a score of 70-71=141?`:
```sql
                SELECT "player" FROM "second_round" WHERE "place"='t7' AND "score"='70-71=141';
```
## Task
Generate a SQL query to answer the following question:
`What country scored 71-69=140?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country scored 71-69=140?`:
```sql
                SELECT "country" FROM "second_round" WHERE "score"='71-69=140';
```
## Task
Generate a SQL query to answer the following question:
`What nation had more than 3 bronze, 0 gold, and a total of 9?`

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

CREATE TABLE "official_sports" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What nation had more than 3 bronze, 0 gold, and a total of 9?`:
```sql
                SELECT "nation" FROM "official_sports" WHERE "bronze">3 AND "gold"=0 AND "total"=9;
```
## Task
Generate a SQL query to answer the following question:
`What's the earliest year the new york giants lost at new meadowlands stadium?`

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

CREATE TABLE "2010s_eagles_5_3" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the earliest year the new york giants lost at new meadowlands stadium?`:
```sql
                SELECT MIN("year") FROM "2010s_eagles_5_3" WHERE "loser"='new york giants' AND "location"='new meadowlands stadium';
```
## Task
Generate a SQL query to answer the following question:
`How many years did the new york giants lose at metlife stadium?`

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

CREATE TABLE "2010s_eagles_5_3" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years did the new york giants lose at metlife stadium?`:
```sql
                SELECT COUNT("year") FROM "2010s_eagles_5_3" WHERE "location"='metlife stadium' AND "loser"='new york giants';
```
## Task
Generate a SQL query to answer the following question:
`How many years did the new york giants win with a result of 15-7 at lincoln financial field?`

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

CREATE TABLE "2010s_eagles_5_3" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years did the new york giants win with a result of 15-7 at lincoln financial field?`:
```sql
                SELECT COUNT("year") FROM "2010s_eagles_5_3" WHERE "location"='lincoln financial field' AND "winner"='new york giants' AND "result"='15-7';
```
## Task
Generate a SQL query to answer the following question:
`Who lost when the philadelphia eagles won at lincoln financial field on september 30?`

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

CREATE TABLE "2010s_eagles_5_3" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who lost when the philadelphia eagles won at lincoln financial field on september 30?`:
```sql
                SELECT "loser" FROM "2010s_eagles_5_3" WHERE "location"='lincoln financial field' AND "winner"='philadelphia eagles' AND "date"='september 30';
```
## Task
Generate a SQL query to answer the following question:
`What date did the new york giants win after 2011?`

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

CREATE TABLE "2010s_eagles_5_3" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the new york giants win after 2011?`:
```sql
                SELECT "date" FROM "2010s_eagles_5_3" WHERE "winner"='new york giants' AND "year">2011;
```
## Task
Generate a SQL query to answer the following question:
`What is Official Name, when Census Ranking is 769 of 5,008?`

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

CREATE TABLE "albert_county_new_brunswick" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Official Name, when Census Ranking is 769 of 5,008?`:
```sql
                SELECT "official_name" FROM "albert_county_new_brunswick" WHERE "census_ranking"='769 of 5,008';
```
## Task
Generate a SQL query to answer the following question:
`What is Status, when Area km 2 is greater than 303.73?`

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

CREATE TABLE "albert_county_new_brunswick" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Status, when Area km 2 is greater than 303.73?`:
```sql
                SELECT "status" FROM "albert_county_new_brunswick" WHERE "area_km_2">303.73;
```
## Task
Generate a SQL query to answer the following question:
`What is Area km 2, when Population is greater than 1,395?`

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

CREATE TABLE "albert_county_new_brunswick" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Area km 2, when Population is greater than 1,395?`:
```sql
                SELECT MIN("area_km_2") FROM "albert_county_new_brunswick" WHERE "population">'1,395';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player from Zimbabwe?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place of the Player from Zimbabwe?`:
```sql
                SELECT "place" FROM "third_round" WHERE "country"='zimbabwe';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player with a Score of 73-68-71=212?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place of the Player with a Score of 73-68-71=212?`:
```sql
                SELECT "place" FROM "third_round" WHERE "score"='73-68-71=212';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player with a +3 To par?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place of the Player with a +3 To par?`:
```sql
                SELECT "place" FROM "third_round" WHERE "to_par"='+3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of Stewart Cink with a To par of +4?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of Stewart Cink with a To par of +4?`:
```sql
                SELECT "score" FROM "third_round" WHERE "to_par"='+4' AND "player"='stewart cink';
```
## Task
Generate a SQL query to answer the following question:
`What T10 Place Player has a Score of 74-73-68=215?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What T10 Place Player has a Score of 74-73-68=215?`:
```sql
                SELECT "player" FROM "third_round" WHERE "place"='t10' AND "score"='74-73-68=215';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum pick when WR was the position and Michigan the college, and the overall greater than 255?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum pick when WR was the position and Michigan the college, and the overall greater than 255?`:
```sql
                SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "position"='wr' AND "college"='michigan' AND "overall">255;
```
## Task
Generate a SQL query to answer the following question:
`What is the total round when DB was the position, and the pick less than 21, and Jeff Welch as the name?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total round when DB was the position, and the pick less than 21, and Jeff Welch as the name?`:
```sql
                SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "position"='db' AND "name"='jeff welch' AND "pick"<21;
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Year(s) Won is 1978 , 1985?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when Year(s) Won is 1978 , 1985?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "year_s_won"='1978 , 1985';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE AVERAGE PICK FOR PURDUE, WITH A ROUND SMALLER THAN 5?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE AVERAGE PICK FOR PURDUE, WITH A ROUND SMALLER THAN 5?`:
```sql
                SELECT AVG("pick") FROM "washington_redskins_draft_history" WHERE "college"='purdue' AND "round"<5;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE HIGHEST PICK WITH A TE POSITION, AND ROUND SMALLER THAN 2?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE HIGHEST PICK WITH A TE POSITION, AND ROUND SMALLER THAN 2?`:
```sql
                SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "position"='te' AND "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER?`:
```sql
                SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "name"='mark fischer';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SUM OF PICK FOR DAVID TERRELL, WITH A ROUND SMALLER THAN 7?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE SUM OF PICK FOR DAVID TERRELL, WITH A ROUND SMALLER THAN 7?`:
```sql
                SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "name"='david terrell' AND "round"<7;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE POSITION WITH A ROUND LARGER THAN 6, AND OVERALL OF 191?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE POSITION WITH A ROUND LARGER THAN 6, AND OVERALL OF 191?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "round">6 AND "overall"=191;
```
## Task
Generate a SQL query to answer the following question:
`Who is the player with a score of 68-71=139?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player with a score of 68-71=139?`:
```sql
                SELECT "player" FROM "second_round" WHERE "score"='68-71=139';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of player jerry pate, who has a 70-69=139 score?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par of player jerry pate, who has a 70-69=139 score?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "score"='70-69=139' AND "player"='jerry pate';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of the player with a t9 place and a score of 72-67=139?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par of the player with a t9 place and a score of 72-67=139?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t9' AND "score"='72-67=139';
```
## Task
Generate a SQL query to answer the following question:
`What is the place of the player witha 69-69=138 score?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the place of the player witha 69-69=138 score?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='69-69=138';
```
## Task
Generate a SQL query to answer the following question:
`What team played the Jazz at game 68?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team played the Jazz at game 68?`:
```sql
                SELECT "team" FROM "game_log" WHERE "game"=68;
```
## Task
Generate a SQL query to answer the following question:
`What date did mehmet okur (24) have the most points?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did mehmet okur (24) have the most points?`:
```sql
                SELECT "date" FROM "game_log" WHERE "high_points"='mehmet okur (24)';
```
## Task
Generate a SQL query to answer the following question:
`What week had attendance of 64,146?`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What week had attendance of 64,146?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "attendance"='64,146';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance of week 12?`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance of week 12?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance from November 3, 1974?`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance from November 3, 1974?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "date"='november 3, 1974';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance of week 8?`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance of week 8?`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "week"=8;
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game on week 9 with attendance greater than 41,863?`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game on week 9 with attendance greater than 41,863?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance">'41,863' AND "week"=9;
```
## Task
Generate a SQL query to answer the following question:
`Who was the loser against the New York Giants in 2001?`

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

CREATE TABLE "2000s_eagles_13_10" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the loser against the New York Giants in 2001?`:
```sql
                SELECT "loser" FROM "2000s_eagles_13_10" WHERE "year"=2001 AND "winner"='new york giants';
```
## Task
Generate a SQL query to answer the following question:
`What was the location with the 24-21 result?`

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

CREATE TABLE "2000s_eagles_13_10" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the location with the 24-21 result?`:
```sql
                SELECT "location" FROM "2000s_eagles_13_10" WHERE "result"='24-21';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner with the 24-21 result?`

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

CREATE TABLE "2000s_eagles_13_10" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner with the 24-21 result?`:
```sql
                SELECT "winner" FROM "2000s_eagles_13_10" WHERE "result"='24-21';
```
## Task
Generate a SQL query to answer the following question:
`What is the average To Par, when Place is "T3", and when Player is "Ben Hogan"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average To Par, when Place is "T3", and when Player is "Ben Hogan"?`:
```sql
                SELECT AVG("to_par") FROM "second_round" WHERE "place"='t3' AND "player"='ben hogan';
```
## Task
Generate a SQL query to answer the following question:
`What is the average To Par, when Player is "Julius Boros"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average To Par, when Player is "Julius Boros"?`:
```sql
                SELECT AVG("to_par") FROM "second_round" WHERE "player"='julius boros';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest To Par, when Score is "72-73=145"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest To Par, when Score is "72-73=145"?`:
```sql
                SELECT MAX("to_par") FROM "second_round" WHERE "score"='72-73=145';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Place is "T1"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Place is "T1"?`:
```sql
                SELECT "score" FROM "second_round" WHERE "place"='t1';
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when To Par is "5", and when Score is "72-73=145"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Place, when To Par is "5", and when Score is "72-73=145"?`:
```sql
                SELECT "place" FROM "second_round" WHERE "to_par"=5 AND "score"='72-73=145';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest pick # after round 11?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest pick # after round 11?`:
```sql
                SELECT MAX("pick_num") FROM "nfl_draft" WHERE "round">11;
```
## Task
Generate a SQL query to answer the following question:
`Which college has a pick # 84 in round 3?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which college has a pick # 84 in round 3?`:
```sql
                SELECT "college" FROM "nfl_draft" WHERE "round"=3 AND "pick_num"=84;
```
## Task
Generate a SQL query to answer the following question:
`What was the pick # for round 11?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the pick # for round 11?`:
```sql
                SELECT "pick_num" FROM "nfl_draft" WHERE "round"=11;
```
## Task
Generate a SQL query to answer the following question:
`Which Pick has a Round larger than 8, a Name of kenny fells, and an Overall larger than 297?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pick has a Round larger than 8, a Name of kenny fells, and an Overall larger than 297?`:
```sql
                SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "round">8 AND "name"='kenny fells' AND "overall">297;
```
## Task
Generate a SQL query to answer the following question:
`Which Position has a Round larger than 7, and a Name of wayne asberry?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has a Round larger than 7, and a Name of wayne asberry?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "round">7 AND "name"='wayne asberry';
```
## Task
Generate a SQL query to answer the following question:
`Which Overall has a Name of markus koch?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Overall has a Name of markus koch?`:
```sql
                SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "name"='markus koch';
```
## Task
Generate a SQL query to answer the following question:
`Which Position has a Round smaller than 8, a Pick of 20, and an Overall smaller than 186?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has a Round smaller than 8, a Pick of 20, and an Overall smaller than 186?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "round"<8 AND "pick"=20 AND "overall"<186;
```
## Task
Generate a SQL query to answer the following question:
`What is the score when Fulham is the away team?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when Fulham is the away team?`:
```sql
                SELECT "score" FROM "third_round_proper" WHERE "away_team"='fulham';
```
## Task
Generate a SQL query to answer the following question:
`Which away team has a tie number of 14?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which away team has a tie number of 14?`:
```sql
                SELECT "away_team" FROM "third_round_proper" WHERE "tie_no"='14';
```
## Task
Generate a SQL query to answer the following question:
`What is the tie number in the game on 5 January 1986 where Exeter City is the away team?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tie number in the game on 5 January 1986 where Exeter City is the away team?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "date"='5 january 1986' AND "away_team"='exeter city';
```
## Task
Generate a SQL query to answer the following question:
`What is the total average for McCain% of 55.0% and Obama# higher than 3,487?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total average for McCain% of 55.0% and Obama# higher than 3,487?`:
```sql
                SELECT AVG("total") FROM "by_county" WHERE "mc_cainpct"='55.0%' AND "obamanum">'3,487';
```
## Task
Generate a SQL query to answer the following question:
`what is 2010 when 2009 is w and 2007 is qf?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is 2010 when 2009 is w and 2007 is qf?`:
```sql
                SELECT "2010" FROM "grand_slam_tournament_performance_timeli" WHERE "2009"='w' AND "2007"='qf';
```
## Task
Generate a SQL query to answer the following question:
`what is 2000 when 2012 is 4r?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is 2000 when 2012 is 4r?`:
```sql
                SELECT "2000" FROM "grand_slam_tournament_performance_timeli" WHERE "2012"='4r';
```
## Task
Generate a SQL query to answer the following question:
`what is 2000 when 2012 is w and 2011 is 4r?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is 2000 when 2012 is w and 2011 is 4r?`:
```sql
                SELECT "2000" FROM "grand_slam_tournament_performance_timeli" WHERE "2012"='w' AND "2011"='4r';
```