cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the name of team 2 that has 1-2 as the score?`

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

CREATE TABLE "results" (
  "season" text,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of team 2 that has 1-2 as the score?`:
```sql
                SELECT "team_2" FROM "results" WHERE "score"='1-2';
```
## Task
Generate a SQL query to answer the following question:
`In the 2005 season with a score of 0-4 what is the team 1?`

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

CREATE TABLE "results" (
  "season" text,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the 2005 season with a score of 0-4 what is the team 1?`:
```sql
                SELECT "team_1" FROM "results" WHERE "season"='2005' AND "score"='0-4';
```
## Task
Generate a SQL query to answer the following question:
`Team 2 of Yokohama F. Marinos in the n/a venue had what score?`

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

CREATE TABLE "results" (
  "season" text,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Team 2 of Yokohama F. Marinos in the n/a venue had what score?`:
```sql
                SELECT "score" FROM "results" WHERE "venue"='n/a' AND "team_2"='yokohama f. marinos';
```
## Task
Generate a SQL query to answer the following question:
`Team 2 Al-Ain played in what venue?`

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

CREATE TABLE "results" (
  "season" text,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Team 2 Al-Ain played in what venue?`:
```sql
                SELECT "venue" FROM "results" WHERE "team_2"='al-ain';
```
## Task
Generate a SQL query to answer the following question:
`What is the scored figure when the result is 40-22?`

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

CREATE TABLE "super_league_tries" (
  "date" text,
  "venue" text,
  "opponent" text,
  "result" text,
  "tournament" text,
  "scored" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the scored figure when the result is 40-22?`:
```sql
                SELECT SUM("scored") FROM "super_league_tries" WHERE "result"='40-22';
```
## Task
Generate a SQL query to answer the following question:
`In what tournament is there a result of 46-18?`

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

CREATE TABLE "super_league_tries" (
  "date" text,
  "venue" text,
  "opponent" text,
  "result" text,
  "tournament" text,
  "scored" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what tournament is there a result of 46-18?`:
```sql
                SELECT "tournament" FROM "super_league_tries" WHERE "result"='46-18';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest scored with a result of 46-18?`

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

CREATE TABLE "super_league_tries" (
  "date" text,
  "venue" text,
  "opponent" text,
  "result" text,
  "tournament" text,
  "scored" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest scored with a result of 46-18?`:
```sql
                SELECT MIN("scored") FROM "super_league_tries" WHERE "result"='46-18';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of goals with 21 games for a debut round less than 1?`

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

CREATE TABLE "players_who_made_their_club_debut_during" (
  "name" text,
  "club" text,
  "debut_round" real,
  "games_2008" real,
  "goals_2008" real,
  "previous_club_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of goals with 21 games for a debut round less than 1?`:
```sql
                SELECT AVG("goals_2008") FROM "players_who_made_their_club_debut_during" WHERE "games_2008"=21 AND "debut_round"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the Nationality of the Player with Jersey Number 6?`

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

CREATE TABLE "g" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Nationality of the Player with Jersey Number 6?`:
```sql
                SELECT "nationality" FROM "g" WHERE "jersey_number_s"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the Jersey Number of the Player from Clemson?`

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

CREATE TABLE "g" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Jersey Number of the Player from Clemson?`:
```sql
                SELECT SUM("jersey_number_s") FROM "g" WHERE "from"='clemson';
```
## Task
Generate a SQL query to answer the following question:
`What is the at/vs against the New York Saints with over 16,042 in attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the at/vs against the New York Saints with over 16,042 in attendance?`:
```sql
                SELECT "at_vs" FROM "game_log" WHERE "opponent"='new york saints' AND "attendance">'16,042';
```
## Task
Generate a SQL query to answer the following question:
`What day was the visitor Cleveland when the record was 34-26?`

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

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What day was the visitor Cleveland when the record was 34-26?`:
```sql
                SELECT "date" FROM "march" WHERE "visitor"='cleveland' AND "record"='34-26';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance when the score was 88-98?`

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

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance when the score was 88-98?`:
```sql
                SELECT "attendance" FROM "march" WHERE "score"='88-98';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the visitor was Cleveland in Dallas?`

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

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the visitor was Cleveland in Dallas?`:
```sql
                SELECT "record" FROM "march" WHERE "visitor"='cleveland' AND "home"='dallas';
```
## Task
Generate a SQL query to answer the following question:
`What is the littlest round that has Matt Delahey, and a greater than 112 pick?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the littlest round that has Matt Delahey, and a greater than 112 pick?`:
```sql
                SELECT MIN("round") FROM "draft_picks" WHERE "player"='matt delahey' AND "pick">112;
```
## Task
Generate a SQL query to answer the following question:
`What is the average PUBS 11 value in Mumbai, which has a 07-11 totals less than 1025?`

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

CREATE TABLE "world_ranking_of_chemical_engineering_sc" (
  "school" text,
  "location" text,
  "pubs_2010" real,
  "totals_06_10" real,
  "rank_06_10" real,
  "pubs_2011" real,
  "totals_07_11" real,
  "rank_07_11" real,
  "world_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average PUBS 11 value in Mumbai, which has a 07-11 totals less than 1025?`:
```sql
                SELECT AVG("pubs_2011") FROM "world_ranking_of_chemical_engineering_sc" WHERE "location"='mumbai' AND "totals_07_11"<1025;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305?`

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

CREATE TABLE "world_ranking_of_chemical_engineering_sc" (
  "school" text,
  "location" text,
  "pubs_2010" real,
  "totals_06_10" real,
  "rank_06_10" real,
  "pubs_2011" real,
  "totals_07_11" real,
  "rank_07_11" real,
  "world_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305?`:
```sql
                SELECT MIN("totals_06_10") FROM "world_ranking_of_chemical_engineering_sc" WHERE "pubs_2010"=68 AND "totals_07_11">305;
```
## Task
Generate a SQL query to answer the following question:
`What is Team, when Date of Appointment is "10 November 2008"?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Team, when Date of Appointment is "10 November 2008"?`:
```sql
                SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='10 november 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Replaced By, when Outgoing Manager is "Ünal Karaman"?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Replaced By, when Outgoing Manager is "Ünal Karaman"?`:
```sql
                SELECT "replaced_by" FROM "managerial_changes" WHERE "outgoing_manager"='ünal karaman';
```
## Task
Generate a SQL query to answer the following question:
`What is Outgoing Manager, when Date of Vacancy is "25 September 2008"?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Outgoing Manager, when Date of Vacancy is "25 September 2008"?`:
```sql
                SELECT "outgoing_manager" FROM "managerial_changes" WHERE "date_of_vacancy"='25 september 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Date of Appointment, when Outgoing Manager is "Hakan Kutlu"?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date of Appointment, when Outgoing Manager is "Hakan Kutlu"?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='hakan kutlu';
```
## Task
Generate a SQL query to answer the following question:
`What is Date of Appointment, when Outgoing Manager is "Giray Bulak"?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date of Appointment, when Outgoing Manager is "Giray Bulak"?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='giray bulak';
```
## Task
Generate a SQL query to answer the following question:
`What is Replaced By, when Date of Vacancy is "23 February 2009"?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Replaced By, when Date of Vacancy is "23 February 2009"?`:
```sql
                SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='23 february 2009';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TEAM FOR DECEMBER 30?`

### 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 THE TEAM FOR DECEMBER 30?`:
```sql
                SELECT "team" FROM "game_log" WHERE "date"='december 30';
```
## Task
Generate a SQL query to answer the following question:
`Which category had an orange finish?`

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

CREATE TABLE "other_appearances_in_tour_de_france" (
  "year" real,
  "stage" real,
  "category" text,
  "start" text,
  "finish" text,
  "leader_at_the_summit" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which category had an orange finish?`:
```sql
                SELECT "category" FROM "other_appearances_in_tour_de_france" WHERE "finish"='orange';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest year for stage 12, category 1?`

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

CREATE TABLE "other_appearances_in_tour_de_france" (
  "year" real,
  "stage" real,
  "category" text,
  "start" text,
  "finish" text,
  "leader_at_the_summit" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest year for stage 12, category 1?`:
```sql
                SELECT MIN("year") FROM "other_appearances_in_tour_de_france" WHERE "category"='1' AND "stage"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is the start of stage 11?`

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

CREATE TABLE "other_appearances_in_tour_de_france" (
  "year" real,
  "stage" real,
  "category" text,
  "start" text,
  "finish" text,
  "leader_at_the_summit" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the start of stage 11?`:
```sql
                SELECT "start" FROM "other_appearances_in_tour_de_france" WHERE "stage"=11;
```
## Task
Generate a SQL query to answer the following question:
`Which model had a wheelbase of 136 inches?`

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

CREATE TABLE "cole_model_overview_1908_1925" (
  "year" text,
  "model" text,
  "engine_type_cyl" text,
  "power_bhp_k_w" text,
  "wheelbase_in" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which model had a wheelbase of 136 inches?`:
```sql
                SELECT "model" FROM "cole_model_overview_1908_1925" WHERE "wheelbase_in"='136';
```
## Task
Generate a SQL query to answer the following question:
`What is the engine type with a wheelbase of 127 inches in 1915?`

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

CREATE TABLE "cole_model_overview_1908_1925" (
  "year" text,
  "model" text,
  "engine_type_cyl" text,
  "power_bhp_k_w" text,
  "wheelbase_in" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the engine type with a wheelbase of 127 inches in 1915?`:
```sql
                SELECT "engine_type_cyl" FROM "cole_model_overview_1908_1925" WHERE "wheelbase_in"='127' AND "year"='1915';
```
## Task
Generate a SQL query to answer the following question:
`What was the record on January 4?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record on January 4?`:
```sql
                SELECT "record" FROM "season_schedule" WHERE "date"='january 4';
```
## Task
Generate a SQL query to answer the following question:
`Which Streak has a Game larger than 49?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Streak has a Game larger than 49?`:
```sql
                SELECT "streak" FROM "season_schedule" WHERE "game">49;
```
## Task
Generate a SQL query to answer the following question:
`Which Streak has a Date of january 7?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Streak has a Date of january 7?`:
```sql
                SELECT "streak" FROM "season_schedule" WHERE "date"='january 7';
```
## Task
Generate a SQL query to answer the following question:
`Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes?`

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

CREATE TABLE "repeat_winners" (
  "rank" real,
  "name" text,
  "country" text,
  "wins" real,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes?`:
```sql
                SELECT "country" FROM "repeat_winners" WHERE "wins">2 AND "rank"=2 AND "name"='federico bahamontes';
```
## Task
Generate a SQL query to answer the following question:
`What is richard virenque's lowest rank?`

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

CREATE TABLE "repeat_winners" (
  "rank" real,
  "name" text,
  "country" text,
  "wins" real,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is richard virenque's lowest rank?`:
```sql
                SELECT MIN("rank") FROM "repeat_winners" WHERE "name"='richard virenque';
```
## Task
Generate a SQL query to answer the following question:
`Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?`

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

CREATE TABLE "repeat_winners" (
  "rank" real,
  "name" text,
  "country" text,
  "wins" real,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?`:
```sql
                SELECT "years" FROM "repeat_winners" WHERE "rank">2 AND "wins"=2 AND "country"='france';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team with the ny rangers as the visitor team?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team with the ny rangers as the visitor team?`:
```sql
                SELECT "home" FROM "regular_season" WHERE "visitor"='ny rangers';
```
## Task
Generate a SQL query to answer the following question:
`What is the record on October 13, when philadelphia was the home team?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record on October 13, when philadelphia was the home team?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "home"='philadelphia' AND "date"='october 13';
```
## Task
Generate a SQL query to answer the following question:
`What is Season, when Opponent is source: . last updated: 28 june 2007.?`

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

CREATE TABLE "best_figures_in_an_innings" (
  "rank" text,
  "figures" text,
  "player" text,
  "opponent" text,
  "venue" text,
  "season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Season, when Opponent is source: . last updated: 28 june 2007.?`:
```sql
                SELECT "season" FROM "best_figures_in_an_innings" WHERE "opponent"='source: . last updated: 28 june 2007.';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Figures is 5/29?`

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

CREATE TABLE "best_figures_in_an_innings" (
  "rank" text,
  "figures" text,
  "player" text,
  "opponent" text,
  "venue" text,
  "season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Figures is 5/29?`:
```sql
                SELECT "venue" FROM "best_figures_in_an_innings" WHERE "figures"='5/29';
```
## Task
Generate a SQL query to answer the following question:
`What is Opponent, when Rank is 3?`

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

CREATE TABLE "best_figures_in_an_innings" (
  "rank" text,
  "figures" text,
  "player" text,
  "opponent" text,
  "venue" text,
  "season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Opponent, when Rank is 3?`:
```sql
                SELECT "opponent" FROM "best_figures_in_an_innings" WHERE "rank"='3';
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Figures is source: . last updated: 28 june 2007.?`

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

CREATE TABLE "best_figures_in_an_innings" (
  "rank" text,
  "figures" text,
  "player" text,
  "opponent" text,
  "venue" text,
  "season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when Figures is source: . last updated: 28 june 2007.?`:
```sql
                SELECT "player" FROM "best_figures_in_an_innings" WHERE "figures"='source: . last updated: 28 june 2007.';
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Opponent is source: . last updated: 28 june 2007.?`

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

CREATE TABLE "best_figures_in_an_innings" (
  "rank" text,
  "figures" text,
  "player" text,
  "opponent" text,
  "venue" text,
  "season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when Opponent is source: . last updated: 28 june 2007.?`:
```sql
                SELECT "player" FROM "best_figures_in_an_innings" WHERE "opponent"='source: . last updated: 28 june 2007.';
```
## Task
Generate a SQL query to answer the following question:
`For the match played on 7 January 1956, with away team of Accrington Stanley, who was the home team?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the match played on 7 January 1956, with away team of Accrington Stanley, who was the home team?`:
```sql
                SELECT "home_team" FROM "third_round_proper" WHERE "date"='7 january 1956' AND "away_team"='accrington stanley';
```
## Task
Generate a SQL query to answer the following question:
`Which Tie number had Fulham as the away team?`

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

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

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tie number had Middlesbrough as the away team?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='middlesbrough';
```
## Task
Generate a SQL query to answer the following question:
`On what day was Tie #29 played?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what day was Tie #29 played?`:
```sql
                SELECT "date" FROM "third_round_proper" WHERE "tie_no"='29';
```
## Task
Generate a SQL query to answer the following question:
`Which Tie number was played on 9 January 1956?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tie number was played on 9 January 1956?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "date"='9 january 1956';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tie number for the match that had away team of Scunthorpe & Lindsey United?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tie number for the match that had away team of Scunthorpe & Lindsey United?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='scunthorpe & lindsey united';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?`:
```sql
                SELECT "place" FROM "final_round" WHERE "score"='76-69-64-70=279';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282?`:
```sql
                SELECT "place" FROM "final_round" WHERE "score"='73-65-73-71=282';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TO PAR FOR ERNIE ELS?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE TO PAR FOR ERNIE ELS?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "player"='ernie els';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?`:
```sql
                SELECT "place" FROM "final_round" WHERE "score"='69-71-66-73=279';
```
## Task
Generate a SQL query to answer the following question:
`What was the winning score at Burdine's Invitational?`

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

CREATE TABLE "lpga_tour_wins_24" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning score at Burdine's Invitational?`:
```sql
                SELECT "winning_score" FROM "lpga_tour_wins_24" WHERE "tournament"='burdine''s invitational';
```
## Task
Generate a SQL query to answer the following question:
`Who was the runner-up when the winning score is +3 (69-70-71-77=287)?`

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

CREATE TABLE "lpga_tour_wins_24" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the runner-up when the winning score is +3 (69-70-71-77=287)?`:
```sql
                SELECT "runner_s_up" FROM "lpga_tour_wins_24" WHERE "winning_score"='+3 (69-70-71-77=287)';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament has a winning score at –7 (66-72-69-74=281)?`

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

CREATE TABLE "lpga_tour_wins_24" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament has a winning score at –7 (66-72-69-74=281)?`:
```sql
                SELECT "tournament" FROM "lpga_tour_wins_24" WHERE "winning_score"='–7 (66-72-69-74=281)';
```
## Task
Generate a SQL query to answer the following question:
`On what date is Jerilyn Britz the runner-up?`

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

CREATE TABLE "lpga_tour_wins_24" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date is Jerilyn Britz the runner-up?`:
```sql
                SELECT "date" FROM "lpga_tour_wins_24" WHERE "runner_s_up"='jerilyn britz';
```
## Task
Generate a SQL query to answer the following question:
`On what date is the winning score –8 (70-71-67=208)?`

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

CREATE TABLE "lpga_tour_wins_24" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date is the winning score –8 (70-71-67=208)?`:
```sql
                SELECT "date" FROM "lpga_tour_wins_24" WHERE "winning_score"='–8 (70-71-67=208)';
```
## Task
Generate a SQL query to answer the following question:
`What is Matches, when Year is "2003"?`

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

CREATE TABLE "world_cup_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Matches, when Year is "2003"?`:
```sql
                SELECT "matches" FROM "world_cup_record" WHERE "year"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What is Draws, when Losses is "Did Not Qualify"?`

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

CREATE TABLE "world_cup_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Draws, when Losses is "Did Not Qualify"?`:
```sql
                SELECT "draws" FROM "world_cup_record" WHERE "losses"='did not qualify';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Losses is "Did Not Qualify"?`

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

CREATE TABLE "world_cup_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Losses is "Did Not Qualify"?`:
```sql
                SELECT "result" FROM "world_cup_record" WHERE "losses"='did not qualify';
```
## Task
Generate a SQL query to answer the following question:
`What is Year, when Wins is "0"?`

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

CREATE TABLE "world_cup_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Year, when Wins is "0"?`:
```sql
                SELECT "year" FROM "world_cup_record" WHERE "wins"='0';
```
## Task
Generate a SQL query to answer the following question:
`What is Draws, when Wins is "Did Not Qualify"?`

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

CREATE TABLE "world_cup_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Draws, when Wins is "Did Not Qualify"?`:
```sql
                SELECT "draws" FROM "world_cup_record" WHERE "wins"='did not qualify';
```
## Task
Generate a SQL query to answer the following question:
`What is Matches, when Draws is "Did Not Qualify", and when Year is "1995"?`

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

CREATE TABLE "world_cup_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Matches, when Draws is "Did Not Qualify", and when Year is "1995"?`:
```sql
                SELECT "matches" FROM "world_cup_record" WHERE "draws"='did not qualify' AND "year"='1995';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Score of 112–118?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Score of 112–118?`:
```sql
                SELECT "date" FROM "season_schedule" WHERE "score"='112–118';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a Score of 111–101?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record has a Score of 111–101?`:
```sql
                SELECT "record" FROM "season_schedule" WHERE "score"='111–101';
```
## Task
Generate a SQL query to answer the following question:
`Which Game has a Score of 122–125?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Game has a Score of 122–125?`:
```sql
                SELECT "game" FROM "season_schedule" WHERE "score"='122–125';
```
## Task
Generate a SQL query to answer the following question:
`Which Streak has a Game of 3?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Streak has a Game of 3?`:
```sql
                SELECT "streak" FROM "season_schedule" WHERE "game"=3;
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Record of 1–3?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Record of 1–3?`:
```sql
                SELECT "score" FROM "season_schedule" WHERE "record"='1–3';
```
## Task
Generate a SQL query to answer the following question:
`How many totals had a silver larger than 2?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many totals had a silver larger than 2?`:
```sql
                SELECT COUNT("total") FROM "medal_table" WHERE "silver">2;
```
## Task
Generate a SQL query to answer the following question:
`What was the average bronze when gold was larger than 1 and silver was larger than 2?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average bronze when gold was larger than 1 and silver was larger than 2?`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "gold">1 AND "silver">2;
```
## Task
Generate a SQL query to answer the following question:
`What was the college team of the player whose former WNBA team was the Cleveland Rockers?`

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

CREATE TABLE "expansion_draft_selections" (
  "pick" real,
  "player" text,
  "nationality" text,
  "new_wnba_team" text,
  "former_wnba_team" text,
  "college_country_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the college team of the player whose former WNBA team was the Cleveland Rockers?`:
```sql
                SELECT "college_country_team" FROM "expansion_draft_selections" WHERE "former_wnba_team"='cleveland rockers';
```
## Task
Generate a SQL query to answer the following question:
`What nationality was the player whose college team was Georgia Tech?`

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

CREATE TABLE "expansion_draft_selections" (
  "pick" real,
  "player" text,
  "nationality" text,
  "new_wnba_team" text,
  "former_wnba_team" text,
  "college_country_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality was the player whose college team was Georgia Tech?`:
```sql
                SELECT "nationality" FROM "expansion_draft_selections" WHERE "college_country_team"='georgia tech';
```
## Task
Generate a SQL query to answer the following question:
`What was the new WNBA team of the player selected with a pick over 7?`

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

CREATE TABLE "expansion_draft_selections" (
  "pick" real,
  "player" text,
  "nationality" text,
  "new_wnba_team" text,
  "former_wnba_team" text,
  "college_country_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the new WNBA team of the player selected with a pick over 7?`:
```sql
                SELECT "new_wnba_team" FROM "expansion_draft_selections" WHERE "pick">7;
```
## Task
Generate a SQL query to answer the following question:
`Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx?`

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

CREATE TABLE "expansion_draft_selections" (
  "pick" real,
  "player" text,
  "nationality" text,
  "new_wnba_team" text,
  "former_wnba_team" text,
  "college_country_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx?`:
```sql
                SELECT "player" FROM "expansion_draft_selections" WHERE "pick"<6 AND "new_wnba_team"='minnesota lynx';
```
## Task
Generate a SQL query to answer the following question:
`Billy Ray Brown plays for what country?`

### 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 `Billy Ray Brown plays for what country?`:
```sql
                SELECT "country" FROM "third_round" WHERE "player"='billy ray brown';
```
## Task
Generate a SQL query to answer the following question:
`The country of Spain has what 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 `The country of Spain has what score?`:
```sql
                SELECT "score" FROM "third_round" WHERE "country"='spain';
```
## Task
Generate a SQL query to answer the following question:
`The golfer from the United states with a score of 72-70-69=211 is in what place?`

### 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 `The golfer from the United states with a score of 72-70-69=211 is in what place?`:
```sql
                SELECT "place" FROM "third_round" WHERE "country"='united states' AND "score"='72-70-69=211';
```
## Task
Generate a SQL query to answer the following question:
`The golfer Jeff Sluman golfs for what country?`

### 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 `The golfer Jeff Sluman golfs for what country?`:
```sql
                SELECT "country" FROM "third_round" WHERE "player"='jeff sluman';
```
## Task
Generate a SQL query to answer the following question:
`Mike Reid from the United States has what 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 `Mike Reid from the United States has what score?`:
```sql
                SELECT "score" FROM "third_round" WHERE "country"='united states' AND "player"='mike reid';
```
## Task
Generate a SQL query to answer the following question:
`What player has 71-72-66=209 as the 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 player has 71-72-66=209 as the score?`:
```sql
                SELECT "player" FROM "third_round" WHERE "score"='71-72-66=209';
```
## Task
Generate a SQL query to answer the following question:
`What to par has 7 as the place?`

### 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 to par has 7 as the place?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "place"='7';
```