cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the 1999 for an A 1991, and a 1r 1997?`

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

CREATE TABLE "grand_slam_singles_performance_timeline" (
  "tournament" text,
  "1988" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1999 for an A 1991, and a 1r 1997?`:
```sql
                SELECT "1999" FROM "grand_slam_singles_performance_timeline" WHERE "1991"='a' AND "1997"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1991 with a 2r 1996?`

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

CREATE TABLE "grand_slam_singles_performance_timeline" (
  "tournament" text,
  "1988" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1991 with a 2r 1996?`:
```sql
                SELECT "1991" FROM "grand_slam_singles_performance_timeline" WHERE "1996"='2r';
```
## Task
Generate a SQL query to answer the following question:
`When was the Attendance larger than 74,382?`

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

CREATE TABLE "group_stage" (
  "date" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real,
  "group_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the Attendance larger than 74,382?`:
```sql
                SELECT "date" FROM "group_stage" WHERE "attendance">'74,382';
```
## Task
Generate a SQL query to answer the following question:
`Which Opponents have Attendance larger than 10,346, and a Date of 25 november 2008?`

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

CREATE TABLE "group_stage" (
  "date" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real,
  "group_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponents have Attendance larger than 10,346, and a Date of 25 november 2008?`:
```sql
                SELECT "opponents" FROM "group_stage" WHERE "attendance">'10,346' AND "date"='25 november 2008';
```
## Task
Generate a SQL query to answer the following question:
`Which venue has a status of Five Nations and an against of 22?`

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

CREATE TABLE "1983" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue has a status of Five Nations and an against of 22?`:
```sql
                SELECT "venue" FROM "1983" WHERE "status"='five nations' AND "against"=22;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the rounds of the match with brett chism as the opponent?`

### 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 `What is the sum of the rounds of the match with brett chism as the opponent?`:
```sql
                SELECT SUM("round") FROM "mixed_martial_arts_record" WHERE "opponent"='brett chism';
```
## Task
Generate a SQL query to answer the following question:
`What is the lwoest round of wild bill's fight night 21 at 5:00?`

### 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 `What is the lwoest round of wild bill's fight night 21 at 5:00?`:
```sql
                SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "time"='5:00' AND "event"='wild bill''s fight night 21';
```
## Task
Generate a SQL query to answer the following question:
`Which Country has a To par smaller than 7, and a Place of 1?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Country has a To par smaller than 7, and a Place of 1?`:
```sql
                SELECT "country" FROM "third_round" WHERE "to_par"<7 AND "place"='1';
```
## Task
Generate a SQL query to answer the following question:
`Which Place has a Country of australia, and a Score of 70-70-72=212?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Place has a Country of australia, and a Score of 70-70-72=212?`:
```sql
                SELECT "place" FROM "third_round" WHERE "country"='australia' AND "score"='70-70-72=212';
```
## Task
Generate a SQL query to answer the following question:
`What was sweden's score in T9 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was sweden's score in T9 place?`:
```sql
                SELECT "score" FROM "third_round" WHERE "place"='t9' AND "country"='sweden';
```
## Task
Generate a SQL query to answer the following question:
`Which To par has a Country of england, and a Place of t9, and a Player of graeme storm?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which To par has a Country of england, and a Place of t9, and a Player of graeme storm?`:
```sql
                SELECT MAX("to_par") FROM "third_round" WHERE "country"='england' AND "place"='t9' AND "player"='graeme storm';
```
## Task
Generate a SQL query to answer the following question:
`What is Distance, when Venue is "Belgrade"?`

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

CREATE TABLE "men" (
  "nation" text,
  "distance" text,
  "athlete" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Distance, when Venue is "Belgrade"?`:
```sql
                SELECT "distance" FROM "men" WHERE "venue"='belgrade';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Athlete is "Yussuf Alli"?`

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

CREATE TABLE "men" (
  "nation" text,
  "distance" text,
  "athlete" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Athlete is "Yussuf Alli"?`:
```sql
                SELECT "date" FROM "men" WHERE "athlete"='yussuf alli';
```
## Task
Generate a SQL query to answer the following question:
`What is Distance, when Athlete is "Irving Saladino"?`

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

CREATE TABLE "men" (
  "nation" text,
  "distance" text,
  "athlete" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Distance, when Athlete is "Irving Saladino"?`:
```sql
                SELECT "distance" FROM "men" WHERE "athlete"='irving saladino';
```
## Task
Generate a SQL query to answer the following question:
`What is Athlete, when Nation is "Nigeria"?`

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

CREATE TABLE "men" (
  "nation" text,
  "distance" text,
  "athlete" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Athlete, when Nation is "Nigeria"?`:
```sql
                SELECT "athlete" FROM "men" WHERE "nation"='nigeria';
```
## Task
Generate a SQL query to answer the following question:
`What is Nation, when Date is "2004-07-22"?`

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

CREATE TABLE "men" (
  "nation" text,
  "distance" text,
  "athlete" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Nation, when Date is "2004-07-22"?`:
```sql
                SELECT "nation" FROM "men" WHERE "date"='2004-07-22';
```
## Task
Generate a SQL query to answer the following question:
`What is Distance, when Date is "2008-01-12"?`

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

CREATE TABLE "men" (
  "nation" text,
  "distance" text,
  "athlete" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Distance, when Date is "2008-01-12"?`:
```sql
                SELECT "distance" FROM "men" WHERE "date"='2008-01-12';
```
## Task
Generate a SQL query to answer the following question:
`What is the Week of the game with a Result of w 48–20?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Week of the game with a Result of w 48–20?`:
```sql
                SELECT "week" FROM "schedule" WHERE "result"='w 48–20';
```
## Task
Generate a SQL query to answer the following question:
`What is the Record of the game with a Result of l 14–16?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record of the game with a Result of l 14–16?`:
```sql
                SELECT "record" FROM "schedule" WHERE "result"='l 14–16';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the game with a Record of 2–3–1?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the game with a Record of 2–3–1?`:
```sql
                SELECT "date" FROM "schedule" WHERE "record"='2–3–1';
```
## Task
Generate a SQL query to answer the following question:
`What opponent has 32 as the round?`

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

CREATE TABLE "matches" (
  "date" text,
  "time" text,
  "round" text,
  "opponent" text,
  "ground" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent has 32 as the round?`:
```sql
                SELECT "opponent" FROM "matches" WHERE "round"='32';
```
## Task
Generate a SQL query to answer the following question:
`What year was Kelin nominated?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "english_title" text,
  "russian_title" text,
  "kazakh_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Kelin nominated?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "english_title"='kelin';
```
## Task
Generate a SQL query to answer the following question:
`What was the to par score in the match that had a score of 76-71-78-67=292?`

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

CREATE TABLE "final_round_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "winnings" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the to par score in the match that had a score of 76-71-78-67=292?`:
```sql
                SELECT COUNT("to_par") FROM "final_round_sunday" WHERE "score"='76-71-78-67=292';
```
## Task
Generate a SQL query to answer the following question:
`What is Robert Allenby's average to par score?`

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

CREATE TABLE "final_round_sunday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "winnings" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Robert Allenby's average to par score?`:
```sql
                SELECT AVG("to_par") FROM "final_round_sunday" WHERE "player"='robert allenby';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w?`

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

CREATE TABLE "mixed_doubles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w?`:
```sql
                SELECT "tournament" FROM "mixed_doubles_performance_timeline" WHERE "2009"='1r' AND "2012"='w';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the 2010 that has the 2008 of grand slam tournaments?`

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

CREATE TABLE "mixed_doubles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the 2010 that has the 2008 of grand slam tournaments?`:
```sql
                SELECT "2010" FROM "mixed_doubles_performance_timeline" WHERE "2008"='grand slam tournaments';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the 2009 that has the 2011 of A?`

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

CREATE TABLE "mixed_doubles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the 2009 that has the 2011 of A?`:
```sql
                SELECT "2009" FROM "mixed_doubles_performance_timeline" WHERE "2011"='a';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par for the player with total of 155?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par for the player with total of 155?`:
```sql
                SELECT AVG("to_par") FROM "missed_the_cut" WHERE "total"=155;
```
## Task
Generate a SQL query to answer the following question:
`Who won Bronze with Notes of 2.5km, 16controls?`

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

CREATE TABLE "women" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won Bronze with Notes of 2.5km, 16controls?`:
```sql
                SELECT "bronze" FROM "women" WHERE "notes"='2.5km, 16controls';
```
## Task
Generate a SQL query to answer the following question:
`Who won Gold later than 2004 with Notes of 2.73km, 14controls?`

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

CREATE TABLE "women" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won Gold later than 2004 with Notes of 2.73km, 14controls?`:
```sql
                SELECT "gold" FROM "women" WHERE "year">2004 AND "notes"='2.73km, 14controls';
```
## Task
Generate a SQL query to answer the following question:
`Who won Bronze with notes of 2.5km, 14controls?`

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

CREATE TABLE "women" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won Bronze with notes of 2.5km, 14controls?`:
```sql
                SELECT "bronze" FROM "women" WHERE "notes"='2.5km, 14controls';
```
## Task
Generate a SQL query to answer the following question:
`What are the Notes against a Silver for Jenny Johansson earlier than 2006?`

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

CREATE TABLE "women" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the Notes against a Silver for Jenny Johansson earlier than 2006?`:
```sql
                SELECT "notes" FROM "women" WHERE "year"<2006 AND "silver"='jenny johansson';
```
## Task
Generate a SQL query to answer the following question:
`What is the Constituency number for Meerut?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Constituency number for Meerut?`:
```sql
                SELECT "constituency_number" FROM "assembly_segments" WHERE "name"='meerut';
```
## Task
Generate a SQL query to answer the following question:
`What is the name for the constituency at number 48?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name for the constituency at number 48?`:
```sql
                SELECT "name" FROM "assembly_segments" WHERE "constituency_number"='48';
```
## Task
Generate a SQL query to answer the following question:
`When bronze is more than 3, what is the rank?`

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

CREATE TABLE "summary" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `When bronze is more than 3, what is the rank?`:
```sql
                SELECT "rank" FROM "summary" WHERE "bronze">3;
```
## Task
Generate a SQL query to answer the following question:
`When rank is 7 and silver is less than 0, what is the total gold?`

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

CREATE TABLE "summary" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `When rank is 7 and silver is less than 0, what is the total gold?`:
```sql
                SELECT SUM("gold") FROM "summary" WHERE "rank"='7' AND "silver"<0;
```
## Task
Generate a SQL query to answer the following question:
`What player is from Wales?`

### 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 is from Wales?`:
```sql
                SELECT "player" FROM "third_round" WHERE "country"='wales';
```
## Task
Generate a SQL query to answer the following question:
`What player scored 73-68-66=207?`

### 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 scored 73-68-66=207?`:
```sql
                SELECT "player" FROM "third_round" WHERE "score"='73-68-66=207';
```
## Task
Generate a SQL query to answer the following question:
`What Seve Ballesteros's 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 Seve Ballesteros's score?`:
```sql
                SELECT "score" FROM "third_round" WHERE "player"='seve ballesteros';
```
## Task
Generate a SQL query to answer the following question:
`What country is Craig Parry from?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country is Craig Parry from?`:
```sql
                SELECT "country" FROM "third_round" WHERE "player"='craig parry';
```
## Task
Generate a SQL query to answer the following question:
`What country has a score of 66-73-69=208?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country has a score of 66-73-69=208?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='66-73-69=208';
```
## Task
Generate a SQL query to answer the following question:
`What is Road Team, when Result is "74-71"?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Road Team, when Result is "74-71"?`:
```sql
                SELECT "road_team" FROM "nba_finals" WHERE "result"='74-71';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Date is "April 3"?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Date is "April 3"?`:
```sql
                SELECT "result" FROM "nba_finals" WHERE "date"='april 3';
```
## Task
Generate a SQL query to answer the following question:
`What is Game, when Road Team is "Syracuse", and when Result is "96-89"?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Game, when Road Team is "Syracuse", and when Result is "96-89"?`:
```sql
                SELECT "game" FROM "nba_finals" WHERE "road_team"='syracuse' AND "result"='96-89';
```
## Task
Generate a SQL query to answer the following question:
`What is Home Team, when Date is "April 10"?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home Team, when Date is "April 10"?`:
```sql
                SELECT "home_team" FROM "nba_finals" WHERE "date"='april 10';
```
## Task
Generate a SQL query to answer the following question:
`What is Game, when Road Team is "Syracuse", and when Result is "109-82"?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Game, when Road Team is "Syracuse", and when Result is "109-82"?`:
```sql
                SELECT "game" FROM "nba_finals" WHERE "road_team"='syracuse' AND "result"='109-82';
```
## Task
Generate a SQL query to answer the following question:
`What is Road Team, when Date is "April 10"?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Road Team, when Date is "April 10"?`:
```sql
                SELECT "road_team" FROM "nba_finals" WHERE "date"='april 10';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest round with Neil Colzie and a pick smaller than 24?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "overall_pick" real,
  "player" text,
  "school_club_team" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest round with Neil Colzie and a pick smaller than 24?`:
```sql
                SELECT MIN("round") FROM "nfl_draft" WHERE "player"='neil colzie' AND "pick"<24;
```
## Task
Generate a SQL query to answer the following question:
`What team had a pick of 24 and an overall pick of 310?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "overall_pick" real,
  "player" text,
  "school_club_team" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team had a pick of 24 and an overall pick of 310?`:
```sql
                SELECT "school_club_team" FROM "nfl_draft" WHERE "pick"=24 AND "overall_pick"=310;
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the replay game when watford was the away team?`

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

CREATE TABLE "fifth_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 of the replay game when watford was the away team?`:
```sql
                SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"='replay' AND "away_team"='watford';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when walsall was the away team?`

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

CREATE TABLE "fifth_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 `Who was the home team when walsall was the away team?`:
```sql
                SELECT "home_team" FROM "fifth_round_proper" WHERE "away_team"='walsall';
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Venue is "Hong Kong"?`

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

CREATE TABLE "1991_1992" (
  "date" real,
  "name" text,
  "venue" text,
  "winner" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Venue is "Hong Kong"?`:
```sql
                SELECT "name" FROM "1991_1992" WHERE "venue"='hong kong';
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Venue is "Motherwell"?`

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

CREATE TABLE "1991_1992" (
  "date" real,
  "name" text,
  "venue" text,
  "winner" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Venue is "Motherwell"?`:
```sql
                SELECT "name" FROM "1991_1992" WHERE "venue"='motherwell';
```
## Task
Generate a SQL query to answer the following question:
`In 1987, what is the Runners-up when Stefan Edberg is Champion?`

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

CREATE TABLE "singles_champions" (
  "year" real,
  "name_of_tournament" text,
  "champions" text,
  "runners_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 1987, what is the Runners-up when Stefan Edberg is Champion?`:
```sql
                SELECT "runners_up" FROM "singles_champions" WHERE "champions"='stefan edberg' AND "year"=1987;
```
## Task
Generate a SQL query to answer the following question:
`What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament?`

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

CREATE TABLE "singles_champions" (
  "year" real,
  "name_of_tournament" text,
  "champions" text,
  "runners_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament?`:
```sql
                SELECT "runners_up" FROM "singles_champions" WHERE "champions"='ivan lendl' AND "name_of_tournament"='seiko super tennis' AND "year"<1990;
```
## Task
Generate a SQL query to answer the following question:
`In What Tournament did Boris Becker have a Score of 7–6, 6–4?`

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

CREATE TABLE "singles_champions" (
  "year" real,
  "name_of_tournament" text,
  "champions" text,
  "runners_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In What Tournament did Boris Becker have a Score of 7–6, 6–4?`:
```sql
                SELECT "name_of_tournament" FROM "singles_champions" WHERE "champions"='boris becker' AND "score"='7–6, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`What is the external weapon with the falcon shield animal?`

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

CREATE TABLE "knights_weapons_items_and_vehicles" (
  "knight" text,
  "weapon_item" text,
  "external_weapon" text,
  "shield_animal" text,
  "cart" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the external weapon with the falcon shield animal?`:
```sql
                SELECT "external_weapon" FROM "knights_weapons_items_and_vehicles" WHERE "shield_animal"='falcon';
```
## Task
Generate a SQL query to answer the following question:
`What cart has a serpent shield animal?`

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

CREATE TABLE "knights_weapons_items_and_vehicles" (
  "knight" text,
  "weapon_item" text,
  "external_weapon" text,
  "shield_animal" text,
  "cart" text
);
### SQL
Given the database schema, here is the SQL query that answers `What cart has a serpent shield animal?`:
```sql
                SELECT "cart" FROM "knights_weapons_items_and_vehicles" WHERE "shield_animal"='serpent';
```
## Task
Generate a SQL query to answer the following question:
`What is the external weapon of knight zeke?`

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

CREATE TABLE "knights_weapons_items_and_vehicles" (
  "knight" text,
  "weapon_item" text,
  "external_weapon" text,
  "shield_animal" text,
  "cart" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the external weapon of knight zeke?`:
```sql
                SELECT "external_weapon" FROM "knights_weapons_items_and_vehicles" WHERE "knight"='zeke';
```
## Task
Generate a SQL query to answer the following question:
`What is the shield animal of knight phil?`

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

CREATE TABLE "knights_weapons_items_and_vehicles" (
  "knight" text,
  "weapon_item" text,
  "external_weapon" text,
  "shield_animal" text,
  "cart" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the shield animal of knight phil?`:
```sql
                SELECT "shield_animal" FROM "knights_weapons_items_and_vehicles" WHERE "knight"='phil';
```
## Task
Generate a SQL query to answer the following question:
`What is the external weapon with a ramhead cart?`

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

CREATE TABLE "knights_weapons_items_and_vehicles" (
  "knight" text,
  "weapon_item" text,
  "external_weapon" text,
  "shield_animal" text,
  "cart" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the external weapon with a ramhead cart?`:
```sql
                SELECT "external_weapon" FROM "knights_weapons_items_and_vehicles" WHERE "cart"='ramhead cart';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the away team Sheffield Wednesday?`

### 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 `On what date was the away team Sheffield Wednesday?`:
```sql
                SELECT "date" FROM "fourth_round_proper" WHERE "away_team"='sheffield wednesday';
```
## Task
Generate a SQL query to answer the following question:
`What was the tie number for the game with an away team of Hartlepool United?`

### 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 tie number for the game with an away team of Hartlepool United?`:
```sql
                SELECT "tie_no" FROM "fourth_round_proper" WHERE "away_team"='hartlepool united';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in Tie number 16?`

### 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 in Tie number 16?`:
```sql
                SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='16';
```
## Task
Generate a SQL query to answer the following question:
`What is the duration of the commissioner from the zeeland province?`

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

CREATE TABLE "king_s_commissioners" (
  "province" text,
  "commissioner" text,
  "assumed_office" text,
  "duration" text,
  "party" text,
  "born" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration of the commissioner from the zeeland province?`:
```sql
                SELECT "duration" FROM "king_s_commissioners" WHERE "province"='zeeland';
```
## Task
Generate a SQL query to answer the following question:
`Which round has an H/A of H?`

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

CREATE TABLE "fa_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which round has an H/A of H?`:
```sql
                SELECT "round" FROM "fa_cup" WHERE "h_a"='h';
```
## Task
Generate a SQL query to answer the following question:
`Rich round has an H/A of A and the opponent Sheffield United?`

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

CREATE TABLE "fa_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Rich round has an H/A of A and the opponent Sheffield United?`:
```sql
                SELECT "round" FROM "fa_cup" WHERE "h_a"='a' AND "opponents"='sheffield united';
```
## Task
Generate a SQL query to answer the following question:
`What is the population (2008) when the capital was Sanniquellie, created later than 1964?`

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

CREATE TABLE "counties_and_districts" (
  "mapnum" real,
  "county" text,
  "capital" text,
  "population_2008" real,
  "area" text,
  "created" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population (2008) when the capital was Sanniquellie, created later than 1964?`:
```sql
                SELECT SUM("population_2008") FROM "counties_and_districts" WHERE "capital"='sanniquellie' AND "created">1964;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest population (2008) created earlier than 1857, and the county was Sinoe?`

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

CREATE TABLE "counties_and_districts" (
  "mapnum" real,
  "county" text,
  "capital" text,
  "population_2008" real,
  "area" text,
  "created" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest population (2008) created earlier than 1857, and the county was Sinoe?`:
```sql
                SELECT MAX("population_2008") FROM "counties_and_districts" WHERE "created"<1857 AND "county"='sinoe';
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest created year when the map# was 10?`

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

CREATE TABLE "counties_and_districts" (
  "mapnum" real,
  "county" text,
  "capital" text,
  "population_2008" real,
  "area" text,
  "created" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest created year when the map# was 10?`:
```sql
                SELECT MIN("created") FROM "counties_and_districts" WHERE "mapnum"=10;
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue of the game with a Score of 0–0?`

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

CREATE TABLE "scotland_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "competition" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue of the game with a Score of 0–0?`:
```sql
                SELECT "venue" FROM "scotland_national_team" WHERE "score"='0–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue of the Friendly Competition with a Score of 1–4?`

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

CREATE TABLE "scotland_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "competition" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue of the Friendly Competition with a Score of 1–4?`:
```sql
                SELECT "venue" FROM "scotland_national_team" WHERE "competition"='friendly' AND "score"='1–4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue of the WCQ5 Competition?`

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

CREATE TABLE "scotland_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "competition" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue of the WCQ5 Competition?`:
```sql
                SELECT "venue" FROM "scotland_national_team" WHERE "competition"='wcq5';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Competition with a Score of 2–0?`

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

CREATE TABLE "scotland_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "competition" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Competition with a Score of 2–0?`:
```sql
                SELECT "date" FROM "scotland_national_team" WHERE "score"='2–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue of the Competition with a Score of 0–2?`

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

CREATE TABLE "scotland_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "competition" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue of the Competition with a Score of 0–2?`:
```sql
                SELECT "venue" FROM "scotland_national_team" WHERE "score"='0–2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue of the Competition with a Score of 2–0?`

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

CREATE TABLE "scotland_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "competition" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue of the Competition with a Score of 2–0?`:
```sql
                SELECT "venue" FROM "scotland_national_team" WHERE "score"='2–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the binary meaning for symbol p?`

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

CREATE TABLE "systematic_multiples" (
  "symbol" text,
  "prefix" text,
  "si_meaning" text,
  "binary_meaning" text,
  "size_difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the binary meaning for symbol p?`:
```sql
                SELECT "binary_meaning" FROM "systematic_multiples" WHERE "symbol"='p';
```
## Task
Generate a SQL query to answer the following question:
`What;s the SI Meaning for symbol m?`

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

CREATE TABLE "systematic_multiples" (
  "symbol" text,
  "prefix" text,
  "si_meaning" text,
  "binary_meaning" text,
  "size_difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What;s the SI Meaning for symbol m?`:
```sql
                SELECT "si_meaning" FROM "systematic_multiples" WHERE "symbol"='m';
```
## Task
Generate a SQL query to answer the following question:
`Which prefix has a binary meaning of 2 10 = 1024 1?`

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

CREATE TABLE "systematic_multiples" (
  "symbol" text,
  "prefix" text,
  "si_meaning" text,
  "binary_meaning" text,
  "size_difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which prefix has a binary meaning of 2 10 = 1024 1?`:
```sql
                SELECT "prefix" FROM "systematic_multiples" WHERE "binary_meaning"='2 10 = 1024 1';
```
## Task
Generate a SQL query to answer the following question:
`What is the size difference for exa?`

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

CREATE TABLE "systematic_multiples" (
  "symbol" text,
  "prefix" text,
  "si_meaning" text,
  "binary_meaning" text,
  "size_difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the size difference for exa?`:
```sql
                SELECT "size_difference" FROM "systematic_multiples" WHERE "prefix"='exa';
```
## Task
Generate a SQL query to answer the following question:
`What is the size difference for the binary meaning of 2 70 = 1024 7?`

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

CREATE TABLE "systematic_multiples" (
  "symbol" text,
  "prefix" text,
  "si_meaning" text,
  "binary_meaning" text,
  "size_difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the size difference for the binary meaning of 2 70 = 1024 7?`:
```sql
                SELECT "size_difference" FROM "systematic_multiples" WHERE "binary_meaning"='2 70 = 1024 7';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of champion masahiro kawamura?`

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

CREATE TABLE "winners" (
  "year" real,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "tournament_location" text,
  "purse" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of champion masahiro kawamura?`:
```sql
                SELECT "score" FROM "winners" WHERE "champion"='masahiro kawamura';
```
## Task
Generate a SQL query to answer the following question:
`What dates was champion masahiro kawamura at the ibaraki country club tournament?`

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

CREATE TABLE "winners" (
  "year" real,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "tournament_location" text,
  "purse" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `What dates was champion masahiro kawamura at the ibaraki country club tournament?`:
```sql
                SELECT "dates" FROM "winners" WHERE "tournament_location"='ibaraki country club' AND "champion"='masahiro kawamura';
```