cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How large was the crowd at the Kardinia Park venue games?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How large was the crowd at the Kardinia Park venue games?`:
```sql
                SELECT SUM("crowd") FROM "round_3" WHERE "venue"='kardinia park';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the Home team that played against Carlton's Away game?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the Home team that played against Carlton's Away game?`:
```sql
                SELECT "home_team_score" FROM "round_3" WHERE "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What was the pick number when mark hayes was drafted?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the pick number when mark hayes was drafted?`:
```sql
                SELECT "pick" FROM "nfl_draft" WHERE "player"='mark hayes';
```
## Task
Generate a SQL query to answer the following question:
`Which team had a pick of 63?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had a pick of 63?`:
```sql
                SELECT "school_club_team" FROM "nfl_draft" WHERE "pick"=63;
```
## Task
Generate a SQL query to answer the following question:
`Which team had a position of linebacker with a pick smaller of 288?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had a position of linebacker with a pick smaller of 288?`:
```sql
                SELECT "school_club_team" FROM "nfl_draft" WHERE "position"='linebacker' AND "pick"<288;
```
## Task
Generate a SQL query to answer the following question:
`What player did louisville pick when the round was below 8?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player did louisville pick when the round was below 8?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "round"<8 AND "school_club_team"='louisville';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome of the game that had a score of 3–6, 6–3, 6–0?`

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

CREATE TABLE "itf_singles_finals_19" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome of the game that had a score of 3–6, 6–3, 6–0?`:
```sql
                SELECT "outcome" FROM "itf_singles_finals_19" WHERE "score"='3–6, 6–3, 6–0';
```
## Task
Generate a SQL query to answer the following question:
`On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3?`

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

CREATE TABLE "itf_singles_finals_19" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3?`:
```sql
                SELECT "outcome" FROM "itf_singles_finals_19" WHERE "score"='7–5, 6–3' AND "date"='27 july 2003';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the game against Lenka Novotná?`

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

CREATE TABLE "itf_singles_finals_19" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the game against Lenka Novotná?`:
```sql
                SELECT "score" FROM "itf_singles_finals_19" WHERE "opponent_in_the_final"='lenka novotná';
```
## Task
Generate a SQL query to answer the following question:
`In the surface of clay who was the opponent in the game resulting in a score of 6–4, 6–4?`

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

CREATE TABLE "itf_singles_finals_19" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the surface of clay who was the opponent in the game resulting in a score of 6–4, 6–4?`:
```sql
                SELECT "opponent_in_the_final" FROM "itf_singles_finals_19" WHERE "surface"='clay' AND "score"='6–4, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the game against opponent Ana Ivanovic?`

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

CREATE TABLE "itf_singles_finals_19" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the game against opponent Ana Ivanovic?`:
```sql
                SELECT "score" FROM "itf_singles_finals_19" WHERE "opponent_in_the_final"='ana ivanovic';
```
## Task
Generate a SQL query to answer the following question:
`What is the total grid number where the time/retired is +58.182 and the lap number is less than 67?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total grid number where the time/retired is +58.182 and the lap number is less than 67?`:
```sql
                SELECT SUM("grid") FROM "race" WHERE "time_retired"='+58.182' AND "laps"<67;
```
## Task
Generate a SQL query to answer the following question:
`What horse was induced in 2011 with a sire of cowboy p-12?`

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

CREATE TABLE "horses" (
  "name_of_horse" text,
  "year_inducted" real,
  "year_foaled" text,
  "sire" text,
  "broodmare_sire" text,
  "discipline" text
);
### SQL
Given the database schema, here is the SQL query that answers `What horse was induced in 2011 with a sire of cowboy p-12?`:
```sql
                SELECT "name_of_horse" FROM "horses" WHERE "year_inducted"=2011 AND "broodmare_sire"='cowboy p-12';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team that played against hawthorn?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team that played against hawthorn?`:
```sql
                SELECT "home_team" FROM "round_13" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team playing against collingwood?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team playing against collingwood?`:
```sql
                SELECT "away_team" FROM "round_13" WHERE "home_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What was the biggest crowd at punt road oval?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the biggest crowd at punt road oval?`:
```sql
                SELECT MAX("crowd") FROM "round_13" WHERE "venue"='punt road oval';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team based at windy hill?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team based at windy hill?`:
```sql
                SELECT "home_team" FROM "round_13" WHERE "venue"='windy hill';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Assistant Dean of Men when Autumn Teele was the Assistant Dean of Women?`

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

CREATE TABLE "historical_list_of_staff_and_faculty" (
  "year" text,
  "president" text,
  "chair_of_global_ministries" text,
  "chair_of_pastoral" text,
  "chair_of_music" text,
  "dean_of_students" text,
  "dean_of_men" text,
  "dean_of_women" text,
  "assistant_dean_of_men" text,
  "assistant_dean_of_women" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Assistant Dean of Men when Autumn Teele was the Assistant Dean of Women?`:
```sql
                SELECT "assistant_dean_of_men" FROM "historical_list_of_staff_and_faculty" WHERE "assistant_dean_of_women"='autumn teele';
```
## Task
Generate a SQL query to answer the following question:
`What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 bronzes?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 bronzes?`:
```sql
                SELECT MIN("gold") FROM "medal_count" WHERE "silver"<23 AND "rank">5 AND "bronze"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the high silver total for nations with 3 golds and under 5 bronzes?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the high silver total for nations with 3 golds and under 5 bronzes?`:
```sql
                SELECT MAX("silver") FROM "medal_count" WHERE "gold"=3 AND "bronze"<5;
```
## Task
Generate a SQL query to answer the following question:
`How many silvers for nations with over 3 golds and under 6 bronzes?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many silvers for nations with over 3 golds and under 6 bronzes?`:
```sql
                SELECT COUNT("silver") FROM "medal_count" WHERE "bronze"<6 AND "gold">3;
```
## Task
Generate a SQL query to answer the following question:
`What is the crowd number for the event that has a score of 8.25 (73) for the Away team?`

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

CREATE TABLE "round_19" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the crowd number for the event that has a score of 8.25 (73) for the Away team?`:
```sql
                SELECT COUNT("crowd") FROM "round_19" WHERE "away_team_score"='8.25 (73)';
```
## Task
Generate a SQL query to answer the following question:
`When the away team has a total score of 13.9 (87), what is the name of the away team?`

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

CREATE TABLE "round_19" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the away team has a total score of 13.9 (87), what is the name of the away team?`:
```sql
                SELECT "away_team" FROM "round_19" WHERE "away_team_score"='13.9 (87)';
```
## Task
Generate a SQL query to answer the following question:
`What was the date that featured a score of 8.8 (56) for the away team?`

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

CREATE TABLE "round_19" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date that featured a score of 8.8 (56) for the away team?`:
```sql
                SELECT "date" FROM "round_19" WHERE "away_team_score"='8.8 (56)';
```
## Task
Generate a SQL query to answer the following question:
`When the home team had a score of 13.19 (97), what was the score of the away team?`

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

CREATE TABLE "round_19" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the home team had a score of 13.19 (97), what was the score of the away team?`:
```sql
                SELECT "away_team_score" FROM "round_19" WHERE "home_team_score"='13.19 (97)';
```
## Task
Generate a SQL query to answer the following question:
`What was the smallest crowd in games at the corio oval?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the smallest crowd in games at the corio oval?`:
```sql
                SELECT MIN("crowd") FROM "round_10" WHERE "venue"='corio oval';
```
## Task
Generate a SQL query to answer the following question:
`In the match where Melbourne was the away team, how much did they score?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the match where Melbourne was the away team, how much did they score?`:
```sql
                SELECT "away_team_score" FROM "round_10" WHERE "away_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`On what day did a home team score 8.18 (66)?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what day did a home team score 8.18 (66)?`:
```sql
                SELECT "date" FROM "round_10" WHERE "home_team_score"='8.18 (66)';
```
## Task
Generate a SQL query to answer the following question:
`Who had the decision when buffalo was the visitor?`

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

CREATE TABLE "october" (
  "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 `Who had the decision when buffalo was the visitor?`:
```sql
                SELECT "decision" FROM "october" WHERE "visitor"='buffalo';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the venue for north melbourne`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the venue for north melbourne`:
```sql
                SELECT "venue" FROM "round_13" WHERE "away_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What name has a listed of 03/31/1989 in spartanburg county?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name has a listed of 03/31/1989 in spartanburg county?`:
```sql
                SELECT "name" FROM "superfund_sites" WHERE "listed"='03/31/1989' AND "county"='spartanburg';
```
## Task
Generate a SQL query to answer the following question:
`What date was proposed when the listed date was 12/16/1994 in the County of beaufort?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was proposed when the listed date was 12/16/1994 in the County of beaufort?`:
```sql
                SELECT "proposed" FROM "superfund_sites" WHERE "listed"='12/16/1994' AND "county"='beaufort';
```
## Task
Generate a SQL query to answer the following question:
`What name was listed 02/21/1990, and a CERCLIS ID of scd980844005?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name was listed 02/21/1990, and a CERCLIS ID of scd980844005?`:
```sql
                SELECT "name" FROM "superfund_sites" WHERE "listed"='02/21/1990' AND "cerclis_id"='scd980844005';
```
## Task
Generate a SQL query to answer the following question:
`What county has a CERCLIS ID of scd037405362?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What county has a CERCLIS ID of scd037405362?`:
```sql
                SELECT "county" FROM "superfund_sites" WHERE "cerclis_id"='scd037405362';
```
## Task
Generate a SQL query to answer the following question:
`What is the name for Charleston County with a CERCLIS ID of scd980711279?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name for Charleston County with a CERCLIS ID of scd980711279?`:
```sql
                SELECT "name" FROM "superfund_sites" WHERE "county"='charleston' AND "cerclis_id"='scd980711279';
```
## Task
Generate a SQL query to answer the following question:
`What is the name for the listed date of 11/21/1989?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name for the listed date of 11/21/1989?`:
```sql
                SELECT "name" FROM "superfund_sites" WHERE "listed"='11/21/1989';
```
## Task
Generate a SQL query to answer the following question:
`Which category was Gene Barry nominated in?`

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

CREATE TABLE "original_broadway_production" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which category was Gene Barry nominated in?`:
```sql
                SELECT "category" FROM "original_broadway_production" WHERE "result"='nominated' AND "nominee"='gene barry';
```
## Task
Generate a SQL query to answer the following question:
`What year was the Drama Desk award won by nominee George Hearn?`

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

CREATE TABLE "original_broadway_production" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the Drama Desk award won by nominee George Hearn?`:
```sql
                SELECT "year" FROM "original_broadway_production" WHERE "award"='drama desk award' AND "result"='won' AND "nominee"='george hearn';
```
## Task
Generate a SQL query to answer the following question:
`What is the time/retired for grid 5?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time/retired for grid 5?`:
```sql
                SELECT "time_retired" FROM "classification" WHERE "grid"=5;
```
## Task
Generate a SQL query to answer the following question:
`When was the event that had Liberia as an opponent and resulted in a 1-0 score?`

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

CREATE TABLE "recent_results_and_forthcoming_fixtures" (
  "date" text,
  "location" text,
  "opponent" text,
  "score" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the event that had Liberia as an opponent and resulted in a 1-0 score?`:
```sql
                SELECT "date" FROM "recent_results_and_forthcoming_fixtures" WHERE "opponent"='liberia' AND "score"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent`

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

CREATE TABLE "recent_results_and_forthcoming_fixtures" (
  "date" text,
  "location" text,
  "opponent" text,
  "score" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent`:
```sql
                SELECT "date" FROM "recent_results_and_forthcoming_fixtures" WHERE "competition"='2014 world cup qualification' AND "location"='kampala' AND "opponent"='angola';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Europe/Africa group i's opponent?`

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

CREATE TABLE "fed_cup_singles_performances_9" (
  "edition" real,
  "zone" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "outcome" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Europe/Africa group i's opponent?`:
```sql
                SELECT "opponent" FROM "fed_cup_singles_performances_9" WHERE "zone"='europe/africa group i';
```
## Task
Generate a SQL query to answer the following question:
`What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent?`

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

CREATE TABLE "fed_cup_singles_performances_9" (
  "edition" real,
  "zone" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "outcome" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent?`:
```sql
                SELECT "zone" FROM "fed_cup_singles_performances_9" WHERE "round"='semifinal' AND "against"='israel' AND "opponent"='anna smashnova';
```
## Task
Generate a SQL query to answer the following question:
`What surface was played on against Shahar Pe'er?`

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

CREATE TABLE "fed_cup_singles_performances_9" (
  "edition" real,
  "zone" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "outcome" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What surface was played on against Shahar Pe'er?`:
```sql
                SELECT "surface" FROM "fed_cup_singles_performances_9" WHERE "opponent"='shahar pe''er';
```
## Task
Generate a SQL query to answer the following question:
`I want the years for marathon distance and wins of 3`

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

CREATE TABLE "multiple_winners" (
  "athlete" text,
  "country" text,
  "wins" real,
  "years" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want the years for marathon distance and wins of 3`:
```sql
                SELECT "years" FROM "multiple_winners" WHERE "distance"='marathon' AND "wins"=3;
```
## Task
Generate a SQL query to answer the following question:
`Name the country for athlete of ziedonis zaļkalns`

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

CREATE TABLE "multiple_winners" (
  "athlete" text,
  "country" text,
  "wins" real,
  "years" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country for athlete of ziedonis zaļkalns`:
```sql
                SELECT "country" FROM "multiple_winners" WHERE "athlete"='ziedonis zaļkalns';
```
## Task
Generate a SQL query to answer the following question:
`I want the attendance which has a result of l 49–21`

### 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,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want the attendance which has a result of l 49–21`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "result"='l 49–21';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the attendance with a result of l 26–3`

### 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,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the attendance with a result of l 26–3`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "result"='l 26–3';
```
## Task
Generate a SQL query to answer the following question:
`I want to know the lowest week with a date of december 19, 2004`

### 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,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want to know the lowest week with a date of december 19, 2004`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "date"='december 19, 2004';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance of the location where New Orleans's team plays?`

### 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 attendance of the location where New Orleans's team plays?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='new orleans';
```
## Task
Generate a SQL query to answer the following question:
`Which team has the high points of Raymond Felton (26)?`

### 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 `Which team has the high points of Raymond Felton (26)?`:
```sql
                SELECT "team" FROM "game_log" WHERE "high_points"='raymond felton (26)';
```
## Task
Generate a SQL query to answer the following question:
`What is the time of the driver on grid 7?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time of the driver on grid 7?`:
```sql
                SELECT "time_retired" FROM "race" WHERE "grid"=7;
```
## Task
Generate a SQL query to answer the following question:
`Which Constructor has grid 2?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Constructor has grid 2?`:
```sql
                SELECT "constructor" FROM "race" WHERE "grid"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest grid that has 55 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest grid that has 55 laps?`:
```sql
                SELECT MAX("grid") FROM "race" WHERE "laps"=55;
```
## Task
Generate a SQL query to answer the following question:
`Who was Richmond's away team opponent?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Richmond's away team opponent?`:
```sql
                SELECT "away_team_score" FROM "round_15" WHERE "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What was the away score at VFL Park?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away score at VFL Park?`:
```sql
                SELECT "away_team_score" FROM "round_15" WHERE "venue"='vfl park';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the home team score for richmond home team`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the home team score for richmond home team`:
```sql
                SELECT "home_team_score" FROM "round_6" WHERE "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the venue for 8 june 1931 for st kilda away team`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the venue for 8 june 1931 for st kilda away team`:
```sql
                SELECT "venue" FROM "round_6" WHERE "date"='8 june 1931' AND "away_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`When fitzroy was the home team, how much did the away team score?`

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

CREATE TABLE "round_22" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When fitzroy was the home team, how much did the away team score?`:
```sql
                SELECT "away_team_score" FROM "round_22" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`In the game where the home team scored 15.11 (101) and carlton was away, where was the venue?`

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

CREATE TABLE "round_22" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the game where the home team scored 15.11 (101) and carlton was away, where was the venue?`:
```sql
                SELECT "venue" FROM "round_22" WHERE "home_team_score"='15.11 (101)' AND "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`When essendon was the home team, how much did they score?`

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

CREATE TABLE "round_22" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When essendon was the home team, how much did they score?`:
```sql
                SELECT "home_team_score" FROM "round_22" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What is shintaro ishiwatari's time?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `What is shintaro ishiwatari's time?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='shintaro ishiwatari';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds have an Opponent of sakae kasuya?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds have an Opponent of sakae kasuya?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "opponent"='sakae kasuya';
```
## Task
Generate a SQL query to answer the following question:
`Which time has a Method of decision(majority), and an Opponent of keisuke yamada?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `Which time has a Method of decision(majority), and an Opponent of keisuke yamada?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "method"='decision(majority)' AND "opponent"='keisuke yamada';
```
## Task
Generate a SQL query to answer the following question:
`Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='shooto' AND "round"=2 AND "opponent"='issei tamura';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team that played at punt road oval?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the away team that played at punt road oval?`:
```sql
                SELECT "away_team" FROM "round_15" WHERE "venue"='punt road oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team score that played at windy hill?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team score that played at windy hill?`:
```sql
                SELECT "home_team_score" FROM "round_15" WHERE "venue"='windy hill';
```
## Task
Generate a SQL query to answer the following question:
`How big was the crowd at the game the away team geelong played at?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How big was the crowd at the game the away team geelong played at?`:
```sql
                SELECT SUM("crowd") FROM "round_15" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`Which constructor has a race called I News of the World Trophy?`

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

CREATE TABLE "non_championship_race_results" (
  "race_name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which constructor has a race called I News of the World Trophy?`:
```sql
                SELECT "constructor" FROM "non_championship_race_results" WHERE "race_name"='i news of the world trophy';
```
## Task
Generate a SQL query to answer the following question:
`Which Constructor has the goodwood circuit?`

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

CREATE TABLE "non_championship_race_results" (
  "race_name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Constructor has the goodwood circuit?`:
```sql
                SELECT "constructor" FROM "non_championship_race_results" WHERE "circuit"='goodwood';
```
## Task
Generate a SQL query to answer the following question:
`What driver won the VII Rand Grand Prix?`

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

CREATE TABLE "non_championship_race_results" (
  "race_name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What driver won the VII Rand Grand Prix?`:
```sql
                SELECT "winning_driver" FROM "non_championship_race_results" WHERE "race_name"='vii rand grand prix';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the race that has the pergusa Circuit?`

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

CREATE TABLE "non_championship_race_results" (
  "race_name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the race that has the pergusa Circuit?`:
```sql
                SELECT "race_name" FROM "non_championship_race_results" WHERE "circuit"='pergusa';
```
## Task
Generate a SQL query to answer the following question:
`What is the scoreof the away team Collingwood?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the scoreof the away team Collingwood?`:
```sql
                SELECT "away_team_score" FROM "round_8" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`Jean Alesi, drives the Acer 01A engine for which team?`

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

CREATE TABLE "drivers_and_constructors" (
  "team" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyre" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Jean Alesi, drives the Acer 01A engine for which team?`:
```sql
                SELECT "team" FROM "drivers_and_constructors" WHERE "driver"='jean alesi' AND "engine"='acer 01a';
```
## Task
Generate a SQL query to answer the following question:
`Who built Alex Yoong's car?`

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

CREATE TABLE "drivers_and_constructors" (
  "team" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyre" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who built Alex Yoong's car?`:
```sql
                SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='alex yoong';
```
## Task
Generate a SQL query to answer the following question:
`What's jim colbert's highest rank?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's jim colbert's highest rank?`:
```sql
                SELECT MAX("rank") FROM "leaders" WHERE "player"='jim colbert';
```
## Task
Generate a SQL query to answer the following question:
`What's hale irwin's average rank?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's hale irwin's average rank?`:
```sql
                SELECT AVG("rank") FROM "leaders" WHERE "player"='hale irwin';
```
## Task
Generate a SQL query to answer the following question:
`What is the average wins with a rank over 3 and more earnings than $9,735,814?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average wins with a rank over 3 and more earnings than $9,735,814?`:
```sql
                SELECT AVG("wins") FROM "leaders" WHERE "rank">3 AND "earnings">'9,735,814';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of averages with a long value of 32?`

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

CREATE TABLE "receiving" (
  "player" text,
  "rec" real,
  "yards" real,
  "avg" real,
  "td_s" real,
  "long" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of averages with a long value of 32?`:
```sql
                SELECT SUM("avg") FROM "receiving" WHERE "long"=32;
```