cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the tournament with greg rusedski as the opponent?`

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

CREATE TABLE "singles_21_10_titles_11_runner_ups" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tournament with greg rusedski as the opponent?`:
```sql
                SELECT "tournament" FROM "singles_21_10_titles_11_runner_ups" WHERE "opponent"='greg rusedski';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface on 26 May 1996?`

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

CREATE TABLE "singles_21_10_titles_11_runner_ups" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface on 26 May 1996?`:
```sql
                SELECT "surface" FROM "singles_21_10_titles_11_runner_ups" WHERE "date"='26 may 1996';
```
## Task
Generate a SQL query to answer the following question:
`What club did united states player ty harden play for?`

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

CREATE TABLE "top_goalscorers_by_season" (
  "season" real,
  "player" text,
  "club" text,
  "nationality" text,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What club did united states player ty harden play for?`:
```sql
                SELECT "club" FROM "top_goalscorers_by_season" WHERE "nationality"='united states' AND "player"='ty harden';
```
## Task
Generate a SQL query to answer the following question:
`Which seaosn had a player of rohan ricketts?`

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

CREATE TABLE "top_goalscorers_by_season" (
  "season" real,
  "player" text,
  "club" text,
  "nationality" text,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which seaosn had a player of rohan ricketts?`:
```sql
                SELECT COUNT("season") FROM "top_goalscorers_by_season" WHERE "player"='rohan ricketts';
```
## Task
Generate a SQL query to answer the following question:
`What is Tries Against, when Points Against is 213?`

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

CREATE TABLE "pool_2" (
  "team" text,
  "tries_for" text,
  "tries_against" text,
  "try_diff" text,
  "points_for" text,
  "points_against" text,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tries Against, when Points Against is 213?`:
```sql
                SELECT "tries_against" FROM "pool_2" WHERE "points_against"='213';
```
## Task
Generate a SQL query to answer the following question:
`What is Tries Against, when Tries For is 21?`

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

CREATE TABLE "pool_2" (
  "team" text,
  "tries_for" text,
  "tries_against" text,
  "try_diff" text,
  "points_for" text,
  "points_against" text,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tries Against, when Tries For is 21?`:
```sql
                SELECT "tries_against" FROM "pool_2" WHERE "tries_for"='21';
```
## Task
Generate a SQL query to answer the following question:
`What is Try Diff, when Points Diff is +71?`

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

CREATE TABLE "pool_2" (
  "team" text,
  "tries_for" text,
  "tries_against" text,
  "try_diff" text,
  "points_for" text,
  "points_against" text,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Try Diff, when Points Diff is +71?`:
```sql
                SELECT "try_diff" FROM "pool_2" WHERE "points_diff"='+71';
```
## Task
Generate a SQL query to answer the following question:
`What is Try Diff, when Points Against is 213?`

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

CREATE TABLE "pool_2" (
  "team" text,
  "tries_for" text,
  "tries_against" text,
  "try_diff" text,
  "points_for" text,
  "points_against" text,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Try Diff, when Points Against is 213?`:
```sql
                SELECT "try_diff" FROM "pool_2" WHERE "points_against"='213';
```
## Task
Generate a SQL query to answer the following question:
`What is Tries Against, when Try Diff is +15?`

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

CREATE TABLE "pool_2" (
  "team" text,
  "tries_for" text,
  "tries_against" text,
  "try_diff" text,
  "points_for" text,
  "points_against" text,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tries Against, when Try Diff is +15?`:
```sql
                SELECT "tries_against" FROM "pool_2" WHERE "try_diff"='+15';
```
## Task
Generate a SQL query to answer the following question:
`Which archbishop vacated the throne on May 17, 1907?`

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

CREATE TABLE "archbishops" (
  "archbishop" text,
  "born" text,
  "ordained_priest" text,
  "ordained_bishop" text,
  "appointed_archbishop" text,
  "vacated_throne" text,
  "died" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which archbishop vacated the throne on May 17, 1907?`:
```sql
                SELECT "archbishop" FROM "archbishops" WHERE "vacated_throne"='may 17, 1907';
```
## Task
Generate a SQL query to answer the following question:
`When did the archbishop that was ordained a bishop on July 25, 1902 die?`

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

CREATE TABLE "archbishops" (
  "archbishop" text,
  "born" text,
  "ordained_priest" text,
  "ordained_bishop" text,
  "appointed_archbishop" text,
  "vacated_throne" text,
  "died" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the archbishop that was ordained a bishop on July 25, 1902 die?`:
```sql
                SELECT "died" FROM "archbishops" WHERE "ordained_bishop"='july 25, 1902';
```
## Task
Generate a SQL query to answer the following question:
`When was the archbishop that was born on February 10, 1858 ordained a bishop?`

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

CREATE TABLE "archbishops" (
  "archbishop" text,
  "born" text,
  "ordained_priest" text,
  "ordained_bishop" text,
  "appointed_archbishop" text,
  "vacated_throne" text,
  "died" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the archbishop that was born on February 10, 1858 ordained a bishop?`:
```sql
                SELECT "ordained_bishop" FROM "archbishops" WHERE "born"='february 10, 1858';
```
## Task
Generate a SQL query to answer the following question:
`When did Archbishop Albert Daeger vacate the throne?`

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

CREATE TABLE "archbishops" (
  "archbishop" text,
  "born" text,
  "ordained_priest" text,
  "ordained_bishop" text,
  "appointed_archbishop" text,
  "vacated_throne" text,
  "died" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did Archbishop Albert Daeger vacate the throne?`:
```sql
                SELECT "vacated_throne" FROM "archbishops" WHERE "archbishop"='albert daeger';
```
## Task
Generate a SQL query to answer the following question:
`When was the archbishop that was ordained as a bishop on November 30, 1925 born?`

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

CREATE TABLE "archbishops" (
  "archbishop" text,
  "born" text,
  "ordained_priest" text,
  "ordained_bishop" text,
  "appointed_archbishop" text,
  "vacated_throne" text,
  "died" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the archbishop that was ordained as a bishop on November 30, 1925 born?`:
```sql
                SELECT "born" FROM "archbishops" WHERE "ordained_bishop"='november 30, 1925';
```
## Task
Generate a SQL query to answer the following question:
`When was the archbishop that was born on February 22, 1825 ordained as a bishop?`

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

CREATE TABLE "archbishops" (
  "archbishop" text,
  "born" text,
  "ordained_priest" text,
  "ordained_bishop" text,
  "appointed_archbishop" text,
  "vacated_throne" text,
  "died" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the archbishop that was born on February 22, 1825 ordained as a bishop?`:
```sql
                SELECT "ordained_bishop" FROM "archbishops" WHERE "born"='february 22, 1825';
```
## Task
Generate a SQL query to answer the following question:
`Which event was against Pat Barry?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event was against Pat Barry?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='pat barry';
```
## Task
Generate a SQL query to answer the following question:
`What event is 200m larger than 922?`

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

CREATE TABLE "athletics" (
  "athlete" text,
  "event" text,
  "100_h" real,
  "200_m" real,
  "800_m" text,
  "final" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What event is 200m larger than 922?`:
```sql
                SELECT "event" FROM "athletics" WHERE "200_m">922;
```
## Task
Generate a SQL query to answer the following question:
`What Player has a Score of 71-71=142?`

### 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 Player has a Score of 71-71=142?`:
```sql
                SELECT "player" FROM "second_round" WHERE "score"='71-71=142';
```
## Task
Generate a SQL query to answer the following question:
`What is the To par of T9 Place Player Ernie Els?`

### 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 T9 Place Player Ernie Els?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t9' AND "player"='ernie els';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the Player from South Africa?`

### 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 Score of the Player from South Africa?`:
```sql
                SELECT "score" FROM "second_round" WHERE "country"='south africa';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player 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 `What is the Place of the Player with a Score of 70-71=141?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='70-71=141';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Set 1 of 25–20?`

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

CREATE TABLE "pool_f" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Set 1 of 25–20?`:
```sql
                SELECT "date" FROM "pool_f" WHERE "set_1"='25–20';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Total of 80–72?`

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

CREATE TABLE "pool_f" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Total of 80–72?`:
```sql
                SELECT "score" FROM "pool_f" WHERE "total"='80–72';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Set 1 of 21–25?`

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

CREATE TABLE "pool_f" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Set 1 of 21–25?`:
```sql
                SELECT "date" FROM "pool_f" WHERE "set_1"='21–25';
```
## Task
Generate a SQL query to answer the following question:
`Which Set 2 has a Set 3 of 25–20, and a Time of 13:45?`

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

CREATE TABLE "pool_f" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Set 2 has a Set 3 of 25–20, and a Time of 13:45?`:
```sql
                SELECT "set_2" FROM "pool_f" WHERE "set_3"='25–20' AND "time"='13:45';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Set 1 of 25–16?`

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

CREATE TABLE "pool_f" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Set 1 of 25–16?`:
```sql
                SELECT "score" FROM "pool_f" WHERE "set_1"='25–16';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25?`

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

CREATE TABLE "pool_f" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25?`:
```sql
                SELECT "date" FROM "pool_f" WHERE "score"='2–3' AND "time"='20:30' AND "set_3"='16–25';
```
## Task
Generate a SQL query to answer the following question:
`Which Back has a Supplier of Kooga and a Year of 2006-2008?`

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

CREATE TABLE "kit" (
  "year" text,
  "supplier" text,
  "chest" text,
  "sleeves" text,
  "back" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Back has a Supplier of Kooga and a Year of 2006-2008?`:
```sql
                SELECT "back" FROM "kit" WHERE "supplier"='kooga' AND "year"='2006-2008';
```
## Task
Generate a SQL query to answer the following question:
`Which Supplier has a Year of 2006-2008?`

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

CREATE TABLE "kit" (
  "year" text,
  "supplier" text,
  "chest" text,
  "sleeves" text,
  "back" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Supplier has a Year of 2006-2008?`:
```sql
                SELECT "supplier" FROM "kit" WHERE "year"='2006-2008';
```
## Task
Generate a SQL query to answer the following question:
`Which Sleeves have a Back of Unknown?`

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

CREATE TABLE "kit" (
  "year" text,
  "supplier" text,
  "chest" text,
  "sleeves" text,
  "back" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Sleeves have a Back of Unknown?`:
```sql
                SELECT "sleeves" FROM "kit" WHERE "back"='unknown';
```
## Task
Generate a SQL query to answer the following question:
`What is the Year for Supplier Kooga?`

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

CREATE TABLE "kit" (
  "year" text,
  "supplier" text,
  "chest" text,
  "sleeves" text,
  "back" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Year for Supplier Kooga?`:
```sql
                SELECT "year" FROM "kit" WHERE "supplier"='kooga';
```
## Task
Generate a SQL query to answer the following question:
`Which Sleeves have a Year of 2006-2008?`

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

CREATE TABLE "kit" (
  "year" text,
  "supplier" text,
  "chest" text,
  "sleeves" text,
  "back" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Sleeves have a Year of 2006-2008?`:
```sql
                SELECT "sleeves" FROM "kit" WHERE "year"='2006-2008';
```
## Task
Generate a SQL query to answer the following question:
`Which Chest is Supplied by Gilbert?`

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

CREATE TABLE "kit" (
  "year" text,
  "supplier" text,
  "chest" text,
  "sleeves" text,
  "back" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Chest is Supplied by Gilbert?`:
```sql
                SELECT "chest" FROM "kit" WHERE "supplier"='gilbert';
```
## Task
Generate a SQL query to answer the following question:
`Which website was started in 2008?`

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

CREATE TABLE "canada" (
  "year_started" real,
  "number_of_cars" real,
  "current_car" text,
  "car_num" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which website was started in 2008?`:
```sql
                SELECT "website" FROM "canada" WHERE "year_started"=2008;
```
## Task
Generate a SQL query to answer the following question:
`Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1?`

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

CREATE TABLE "canada" (
  "year_started" real,
  "number_of_cars" real,
  "current_car" text,
  "car_num" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1?`:
```sql
                SELECT MAX("year_started") FROM "canada" WHERE "current_car"='arctic sun' AND "number_of_cars"<1;
```
## Task
Generate a SQL query to answer the following question:
`Which Current car has a Number of cars of 1, and a Year started of 1999?`

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

CREATE TABLE "canada" (
  "year_started" real,
  "number_of_cars" real,
  "current_car" text,
  "car_num" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Current car has a Number of cars of 1, and a Year started of 1999?`:
```sql
                SELECT "current_car" FROM "canada" WHERE "number_of_cars"=1 AND "year_started"=1999;
```
## Task
Generate a SQL query to answer the following question:
`Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100?`

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

CREATE TABLE "canada" (
  "year_started" real,
  "number_of_cars" real,
  "current_car" text,
  "car_num" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100?`:
```sql
                SELECT MIN("year_started") FROM "canada" WHERE "number_of_cars">7 AND "car_num"='100';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"?`:
```sql
                SELECT COUNT("round") FROM "draft_picks" WHERE "position"='d' AND "player"='andrew campbell';
```
## Task
Generate a SQL query to answer the following question:
`What is Nationality, when College/Junior/Club Team (League) is "Guelph Storm ( OHL )"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Nationality, when College/Junior/Club Team (League) is "Guelph Storm ( OHL )"?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team_league"='guelph storm ( ohl )';
```
## Task
Generate a SQL query to answer the following question:
`What is Nationality, when Player is "Andrew Campbell"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Nationality, when Player is "Andrew Campbell"?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "player"='andrew campbell';
```
## Task
Generate a SQL query to answer the following question:
`Which Power has a Name of 9 nc?`

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

CREATE TABLE "salmson_post_world_war_one_engines" (
  "name" text,
  "cyl" text,
  "bore" text,
  "capacity" text,
  "power" text,
  "weight" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Power has a Name of 9 nc?`:
```sql
                SELECT "power" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 nc';
```
## Task
Generate a SQL query to answer the following question:
`Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?`

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

CREATE TABLE "salmson_post_world_war_one_engines" (
  "name" text,
  "cyl" text,
  "bore" text,
  "capacity" text,
  "power" text,
  "weight" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?`:
```sql
                SELECT "weight" FROM "salmson_post_world_war_one_engines" WHERE "power"='kw (hp) at 1,800rpm' AND "name"='9 nc';
```
## Task
Generate a SQL query to answer the following question:
`Which Bore has a Name of 9 adr?`

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

CREATE TABLE "salmson_post_world_war_one_engines" (
  "name" text,
  "cyl" text,
  "bore" text,
  "capacity" text,
  "power" text,
  "weight" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Bore has a Name of 9 adr?`:
```sql
                SELECT "bore" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 adr';
```
## Task
Generate a SQL query to answer the following question:
`Which Power has a Name of 9 ad?`

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

CREATE TABLE "salmson_post_world_war_one_engines" (
  "name" text,
  "cyl" text,
  "bore" text,
  "capacity" text,
  "power" text,
  "weight" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Power has a Name of 9 ad?`:
```sql
                SELECT "power" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 ad';
```
## Task
Generate a SQL query to answer the following question:
`When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found?`

### 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 `When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found?`:
```sql
                SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "name"='chris horton' AND "pick"<42;
```
## Task
Generate a SQL query to answer the following question:
`When Kansas State had a pick of over 35, what's the highest Overall pick found?`

### 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 `When Kansas State had a pick of over 35, what's the highest Overall pick found?`:
```sql
                SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "college"='kansas state' AND "pick">35;
```
## Task
Generate a SQL query to answer the following question:
`Total points with 114 played and average of 0.982?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Total points with 114 played and average of 0.982?`:
```sql
                SELECT SUM("points") FROM "relegation" WHERE "played"=114 AND "average"=0.982;
```
## Task
Generate a SQL query to answer the following question:
`Team with average of 1.035?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Team with average of 1.035?`:
```sql
                SELECT "team" FROM "relegation" WHERE "average"=1.035;
```
## Task
Generate a SQL query to answer the following question:
`Total average with less than 105 points, 1993-1994 less than 30, and the team of gimnasia y tiro?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Total average with less than 105 points, 1993-1994 less than 30, and the team of gimnasia y tiro?`:
```sql
                SELECT SUM("average") FROM "relegation" WHERE "points"<105 AND "team"='gimnasia y tiro' AND "1993_94"<30;
```
## Task
Generate a SQL query to answer the following question:
`What was Chris Hanburger's position?`

### 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 was Chris Hanburger's position?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "name"='chris hanburger';
```
## Task
Generate a SQL query to answer the following question:
`What was John Strohmeyer's average pick before round 12?`

### 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 was John Strohmeyer's average pick before round 12?`:
```sql
                SELECT AVG("pick") FROM "washington_redskins_draft_history" WHERE "name"='john strohmeyer' AND "round"<12;
```
## Task
Generate a SQL query to answer the following question:
`what is the average points when position is more than 5 and played is less than 10?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the average points when position is more than 5 and played is less than 10?`:
```sql
                SELECT AVG("points") FROM "relegation_round" WHERE "position">5 AND "played"<10;
```
## Task
Generate a SQL query to answer the following question:
`what is the average points when drawn is 0, lost is 5 and played is more than 10?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the average points when drawn is 0, lost is 5 and played is more than 10?`:
```sql
                SELECT AVG("points") FROM "relegation_round" WHERE "drawn"=0 AND "lost"=5 AND "played">10;
```
## Task
Generate a SQL query to answer the following question:
`what is the average number lost when points is 14 and position is more than 1?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the average number lost when points is 14 and position is more than 1?`:
```sql
                SELECT AVG("lost") FROM "relegation_round" WHERE "points"=14 AND "position">1;
```
## Task
Generate a SQL query to answer the following question:
`what is the average points when played is 9, name is ev pegnitz and position is larger than 1?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the average points when played is 9, name is ev pegnitz and position is larger than 1?`:
```sql
                SELECT AVG("points") FROM "relegation_round" WHERE "played"=9 AND "name"='ev pegnitz' AND "position">1;
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?`

### 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 Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='72-72=144' AND "country"='united states' AND "player"='scott mccarron';
```
## Task
Generate a SQL query to answer the following question:
`What is Country, when Score is 70-73=143?`

### 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 Country, when Score is 70-73=143?`:
```sql
                SELECT "country" FROM "second_round" WHERE "score"='70-73=143';
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Place is 2?`

### 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 Player, when Place is 2?`:
```sql
                SELECT "player" FROM "second_round" WHERE "place"='2';
```
## Task
Generate a SQL query to answer the following question:
`What is Country, when Player is Billy Mayfair?`

### 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 Country, when Player is Billy Mayfair?`:
```sql
                SELECT "country" FROM "second_round" WHERE "player"='billy mayfair';
```
## Task
Generate a SQL query to answer the following question:
`What is To Par, when Player is K. J. Choi?`

### 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 To Par, when Player is K. J. Choi?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "player"='k. j. choi';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Player is Billy Mayfair?`

### 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 Score, when Player is Billy Mayfair?`:
```sql
                SELECT "score" FROM "second_round" WHERE "player"='billy mayfair';
```
## Task
Generate a SQL query to answer the following question:
`What place did Don Whitt finish?`

### 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 place did Don Whitt finish?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='don whitt';
```
## Task
Generate a SQL query to answer the following question:
`What did Phil Rodgers 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 did Phil Rodgers score?`:
```sql
                SELECT "score" FROM "second_round" WHERE "player"='phil rodgers';
```
## Task
Generate a SQL query to answer the following question:
`What place was Gary Player after two rounds?`

### 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 place was Gary Player after two rounds?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='gary player';
```
## Task
Generate a SQL query to answer the following question:
`What is 1993, when Tournament is "Cincinnati"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1993, when Tournament is "Cincinnati"?`:
```sql
                SELECT "1993" FROM "singles_performance_timeline" WHERE "tournament"='cincinnati';
```
## Task
Generate a SQL query to answer the following question:
`What is 1994, when 1996 is "Grand Slams"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1994, when 1996 is "Grand Slams"?`:
```sql
                SELECT "1994" FROM "singles_performance_timeline" WHERE "1996"='grand slams';
```
## Task
Generate a SQL query to answer the following question:
`What is Tournament, when 1996 is "1R", and when 1990 is "SF"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tournament, when 1996 is "1R", and when 1990 is "SF"?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "1996"='1r' AND "1990"='sf';
```
## Task
Generate a SQL query to answer the following question:
`What is 1993, when 1992 is "SF", and when Tournament is "Paris"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1993, when 1992 is "SF", and when Tournament is "Paris"?`:
```sql
                SELECT "1993" FROM "singles_performance_timeline" WHERE "1992"='sf' AND "tournament"='paris';
```
## Task
Generate a SQL query to answer the following question:
`What country has a 70-73-70=213 score?`

### 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 country has a 70-73-70=213 score?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='70-73-70=213';
```
## Task
Generate a SQL query to answer the following question:
`What place is player johnny miller, who has a to par of +2?`

### 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 place is player johnny miller, who has a to par of +2?`:
```sql
                SELECT "place" FROM "third_round" WHERE "to_par"='+2' AND "player"='johnny miller';
```
## Task
Generate a SQL query to answer the following question:
`What country is player mike sullivan from?`

### 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 country is player mike sullivan from?`:
```sql
                SELECT "country" FROM "third_round" WHERE "player"='mike sullivan';
```
## Task
Generate a SQL query to answer the following question:
`What is the place with a 71-72-70=213 score?`

### 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 with a 71-72-70=213 score?`:
```sql
                SELECT "place" FROM "third_round" WHERE "score"='71-72-70=213';
```
## Task
Generate a SQL query to answer the following question:
`What was the record after the game on May 1, 2004?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record after the game on May 1, 2004?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "date"='may 1, 2004';
```
## Task
Generate a SQL query to answer the following question:
`What was the record after the game with the Manchester Wolves on July 30, 2004?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record after the game with the Manchester Wolves on July 30, 2004?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "opponent"='manchester wolves' AND "date"='july 30, 2004';
```
## Task
Generate a SQL query to answer the following question:
`Which game site hosted a match on April 10, 2004?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game site hosted a match on April 10, 2004?`:
```sql
                SELECT "game_site" FROM "regular_season" WHERE "date"='april 10, 2004';
```
## Task
Generate a SQL query to answer the following question:
`Does Green Bay have a golf team?`

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

CREATE TABLE "women_s" (
  "school" text,
  "bask" text,
  "golf" text,
  "soccer" text,
  "soft" text,
  "swimming" text,
  "tennis" text,
  "indoor_track" text,
  "volleyball" text
);
### SQL
Given the database schema, here is the SQL query that answers `Does Green Bay have a golf team?`:
```sql
                SELECT "golf" FROM "women_s" WHERE "school"='green bay';
```
## Task
Generate a SQL query to answer the following question:
`Does Detroit have a soccer team?`

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

CREATE TABLE "women_s" (
  "school" text,
  "bask" text,
  "golf" text,
  "soccer" text,
  "soft" text,
  "swimming" text,
  "tennis" text,
  "indoor_track" text,
  "volleyball" text
);
### SQL
Given the database schema, here is the SQL query that answers `Does Detroit have a soccer team?`:
```sql
                SELECT "soccer" FROM "women_s" WHERE "school"='detroit';
```
## Task
Generate a SQL query to answer the following question:
`What is Poll Source, when Democrat: Carl Levin is 61%?`

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

CREATE TABLE "opinion_polling_for_the_united_states_se" (
  "poll_source" text,
  "dates_administered" text,
  "democrat_carl_levin" text,
  "republican_jack_hoogendyk" text,
  "lead_margin" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Poll Source, when Democrat: Carl Levin is 61%?`:
```sql
                SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_carl_levin"='61%';
```
## Task
Generate a SQL query to answer the following question:
`What is Democrat: Carl Levin, when Lead Margin is 22?`

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

CREATE TABLE "opinion_polling_for_the_united_states_se" (
  "poll_source" text,
  "dates_administered" text,
  "democrat_carl_levin" text,
  "republican_jack_hoogendyk" text,
  "lead_margin" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Democrat: Carl Levin, when Lead Margin is 22?`:
```sql
                SELECT "democrat_carl_levin" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"=22;
```
## Task
Generate a SQL query to answer the following question:
`What is Dates Administered, when Poll Source is Rasmussen Reports, when Lead Margin is greater than 18, when Republican: Jack Hoogendyk is 36%, and when Democrat: Carl Levin is 59%?`

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

CREATE TABLE "opinion_polling_for_the_united_states_se" (
  "poll_source" text,
  "dates_administered" text,
  "democrat_carl_levin" text,
  "republican_jack_hoogendyk" text,
  "lead_margin" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Dates Administered, when Poll Source is Rasmussen Reports, when Lead Margin is greater than 18, when Republican: Jack Hoogendyk is 36%, and when Democrat: Carl Levin is 59%?`:
```sql
                SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='rasmussen reports' AND "lead_margin">18 AND "republican_jack_hoogendyk"='36%' AND "democrat_carl_levin"='59%';
```
## Task
Generate a SQL query to answer the following question:
`What is Dates Administered, when Democrat: Carl Levin is 61%?`

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

CREATE TABLE "opinion_polling_for_the_united_states_se" (
  "poll_source" text,
  "dates_administered" text,
  "democrat_carl_levin" text,
  "republican_jack_hoogendyk" text,
  "lead_margin" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Dates Administered, when Democrat: Carl Levin is 61%?`:
```sql
                SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_carl_levin"='61%';
```