cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the total number of Losses, when Wins is "16", and when Against is less than 772?`

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

CREATE TABLE "2008_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Losses, when Wins is "16", and when Against is less than 772?`:
```sql
                SELECT COUNT("losses") FROM "2008_ladder_and_finals" WHERE "wins"=16 AND "against"<772;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4?`

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

CREATE TABLE "2008_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4?`:
```sql
                SELECT MIN("draws") FROM "2008_ladder_and_finals" WHERE "losses"=0 AND "byes">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177?`

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

CREATE TABLE "2008_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177?`:
```sql
                SELECT MAX("byes") FROM "2008_ladder_and_finals" WHERE "wins"<16 AND "benalla_dfl"='swanpool' AND "against"<2177;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0?`

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

CREATE TABLE "2008_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0?`:
```sql
                SELECT MAX("byes") FROM "2008_ladder_and_finals" WHERE "against"<1794 AND "losses"=6 AND "draws"<0;
```
## Task
Generate a SQL query to answer the following question:
`what is the teams for season 1950-51?`

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

CREATE TABLE "1_fc_nuremberg_versus_sp_vgg_f_rth" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the teams for season 1950-51?`:
```sql
                SELECT "teams" FROM "1_fc_nuremberg_versus_sp_vgg_f_rth" WHERE "season"='1950-51';
```
## Task
Generate a SQL query to answer the following question:
`What is the league for season 1955-56?`

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

CREATE TABLE "1_fc_nuremberg_versus_sp_vgg_f_rth" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the league for season 1955-56?`:
```sql
                SELECT "league" FROM "1_fc_nuremberg_versus_sp_vgg_f_rth" WHERE "season"='1955-56';
```
## Task
Generate a SQL query to answer the following question:
`What is the drafted year when the FCSL Team was Winter Park, in the 4th round?`

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

CREATE TABLE "florida_league_alumni_top_5_round_picks_" (
  "player" text,
  "fcsl_team" text,
  "years_played" text,
  "year_drafted" real,
  "round" text,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the drafted year when the FCSL Team was Winter Park, in the 4th round?`:
```sql
                SELECT MAX("year_drafted") FROM "florida_league_alumni_top_5_round_picks_" WHERE "fcsl_team"='winter park' AND "round"='4th';
```
## Task
Generate a SQL query to answer the following question:
`What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?`

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

CREATE TABLE "florida_league_alumni_top_5_round_picks_" (
  "player" text,
  "fcsl_team" text,
  "years_played" text,
  "year_drafted" real,
  "round" text,
  "mlb_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?`:
```sql
                SELECT "fcsl_team" FROM "florida_league_alumni_top_5_round_picks_" WHERE "mlb_team"='toronto blue jays' AND "round"='4th';
```
## Task
Generate a SQL query to answer the following question:
`What was John Fought's score?`

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

CREATE TABLE "final_leaderboard" (
  "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 was John Fought's score?`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "player"='john fought';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of the player from Argentina with a t8 place?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par of the player from Argentina with a t8 place?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "place"='t8' AND "country"='argentina';
```
## Task
Generate a SQL query to answer the following question:
`How much money does the player with a 68-67-69-71=275 score have?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money does the player with a 68-67-69-71=275 score have?`:
```sql
                SELECT "money" FROM "final_round" WHERE "score"='68-67-69-71=275';
```
## Task
Generate a SQL query to answer the following question:
`What is the country of t1 place player wayne grady?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the country of t1 place player wayne grady?`:
```sql
                SELECT "country" FROM "final_round" WHERE "place"='t1' AND "player"='wayne grady';
```
## Task
Generate a SQL query to answer the following question:
`How much money does the player with a 68-71-68-72=279 score have?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money does the player with a 68-71-68-72=279 score have?`:
```sql
                SELECT "money" FROM "final_round" WHERE "score"='68-71-68-72=279';
```
## Task
Generate a SQL query to answer the following question:
`How much money does the player with a 69-70-72-64=275 score have?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money does the player with a 69-70-72-64=275 score have?`:
```sql
                SELECT "money" FROM "final_round" WHERE "score"='69-70-72-64=275';
```
## Task
Generate a SQL query to answer the following question:
`What was the money when the place was t8 and the score was 74-72-75-71=292?`

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

CREATE TABLE "final_leaderboard" (
  "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 was the money when the place was t8 and the score was 74-72-75-71=292?`:
```sql
                SELECT "money" FROM "final_leaderboard" WHERE "place"='t8' AND "score"='74-72-75-71=292';
```
## Task
Generate a SQL query to answer the following question:
`What was the average money when the score was 74-72-75-71=292?`

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

CREATE TABLE "final_leaderboard" (
  "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 was the average money when the score was 74-72-75-71=292?`:
```sql
                SELECT AVG("money") FROM "final_leaderboard" WHERE "score"='74-72-75-71=292';
```
## Task
Generate a SQL query to answer the following question:
`What was Tim Simpson's place?`

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

CREATE TABLE "final_leaderboard" (
  "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 was Tim Simpson's place?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "player"='tim simpson';
```
## Task
Generate a SQL query to answer the following question:
`What country placed 3?`

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

CREATE TABLE "final_leaderboard" (
  "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 placed 3?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "place"='3';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Barrow Island Australia when Draugen north sea is 17 and Mutineer-Exeter Australia is smaller than 6?`

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

CREATE TABLE "typical_heavy_naphtha_feedstocks" (
  "crude_oil_name_rightarrow_location_rightarrow" text,
  "barrow_island_australia" real,
  "mutineer_exeter_australia" real,
  "cpc_blend_kazakhstan" real,
  "draugen_north_sea" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Barrow Island Australia when Draugen north sea is 17 and Mutineer-Exeter Australia is smaller than 6?`:
```sql
                SELECT AVG("barrow_island_australia") FROM "typical_heavy_naphtha_feedstocks" WHERE "draugen_north_sea"=17 AND "mutineer_exeter_australia"<6;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Barrow Island Australia when the Crude oil name \Rightarrow Location \Rightarrow of initial boiling point, °c, and a draugen north sea is larger than 150?`

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

CREATE TABLE "typical_heavy_naphtha_feedstocks" (
  "crude_oil_name_rightarrow_location_rightarrow" text,
  "barrow_island_australia" real,
  "mutineer_exeter_australia" real,
  "cpc_blend_kazakhstan" real,
  "draugen_north_sea" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Barrow Island Australia when the Crude oil name \Rightarrow Location \Rightarrow of initial boiling point, °c, and a draugen north sea is larger than 150?`:
```sql
                SELECT MIN("barrow_island_australia") FROM "typical_heavy_naphtha_feedstocks" WHERE "crude_oil_name_rightarrow_location_rightarrow"='initial boiling point, °c' AND "draugen_north_sea">150;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?`

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

CREATE TABLE "typical_heavy_naphtha_feedstocks" (
  "crude_oil_name_rightarrow_location_rightarrow" text,
  "barrow_island_australia" real,
  "mutineer_exeter_australia" real,
  "cpc_blend_kazakhstan" real,
  "draugen_north_sea" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?`:
```sql
                SELECT MAX("cpc_blend_kazakhstan") FROM "typical_heavy_naphtha_feedstocks" WHERE "barrow_island_australia"<12;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17?`

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

CREATE TABLE "typical_heavy_naphtha_feedstocks" (
  "crude_oil_name_rightarrow_location_rightarrow" text,
  "barrow_island_australia" real,
  "mutineer_exeter_australia" real,
  "cpc_blend_kazakhstan" real,
  "draugen_north_sea" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17?`:
```sql
                SELECT MIN("cpc_blend_kazakhstan") FROM "typical_heavy_naphtha_feedstocks" WHERE "draugen_north_sea"=17;
```
## Task
Generate a SQL query to answer the following question:
`What race did eugenio silvani win?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What race did eugenio silvani win?`:
```sql
                SELECT "name" FROM "other_grands_prix" WHERE "winning_driver"='eugenio silvani';
```
## Task
Generate a SQL query to answer the following question:
`Which race did Mercedes win?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which race did Mercedes win?`:
```sql
                SELECT "name" FROM "other_grands_prix" WHERE "winning_constructor"='mercedes';
```
## Task
Generate a SQL query to answer the following question:
`Which circuit did alfa romeo win?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which circuit did alfa romeo win?`:
```sql
                SELECT "circuit" FROM "other_grands_prix" WHERE "winning_constructor"='alfa romeo';
```
## Task
Generate a SQL query to answer the following question:
`What is the number range for the 56 quantity?`

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

CREATE TABLE "passenger_train_locomotives" (
  "class" text,
  "number_range" text,
  "quantity" text,
  "year_s_built" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number range for the 56 quantity?`:
```sql
                SELECT "number_range" FROM "passenger_train_locomotives" WHERE "quantity"='56';
```
## Task
Generate a SQL query to answer the following question:
`Which team in 1987 had a start of 28 and drove a chrysler?`

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

CREATE TABLE "daytona_500_results" (
  "year" real,
  "manufacturer" text,
  "start" text,
  "finish" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team in 1987 had a start of 28 and drove a chrysler?`:
```sql
                SELECT "team" FROM "daytona_500_results" WHERE "year"<1987 AND "manufacturer"='chrysler' AND "start"='28';
```
## Task
Generate a SQL query to answer the following question:
`What is Party, when District is "Tennessee 8"?`

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

CREATE TABLE "tennessee" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Party, when District is "Tennessee 8"?`:
```sql
                SELECT "party" FROM "tennessee" WHERE "district"='tennessee 8';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of First Elected, when Party is "Democratic", and when District is "Tennessee 5"?`

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

CREATE TABLE "tennessee" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of First Elected, when Party is "Democratic", and when District is "Tennessee 5"?`:
```sql
                SELECT COUNT("first_elected") FROM "tennessee" WHERE "party"='democratic' AND "district"='tennessee 5';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?`

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

CREATE TABLE "tennessee" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?`:
```sql
                SELECT MIN("first_elected") FROM "tennessee" WHERE "results"='re-elected' AND "incumbent"='lincoln davis';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?`

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

CREATE TABLE "tennessee" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "results" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?`:
```sql
                SELECT MAX("first_elected") FROM "tennessee" WHERE "results"='re-elected' AND "incumbent"='lincoln davis';
```
## Task
Generate a SQL query to answer the following question:
`Which 2004 has a 2006 of 4,67, and a 2005 larger than 7,77?`

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

CREATE TABLE "economics" (
  "commercial_balance" text,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2004 has a 2006 of 4,67, and a 2005 larger than 7,77?`:
```sql
                SELECT MIN("2004") FROM "economics" WHERE "2006"='4,67' AND "2005">'7,77';
```
## Task
Generate a SQL query to answer the following question:
`How much 2005 has a 2006 larger than 4,67, and a 2004 of -14,76?`

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

CREATE TABLE "economics" (
  "commercial_balance" text,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much 2005 has a 2006 larger than 4,67, and a 2004 of -14,76?`:
```sql
                SELECT COUNT("2005") FROM "economics" WHERE "2006">'4,67' AND "2004"='-14,76';
```
## Task
Generate a SQL query to answer the following question:
`Which 2004 has a 2005 larger than -80,04, and a 2003 of 36,60?`

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

CREATE TABLE "economics" (
  "commercial_balance" text,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2004 has a 2005 larger than -80,04, and a 2003 of 36,60?`:
```sql
                SELECT MAX("2004") FROM "economics" WHERE "2005">'-80,04' AND "2003"='36,60';
```
## Task
Generate a SQL query to answer the following question:
`Which 2005 has a 2003 of -13,25, and a 2004 smaller than -8,37?`

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

CREATE TABLE "economics" (
  "commercial_balance" text,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2005 has a 2003 of -13,25, and a 2004 smaller than -8,37?`:
```sql
                SELECT MIN("2005") FROM "economics" WHERE "2003"='-13,25' AND "2004"<'-8,37';
```
## Task
Generate a SQL query to answer the following question:
`What is the Status of the 44 Against?`

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

CREATE TABLE "2008" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Status of the 44 Against?`:
```sql
                SELECT "status" FROM "2008" WHERE "against"=44;
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the 42 Against?`

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

CREATE TABLE "2008" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the 42 Against?`:
```sql
                SELECT "date" FROM "2008" WHERE "against"=42;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number for Seve Ballesteros?`

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

CREATE TABLE "made_both_cuts" (
  "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 the total number for Seve Ballesteros?`:
```sql
                SELECT COUNT("total") FROM "made_both_cuts" WHERE "player"='seve ballesteros';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest to par for Bob Charles?`

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

CREATE TABLE "made_both_cuts" (
  "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 the lowest to par for Bob Charles?`:
```sql
                SELECT MIN("to_par") FROM "made_both_cuts" WHERE "player"='bob charles';
```
## Task
Generate a SQL query to answer the following question:
`Who is born on 1982-01-29?`

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

CREATE TABLE "serbia_and_montenegro" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is born on 1982-01-29?`:
```sql
                SELECT "name" FROM "serbia_and_montenegro" WHERE "date_of_birth"='1982-01-29';
```
## Task
Generate a SQL query to answer the following question:
`What is the position played by the man born on 1976-09-20?`

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

CREATE TABLE "serbia_and_montenegro" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position played by the man born on 1976-09-20?`:
```sql
                SELECT "pos" FROM "serbia_and_montenegro" WHERE "date_of_birth"='1976-09-20';
```
## Task
Generate a SQL query to answer the following question:
`What country was the golfer with a score of 72-72-72=216 representing?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What country was the golfer with a score of 72-72-72=216 representing?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='72-72-72=216';
```
## Task
Generate a SQL query to answer the following question:
`Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?`

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

CREATE TABLE "recent_divisional_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?`:
```sql
                SELECT "division_two" FROM "recent_divisional_champions" WHERE "premier_division"='leominster town';
```
## Task
Generate a SQL query to answer the following question:
`Which Season was the Division Three Hampton Park Rangers champions?`

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

CREATE TABLE "recent_divisional_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season was the Division Three Hampton Park Rangers champions?`:
```sql
                SELECT "season" FROM "recent_divisional_champions" WHERE "division_three"='hampton park rangers';
```
## Task
Generate a SQL query to answer the following question:
`Which Season was the Division Two Fownhope Reserves champions?`

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

CREATE TABLE "recent_divisional_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season was the Division Two Fownhope Reserves champions?`:
```sql
                SELECT "season" FROM "recent_divisional_champions" WHERE "division_two"='fownhope reserves';
```
## Task
Generate a SQL query to answer the following question:
`What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?`

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

CREATE TABLE "recent_divisional_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?`:
```sql
                SELECT "division_one" FROM "recent_divisional_champions" WHERE "division_two"='hereford lads club colts';
```
## Task
Generate a SQL query to answer the following question:
`Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions?`

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

CREATE TABLE "recent_divisional_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions?`:
```sql
                SELECT "season" FROM "recent_divisional_champions" WHERE "premier_division"='ewyas harold' AND "division_three"='stoke prior';
```
## Task
Generate a SQL query to answer the following question:
`What engine has an output of ps (kw; hp) @4700 rpm?`

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

CREATE TABLE "engines" (
  "name" text,
  "volume" text,
  "engine" text,
  "fuel" text,
  "output" text,
  "torque" text,
  "engine_id_code_s" text,
  "0_100km_h_s" real,
  "top_speed" text,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What engine has an output of ps (kw; hp) @4700 rpm?`:
```sql
                SELECT "engine" FROM "engines" WHERE "output"='ps (kw; hp) @4700 rpm';
```
## Task
Generate a SQL query to answer the following question:
`What is the output of the engine AEX/APQ that uses petrol?`

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

CREATE TABLE "engines" (
  "name" text,
  "volume" text,
  "engine" text,
  "fuel" text,
  "output" text,
  "torque" text,
  "engine_id_code_s" text,
  "0_100km_h_s" real,
  "top_speed" text,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the output of the engine AEX/APQ that uses petrol?`:
```sql
                SELECT "output" FROM "engines" WHERE "fuel"='petrol' AND "engine_id_code_s"='aex/apq';
```
## Task
Generate a SQL query to answer the following question:
`What is the 0–100km/h,s for the output of ps (kw; hp) @4000 rpm?`

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

CREATE TABLE "engines" (
  "name" text,
  "volume" text,
  "engine" text,
  "fuel" text,
  "output" text,
  "torque" text,
  "engine_id_code_s" text,
  "0_100km_h_s" real,
  "top_speed" text,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 0–100km/h,s for the output of ps (kw; hp) @4000 rpm?`:
```sql
                SELECT COUNT("0_100km_h_s") FROM "engines" WHERE "output"='ps (kw; hp) @4000 rpm';
```
## Task
Generate a SQL query to answer the following question:
`Who were the opposing teams on 08/02/1969?`

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

CREATE TABLE "1969" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the opposing teams on 08/02/1969?`:
```sql
                SELECT "opposing_teams" FROM "1969" WHERE "date"='08/02/1969';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number against on 12/04/1969?`

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

CREATE TABLE "1969" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number against on 12/04/1969?`:
```sql
                SELECT MAX("against") FROM "1969" WHERE "date"='12/04/1969';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue of the match with more than 8 against and ireland as the opposing team?`

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

CREATE TABLE "1969" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the venue of the match with more than 8 against and ireland as the opposing team?`:
```sql
                SELECT "venue" FROM "1969" WHERE "against">8 AND "opposing_teams"='ireland';
```
## Task
Generate a SQL query to answer the following question:
`which Place has a Player of mark brooks?`

### 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 `which Place has a Player of mark brooks?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='mark brooks';
```
## Task
Generate a SQL query to answer the following question:
`Which Place has a Player of justin leonard?`

### 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 `Which Place has a Player of justin leonard?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='justin leonard';
```
## Task
Generate a SQL query to answer the following question:
`Name the Place which has a Score of 67-71=138, united states?`

### 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 `Name the Place which has a Score of 67-71=138, united states?`:
```sql
                SELECT "place" FROM "second_round" WHERE "country"='united states' AND "score"='67-71=138';
```
## Task
Generate a SQL query to answer the following question:
`Name the Player which has a To par of –6?`

### 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 `Name the Player which has a To par of –6?`:
```sql
                SELECT "player" FROM "second_round" WHERE "to_par"='–6';
```
## Task
Generate a SQL query to answer the following question:
`What was their record on week 11?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was their record on week 11?`:
```sql
                SELECT "record" FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`Who did they play at Atlanta-Fulton County Stadium?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play at Atlanta-Fulton County Stadium?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "game_site"='atlanta-fulton county stadium';
```
## Task
Generate a SQL query to answer the following question:
`What was their record when they played at Riverfront Stadium?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was their record when they played at Riverfront Stadium?`:
```sql
                SELECT "record" FROM "schedule" WHERE "game_site"='riverfront stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is Another She's Label?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_traditional" text,
  "chinese_simplified" text,
  "release_date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Another She's Label?`:
```sql
                SELECT "label" FROM "studio_albums" WHERE "english_title"='another she';
```
## Task
Generate a SQL query to answer the following question:
`What is 你 朋友's Label?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_traditional" text,
  "chinese_simplified" text,
  "release_date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 你 朋友's Label?`:
```sql
                SELECT "label" FROM "studio_albums" WHERE "chinese_simplified"='你 朋友';
```
## Task
Generate a SQL query to answer the following question:
`What Label was Released on December 7, 2012?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_traditional" text,
  "chinese_simplified" text,
  "release_date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Label was Released on December 7, 2012?`:
```sql
                SELECT "label" FROM "studio_albums" WHERE "release_date"='december 7, 2012';
```
## Task
Generate a SQL query to answer the following question:
`What is 你 朋友's English title?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_traditional" text,
  "chinese_simplified" text,
  "release_date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 你 朋友's English title?`:
```sql
                SELECT "english_title" FROM "studio_albums" WHERE "chinese_simplified"='你 朋友';
```
## Task
Generate a SQL query to answer the following question:
`What is the Release date of the Album Your Friend?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_traditional" text,
  "chinese_simplified" text,
  "release_date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Release date of the Album Your Friend?`:
```sql
                SELECT "release_date" FROM "studio_albums" WHERE "english_title"='your friend';
```
## Task
Generate a SQL query to answer the following question:
`What was the runner-up when champion is 0, 4th place is 0 and rank is 6?`

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

CREATE TABLE "women" (
  "rank" real,
  "champion" text,
  "runner_up" text,
  "third_place" text,
  "fourth_place" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the runner-up when champion is 0, 4th place is 0 and rank is 6?`:
```sql
                SELECT "runner_up" FROM "women" WHERE "champion"='0' AND "fourth_place"='0' AND "rank"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the runner-up for rank of 7?`

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

CREATE TABLE "women" (
  "rank" real,
  "champion" text,
  "runner_up" text,
  "third_place" text,
  "fourth_place" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the runner-up for rank of 7?`:
```sql
                SELECT "runner_up" FROM "women" WHERE "rank"=7;
```
## Task
Generate a SQL query to answer the following question:
`What is the runner-up when the total is 5?`

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

CREATE TABLE "women" (
  "rank" real,
  "champion" text,
  "runner_up" text,
  "third_place" text,
  "fourth_place" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the runner-up when the total is 5?`:
```sql
                SELECT "runner_up" FROM "women" WHERE "total"=5;
```
## Task
Generate a SQL query to answer the following question:
`What was the score of team 2 Stade Lavallois (D1)?`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of team 2 Stade Lavallois (D1)?`:
```sql
                SELECT "score" FROM "round_of_16" WHERE "team_2"='stade lavallois (d1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the CC displacement for 1965?`

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

CREATE TABLE "racing_vehicles" (
  "model" text,
  "year" text,
  "type" text,
  "engine" text,
  "displacement_cc" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the CC displacement for 1965?`:
```sql
                SELECT "displacement_cc" FROM "racing_vehicles" WHERE "year"='1965';
```
## Task
Generate a SQL query to answer the following question:
`What year was the Grand Prix with an i8 engine and a cc displacement of 1500?`

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

CREATE TABLE "racing_vehicles" (
  "model" text,
  "year" text,
  "type" text,
  "engine" text,
  "displacement_cc" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the Grand Prix with an i8 engine and a cc displacement of 1500?`:
```sql
                SELECT "year" FROM "racing_vehicles" WHERE "type"='grand prix' AND "engine"='i8' AND "displacement_cc"='1500';
```
## Task
Generate a SQL query to answer the following question:
`What type of car has the model 6cm?`

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

CREATE TABLE "racing_vehicles" (
  "model" text,
  "year" text,
  "type" text,
  "engine" text,
  "displacement_cc" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of car has the model 6cm?`:
```sql
                SELECT "type" FROM "racing_vehicles" WHERE "model"='6cm';
```
## Task
Generate a SQL query to answer the following question:
`What cc displacement has an i6 engine in 1936?`

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

CREATE TABLE "racing_vehicles" (
  "model" text,
  "year" text,
  "type" text,
  "engine" text,
  "displacement_cc" text
);
### SQL
Given the database schema, here is the SQL query that answers `What cc displacement has an i6 engine in 1936?`:
```sql
                SELECT "displacement_cc" FROM "racing_vehicles" WHERE "engine"='i6' AND "year"='1936';
```
## Task
Generate a SQL query to answer the following question:
`What type of car has the v16 engine?`

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

CREATE TABLE "racing_vehicles" (
  "model" text,
  "year" text,
  "type" text,
  "engine" text,
  "displacement_cc" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of car has the v16 engine?`:
```sql
                SELECT "type" FROM "racing_vehicles" WHERE "engine"='v16';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of years won by Justin Leonard with a to par under 9?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" real,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of years won by Justin Leonard with a to par under 9?`:
```sql
                SELECT COUNT("year_s_won") FROM "missed_the_cut" WHERE "player"='justin leonard' AND "to_par"<9;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest total for Scotland with a year won of 1985?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" real,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest total for Scotland with a year won of 1985?`:
```sql
                SELECT MAX("total") FROM "missed_the_cut" WHERE "country"='scotland' AND "year_s_won"=1985;
```
## Task
Generate a SQL query to answer the following question:
`What is Date (Opening), when Opening Film is "Another Myanmar, Mae Sot"?`

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

CREATE TABLE "history" (
  "year" real,
  "date_opening" text,
  "date_closing" text,
  "opening_film" text,
  "number_of_screening" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date (Opening), when Opening Film is "Another Myanmar, Mae Sot"?`:
```sql
                SELECT "date_opening" FROM "history" WHERE "opening_film"='another myanmar, mae sot';
```
## Task
Generate a SQL query to answer the following question:
`What is Date (Closing), when Opening Film is "Deconstruction of Korean Housewife"?`

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

CREATE TABLE "history" (
  "year" real,
  "date_opening" text,
  "date_closing" text,
  "opening_film" text,
  "number_of_screening" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date (Closing), when Opening Film is "Deconstruction of Korean Housewife"?`:
```sql
                SELECT "date_closing" FROM "history" WHERE "opening_film"='deconstruction of korean housewife';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Year(s), when Date (Opening) is "September 21"?`

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

CREATE TABLE "history" (
  "year" real,
  "date_opening" text,
  "date_closing" text,
  "opening_film" text,
  "number_of_screening" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Year(s), when Date (Opening) is "September 21"?`:
```sql
                SELECT COUNT("year") FROM "history" WHERE "date_opening"='september 21';
```