cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the score of the copa libertadores group 4 competition round on 14 March 1972 with universitario as the away team?`

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

CREATE TABLE "international" (
  "season" real,
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "competition_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the copa libertadores group 4 competition round on 14 March 1972 with universitario as the away team?`:
```sql
                SELECT "score" FROM "international" WHERE "competition_round"='copa libertadores group 4' AND "away_team"='universitario' AND "date"='14 march 1972';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue of season 1983, which had alianza lima as the home team?`

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

CREATE TABLE "international" (
  "season" real,
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "competition_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the venue of season 1983, which had alianza lima as the home team?`:
```sql
                SELECT "venue" FROM "international" WHERE "home_team"='alianza lima' AND "season"=1983;
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the match on 3 March 1988 at the estadio nacional?`

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

CREATE TABLE "international" (
  "season" real,
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "competition_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the match on 3 March 1988 at the estadio nacional?`:
```sql
                SELECT "score" FROM "international" WHERE "venue"='estadio nacional' AND "date"='3 march 1988';
```
## Task
Generate a SQL query to answer the following question:
`What were the Points on December 13?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the Points on December 13?`:
```sql
                SELECT MAX("points") FROM "game_log" WHERE "date"='december 13';
```
## Task
Generate a SQL query to answer the following question:
`What is the year established of North Jersey Phoenix?`

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

CREATE TABLE "current_women_s_teams" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year established of North Jersey Phoenix?`:
```sql
                SELECT "established" FROM "current_women_s_teams" WHERE "institution"='north jersey phoenix';
```
## Task
Generate a SQL query to answer the following question:
`What is the nickname of the school established in 2009?`

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

CREATE TABLE "current_women_s_teams" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nickname of the school established in 2009?`:
```sql
                SELECT "nickname" FROM "current_women_s_teams" WHERE "established"=2009;
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the school established in 2013?`

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

CREATE TABLE "current_women_s_teams" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the school established in 2013?`:
```sql
                SELECT "location" FROM "current_women_s_teams" WHERE "established"=2013;
```
## Task
Generate a SQL query to answer the following question:
`What is the nickname of Columbia University?`

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

CREATE TABLE "current_women_s_teams" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" text,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nickname of Columbia University?`:
```sql
                SELECT "nickname" FROM "current_women_s_teams" WHERE "institution"='columbia university';
```
## Task
Generate a SQL query to answer the following question:
`The match against Valentijn Overeem had what method?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `The match against Valentijn Overeem had what method?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='valentijn overeem';
```
## Task
Generate a SQL query to answer the following question:
`Where was the match held when the result was win, and tko as the method?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the match held when the result was win, and tko as the method?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "method"='tko';
```
## Task
Generate a SQL query to answer the following question:
`What round did the match go to when the event was Bars - Moscow vs St. Petersburg?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round did the match go to when the event was Bars - Moscow vs St. Petersburg?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "event"='bars - moscow vs st. petersburg';
```
## Task
Generate a SQL query to answer the following question:
`With a method of tko (kick) what is the record of the match?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `With a method of tko (kick) what is the record of the match?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='tko (kick)';
```
## Task
Generate a SQL query to answer the following question:
`What round did the match go to when tko (cut) was the method?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round did the match go to when tko (cut) was the method?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "method"='tko (cut)';
```
## Task
Generate a SQL query to answer the following question:
`what is the place when the score is 68-72-77-74=291?`

### 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" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the place when the score is 68-72-77-74=291?`:
```sql
                SELECT "place" FROM "final_round" WHERE "score"='68-72-77-74=291';
```
## Task
Generate a SQL query to answer the following question:
`how many times is the country united states and the score 72-71-73-73=289?`

### 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" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is the country united states and the score 72-71-73-73=289?`:
```sql
                SELECT COUNT("to_par") FROM "final_round" WHERE "country"='united states' AND "score"='72-71-73-73=289';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player when the to par is more than 11 and the score is 71-71-71-79=292?`

### 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" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player when the to par is more than 11 and the score is 71-71-71-79=292?`:
```sql
                SELECT "player" FROM "final_round" WHERE "to_par">11 AND "score"='71-71-71-79=292';
```
## Task
Generate a SQL query to answer the following question:
`what is the country when the player is bill nary?`

### 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" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country when the player is bill nary?`:
```sql
                SELECT "country" FROM "final_round" WHERE "player"='bill nary';
```
## Task
Generate a SQL query to answer the following question:
`what is the score when the country is united states and the player is george fazio?`

### 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" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the score when the country is united states and the player is george fazio?`:
```sql
                SELECT "score" FROM "final_round" WHERE "country"='united states' AND "player"='george fazio';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424?`

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

CREATE TABLE "holders" (
  "name" text,
  "heir_of" text,
  "birth" text,
  "ceased_to_be_duke_of_girona" text,
  "death" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424?`:
```sql
                SELECT "death" FROM "holders" WHERE "birth"='2 august 1424';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?`

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

CREATE TABLE "holders" (
  "name" text,
  "heir_of" text,
  "birth" text,
  "ceased_to_be_duke_of_girona" text,
  "death" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?`:
```sql
                SELECT "ceased_to_be_duke_of_girona" FROM "holders" WHERE "heir_of"='peter iv';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE BIRTH DATE THAT HAS Ceased to be Duke of Girona OF 21 NOVEMBER 1582?`

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

CREATE TABLE "holders" (
  "name" text,
  "heir_of" text,
  "birth" text,
  "ceased_to_be_duke_of_girona" text,
  "death" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE BIRTH DATE THAT HAS Ceased to be Duke of Girona OF 21 NOVEMBER 1582?`:
```sql
                SELECT "birth" FROM "holders" WHERE "ceased_to_be_duke_of_girona"='21 november 1582';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE BIRTH DATE WITH A DEATH OF OCTOBER 1389?`

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

CREATE TABLE "holders" (
  "name" text,
  "heir_of" text,
  "birth" text,
  "ceased_to_be_duke_of_girona" text,
  "death" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE BIRTH DATE WITH A DEATH OF OCTOBER 1389?`:
```sql
                SELECT "birth" FROM "holders" WHERE "death"='october 1389';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Laps, when Ride is Aleix Espargaro?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Laps, when Ride is Aleix Espargaro?`:
```sql
                SELECT COUNT("laps") FROM "250cc_classification" WHERE "rider"='aleix espargaro';
```
## Task
Generate a SQL query to answer the following question:
`What was the start date for the party of LSAP with a Prime Minister of Jean-Claude Juncker?`

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

CREATE TABLE "list_of_ministers_for_the_police_force" (
  "minister" text,
  "party" text,
  "start_date" text,
  "end_date" text,
  "prime_minister" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the start date for the party of LSAP with a Prime Minister of Jean-Claude Juncker?`:
```sql
                SELECT "start_date" FROM "list_of_ministers_for_the_police_force" WHERE "party"='lsap' AND "prime_minister"='jean-claude juncker';
```
## Task
Generate a SQL query to answer the following question:
`What is the County of Howard Street Tunnel?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the County of Howard Street Tunnel?`:
```sql
                SELECT "county" FROM "references" WHERE "name"='howard street tunnel';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location of the Bridge Built in 1869?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location of the Bridge Built in 1869?`:
```sql
                SELECT "location" FROM "references" WHERE "built"='1869';
```
## Task
Generate a SQL query to answer the following question:
`What is the date Listed of the B & O Bridge in Washington?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date Listed of the B & O Bridge in Washington?`:
```sql
                SELECT "listed" FROM "references" WHERE "county"='washington' AND "name"='b & o bridge';
```
## Task
Generate a SQL query to answer the following question:
`What is the date Listed of the Bridge Built CA.1876?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date Listed of the Bridge Built CA.1876?`:
```sql
                SELECT "listed" FROM "references" WHERE "built"='ca.1876';
```
## Task
Generate a SQL query to answer the following question:
`What is the date Listed of the Bridge Built in 1864?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date Listed of the Bridge Built in 1864?`:
```sql
                SELECT "listed" FROM "references" WHERE "built"='1864';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont Là", and when Place is less than 2?`

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

CREATE TABLE "result_of_national_final" (
  "draw" real,
  "song" text,
  "artist" text,
  "televotes" real,
  "place" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont Là", and when Place is less than 2?`:
```sql
                SELECT COUNT("draw") FROM "result_of_national_final" WHERE "televotes">1761 AND "song"='ils sont là' AND "place"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Place, when Televotes is 15424?`

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

CREATE TABLE "result_of_national_final" (
  "draw" real,
  "song" text,
  "artist" text,
  "televotes" real,
  "place" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Place, when Televotes is 15424?`:
```sql
                SELECT MIN("place") FROM "result_of_national_final" WHERE "televotes"=15424;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Place, when Song is "Dis Oui"?`

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

CREATE TABLE "result_of_national_final" (
  "draw" real,
  "song" text,
  "artist" text,
  "televotes" real,
  "place" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Place, when Song is "Dis Oui"?`:
```sql
                SELECT AVG("place") FROM "result_of_national_final" WHERE "song"='dis oui';
```
## Task
Generate a SQL query to answer the following question:
`What club received a DF player for free?`

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

CREATE TABLE "first_team" (
  "exit_date" text,
  "pos" text,
  "player" text,
  "to_club" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What club received a DF player for free?`:
```sql
                SELECT "to_club" FROM "first_team" WHERE "transfer_fee"='free' AND "pos"='df';
```
## Task
Generate a SQL query to answer the following question:
`Which player was transferred to Reggina?`

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

CREATE TABLE "first_team" (
  "exit_date" text,
  "pos" text,
  "player" text,
  "to_club" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player was transferred to Reggina?`:
```sql
                SELECT "player" FROM "first_team" WHERE "to_club"='reggina';
```
## Task
Generate a SQL query to answer the following question:
`What is the exit date of the player transferred to Reggina for free?`

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

CREATE TABLE "first_team" (
  "exit_date" text,
  "pos" text,
  "player" text,
  "to_club" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the exit date of the player transferred to Reggina for free?`:
```sql
                SELECT "exit_date" FROM "first_team" WHERE "transfer_fee"='free' AND "to_club"='reggina';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest position of pilot mario kiessling from Germany?`

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

CREATE TABLE "overall_results" (
  "position" real,
  "pilot" text,
  "country" text,
  "glider" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest position of pilot mario kiessling from Germany?`:
```sql
                SELECT MIN("position") FROM "overall_results" WHERE "country"='germany' AND "pilot"='mario kiessling';
```
## Task
Generate a SQL query to answer the following question:
`What is the average position of pilot petr krejcirik, who has less than 11 points?`

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

CREATE TABLE "overall_results" (
  "position" real,
  "pilot" text,
  "country" text,
  "glider" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average position of pilot petr krejcirik, who has less than 11 points?`:
```sql
                SELECT AVG("position") FROM "overall_results" WHERE "points"<11 AND "pilot"='petr krejcirik';
```
## Task
Generate a SQL query to answer the following question:
`What is the career SR with a 1r in 1985?`

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

CREATE TABLE "grand_slam_singles_tournament_timeline" (
  "tournament" text,
  "1980" text,
  "1981" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the career SR with a 1r in 1985?`:
```sql
                SELECT "career_sr" FROM "grand_slam_singles_tournament_timeline" WHERE "1985"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What tournament has a 3r in 1983?`

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

CREATE TABLE "grand_slam_singles_tournament_timeline" (
  "tournament" text,
  "1980" text,
  "1981" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament has a 3r in 1983?`:
```sql
                SELECT "tournament" FROM "grand_slam_singles_tournament_timeline" WHERE "1983"='3r';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1980 value with a 1r in 1984 and a 1r in 1981?`

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

CREATE TABLE "grand_slam_singles_tournament_timeline" (
  "tournament" text,
  "1980" text,
  "1981" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1980 value with a 1r in 1984 and a 1r in 1981?`:
```sql
                SELECT "1980" FROM "grand_slam_singles_tournament_timeline" WHERE "1984"='1r' AND "1981"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What is the finish of Australia?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the finish of Australia?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "country"='australia';
```
## Task
Generate a SQL query to answer the following question:
`What is the total with a +4 to par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total with a +4 to par?`:
```sql
                SELECT "total" FROM "made_the_cut" WHERE "to_par"='+4';
```
## Task
Generate a SQL query to answer the following question:
`What country has a +3 to par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country has a +3 to par?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "to_par"='+3';
```
## Task
Generate a SQL query to answer the following question:
`What was the first year that the artist of every little thing ranked lower than 10?`

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

CREATE TABLE "top_ten_best_selling_albums_recorded_by_" (
  "rank" real,
  "year" real,
  "title" text,
  "artist" text,
  "sales" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first year that the artist of every little thing ranked lower than 10?`:
```sql
                SELECT MIN("year") FROM "top_ten_best_selling_albums_recorded_by_" WHERE "artist"='every little thing' AND "rank"<10;
```
## Task
Generate a SQL query to answer the following question:
`Which Championship was louise suggs the runner-up by 3 strokes?`

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

CREATE TABLE "wins_13" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Championship was louise suggs the runner-up by 3 strokes?`:
```sql
                SELECT "championship" FROM "wins_13" WHERE "runner_s_up"='louise suggs' AND "margin"='3 strokes';
```
## Task
Generate a SQL query to answer the following question:
`When was the most recent year that kathy whitworth was the runner-up?`

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

CREATE TABLE "wins_13" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the most recent year that kathy whitworth was the runner-up?`:
```sql
                SELECT MAX("year") FROM "wins_13" WHERE "runner_s_up"='kathy whitworth';
```
## Task
Generate a SQL query to answer the following question:
`What was the winning score in the u.s. women's open that was won by 5 strokes?`

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

CREATE TABLE "wins_13" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning score in the u.s. women's open that was won by 5 strokes?`:
```sql
                SELECT "winning_score" FROM "wins_13" WHERE "championship"='u.s. women''s open' AND "margin"='5 strokes';
```
## Task
Generate a SQL query to answer the following question:
`What is Record, when High Rebounds is "Marcus Camby (15)", and when High Assists is "Baron Davis (7)"?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Record, when High Rebounds is "Marcus Camby (15)", and when High Assists is "Baron Davis (7)"?`:
```sql
                SELECT "record" FROM "game_log" WHERE "high_rebounds"='marcus camby (15)' AND "high_assists"='baron davis (7)';
```
## Task
Generate a SQL query to answer the following question:
`What is Game, when Team is "Philadelphia"`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Game, when Team is "Philadelphia"`:
```sql
                SELECT "game" FROM "game_log" WHERE "team"='philadelphia';
```
## Task
Generate a SQL query to answer the following question:
`What is High Assists, when Team is "@ Milwaukee"?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is High Assists, when Team is "@ Milwaukee"?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "team"='@ milwaukee';
```
## Task
Generate a SQL query to answer the following question:
`What was the tie number for the round against visiting opponent Chelsea?`

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

CREATE TABLE "fourth_round" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tie number for the round against visiting opponent Chelsea?`:
```sql
                SELECT SUM("tie_no") FROM "fourth_round" WHERE "away_team"='chelsea';
```
## Task
Generate a SQL query to answer the following question:
`What was the tie number for the round against visiting opponent Newcastle United?`

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

CREATE TABLE "fourth_round" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tie number for the round against visiting opponent Newcastle United?`:
```sql
                SELECT "tie_no" FROM "fourth_round" WHERE "away_team"='newcastle united';
```
## Task
Generate a SQL query to answer the following question:
`What date was Millwall the home team?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was Millwall the home team?`:
```sql
                SELECT "date" FROM "fourth_round_proper" WHERE "home_team"='millwall';
```
## Task
Generate a SQL query to answer the following question:
`What date was Leeds United the away team?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was Leeds United the away team?`:
```sql
                SELECT "date" FROM "fourth_round_proper" WHERE "away_team"='leeds united';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when Bolton Wanderers were the away team?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when Bolton Wanderers were the away team?`:
```sql
                SELECT "score" FROM "fourth_round_proper" WHERE "away_team"='bolton wanderers';
```
## Task
Generate a SQL query to answer the following question:
`What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?`:
```sql
                SELECT SUM("events") FROM "summary" WHERE "tournament"='u.s. open' AND "top_25"<1;
```
## Task
Generate a SQL query to answer the following question:
`How many total wins have 3 as the Top-35 and less than 5 cuts made?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total wins have 3 as the Top-35 and less than 5 cuts made?`:
```sql
                SELECT SUM("wins") FROM "summary" WHERE "top_25"=3 AND "cuts_made"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum Top-10 when the Open Championship was the tournament and the wins greater than 0?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum Top-10 when the Open Championship was the tournament and the wins greater than 0?`:
```sql
                SELECT MIN("top_10") FROM "summary" WHERE "tournament"='the open championship' AND "wins">0;
```
## Task
Generate a SQL query to answer the following question:
`With wins greater than 0 what is the minimum Top-10?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `With wins greater than 0 what is the minimum Top-10?`:
```sql
                SELECT MIN("top_10") FROM "summary" WHERE "wins">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the total Top-25 when the events were less than 0?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total Top-25 when the events were less than 0?`:
```sql
                SELECT SUM("top_25") FROM "summary" WHERE "events"<0;
```
## Task
Generate a SQL query to answer the following question:
`Who is the player from the United States with a score of 71-75=146?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player from the United States with a score of 71-75=146?`:
```sql
                SELECT "player" FROM "second_round" WHERE "country"='united states' AND "score"='71-75=146';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player with a 77-68=145 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 `Who is the player with a 77-68=145 score?`:
```sql
                SELECT "player" FROM "second_round" WHERE "score"='77-68=145';
```
## Task
Generate a SQL query to answer the following question:
`What is the country with a 76-68=144 score?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the country with a 76-68=144 score?`:
```sql
                SELECT "country" FROM "second_round" WHERE "score"='76-68=144';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player in t8 place with a 75-71=146 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 `Who is the player in t8 place with a 75-71=146 score?`:
```sql
                SELECT "player" FROM "second_round" WHERE "place"='t8' AND "score"='75-71=146';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of the player from the United States with a place of t1 and a 76-68=144 score?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par of the player from the United States with a place of t1 and a 76-68=144 score?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "place"='t1' AND "score"='76-68=144';
```
## Task
Generate a SQL query to answer the following question:
`What is the country of player lee trevino, 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 "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 country of player lee trevino, who has a to par of +2?`:
```sql
                SELECT "country" FROM "second_round" WHERE "to_par"='+2' AND "player"='lee trevino';
```
## Task
Generate a SQL query to answer the following question:
`Who was the pilot at lake dumbleyung?`

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

CREATE TABLE "record_holders" (
  "speed" text,
  "craft" text,
  "pilot_s" text,
  "location" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the pilot at lake dumbleyung?`:
```sql
                SELECT "pilot_s" FROM "record_holders" WHERE "location"='lake dumbleyung';
```
## Task
Generate a SQL query to answer the following question:
`How fast was the speed during the record set at Coniston Water that was piloted by Malcolm Campbell?`

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

CREATE TABLE "record_holders" (
  "speed" text,
  "craft" text,
  "pilot_s" text,
  "location" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How fast was the speed during the record set at Coniston Water that was piloted by Malcolm Campbell?`:
```sql
                SELECT "speed" FROM "record_holders" WHERE "location"='coniston water' AND "pilot_s"='malcolm campbell';
```
## Task
Generate a SQL query to answer the following question:
`Which Home has an Away of 1–1?`

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

CREATE TABLE "local_rivals" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home has an Away of 1–1?`:
```sql
                SELECT "home" FROM "local_rivals" WHERE "away"='1–1';
```
## Task
Generate a SQL query to answer the following question:
`Which Away has a Season of 2007–08?`

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

CREATE TABLE "local_rivals" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Away has a Season of 2007–08?`:
```sql
                SELECT "away" FROM "local_rivals" WHERE "season"='2007–08';
```
## Task
Generate a SQL query to answer the following question:
`Which Season has an Away of 1–2?`

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

CREATE TABLE "local_rivals" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season has an Away of 1–2?`:
```sql
                SELECT "season" FROM "local_rivals" WHERE "away"='1–2';
```
## Task
Generate a SQL query to answer the following question:
`Which Away has a Home of 1–0?`

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

CREATE TABLE "local_rivals" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Away has a Home of 1–0?`:
```sql
                SELECT "away" FROM "local_rivals" WHERE "home"='1–0';
```
## Task
Generate a SQL query to answer the following question:
`Which Season has a League of bezirksliga?`

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

CREATE TABLE "local_rivals" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season has a League of bezirksliga?`:
```sql
                SELECT "season" FROM "local_rivals" WHERE "league"='bezirksliga';
```
## Task
Generate a SQL query to answer the following question:
`Which Season has a Home of 0–1?`

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

CREATE TABLE "local_rivals" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season has a Home of 0–1?`:
```sql
                SELECT "season" FROM "local_rivals" WHERE "home"='0–1';
```
## Task
Generate a SQL query to answer the following question:
`What was the Venue in 2003?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Venue in 2003?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "date"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What Competition had a Score of 3–3?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Competition had a Score of 3–3?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "score"='3–3';
```
## Task
Generate a SQL query to answer the following question:
`Name the lowest Round with Opponent of rolando delgado?`

### 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" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the lowest Round with Opponent of rolando delgado?`:
```sql
                SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "opponent"='rolando delgado';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of Round in liverpool , england?`

### 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" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of Round in liverpool , england?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "location"='liverpool , england';
```
## Task
Generate a SQL query to answer the following question:
`Which Event is in chandigarh , india?`

### 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" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Event is in chandigarh , india?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "location"='chandigarh , india';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player with a year later than 2007 and the college/high school/club of Arizona?`

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

CREATE TABLE "selections" (
  "year" real,
  "round" text,
  "player" text,
  "nationality" text,
  "position" text,
  "college_high_school_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player with a year later than 2007 and the college/high school/club of Arizona?`:
```sql
                SELECT "player" FROM "selections" WHERE "year">2007 AND "college_high_school_club"='arizona';
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest year of c position player gary bergen?`

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

CREATE TABLE "selections" (
  "year" real,
  "round" text,
  "player" text,
  "nationality" text,
  "position" text,
  "college_high_school_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest year of c position player gary bergen?`:
```sql
                SELECT MIN("year") FROM "selections" WHERE "position"='c' AND "player"='gary bergen';
```