cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the played average that has botev plovdiv as the club and wins larger than 11?`

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

CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "points" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the played average that has botev plovdiv as the club and wins larger than 11?`:
```sql
                SELECT AVG("played") FROM "final_table" WHERE "club"='botev plovdiv' AND "wins">11;
```
## Task
Generate a SQL query to answer the following question:
`Where did they play on their bye week?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "kickoff" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "nfl_com_recap" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did they play on their bye week?`:
```sql
                SELECT "game_site" FROM "regular_season" WHERE "record"='bye';
```
## Task
Generate a SQL query to answer the following question:
`What is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "kickoff" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "nfl_com_recap" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium?`:
```sql
                SELECT "kickoff" FROM "regular_season" WHERE "nfl_com_recap"='recap' AND "week"<17 AND "game_site"='arrowhead stadium';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team at brunswick street oval?`

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

CREATE TABLE "round_1" (
  "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 at brunswick street oval?`:
```sql
                SELECT "home_team" FROM "round_1" WHERE "venue"='brunswick street oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team's score at brunswick street oval?`

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

CREATE TABLE "round_1" (
  "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's score at brunswick street oval?`:
```sql
                SELECT "home_team_score" FROM "round_1" WHERE "venue"='brunswick street oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the away side's score when the home team's score is 15.14 (104)?`

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

CREATE TABLE "round_1" (
  "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 side's score when the home team's score is 15.14 (104)?`:
```sql
                SELECT "away_team_score" FROM "round_1" WHERE "home_team_score"='15.14 (104)';
```
## Task
Generate a SQL query to answer the following question:
`When did the match take place that had an away team score of 12.12 (84)?`

### 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 `When did the match take place that had an away team score of 12.12 (84)?`:
```sql
                SELECT "date" FROM "round_10" WHERE "away_team_score"='12.12 (84)';
```
## Task
Generate a SQL query to answer the following question:
`What was the crowd size of the match where the home team scored 7.7 (49) against Geelong?`

### 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 crowd size of the match where the home team scored 7.7 (49) against Geelong?`:
```sql
                SELECT SUM("crowd") FROM "round_10" WHERE "home_team_score"='7.7 (49)' AND "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`Which match had the largest crowd size where the away team was North Melbourne?`

### 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 `Which match had the largest crowd size where the away team was North Melbourne?`:
```sql
                SELECT MAX("crowd") FROM "round_10" WHERE "away_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What away team scored 6.12 (48)?`

### 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 away team scored 6.12 (48)?`:
```sql
                SELECT "away_team" FROM "round_13" WHERE "away_team_score"='6.12 (48)';
```
## Task
Generate a SQL query to answer the following question:
`What was North Melbourne's score as an away team?`

### 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 North Melbourne's score as an away team?`:
```sql
                SELECT "away_team_score" FROM "round_13" WHERE "away_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the crowd size when the away team scored 10.9 (69)?`

### 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 crowd size when the away team scored 10.9 (69)?`:
```sql
                SELECT COUNT("crowd") FROM "round_13" WHERE "away_team_score"='10.9 (69)';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score 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 `What was the away team's score against Hawthorn?`:
```sql
                SELECT "away_team_score" FROM "round_13" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team that played the home team of Geelong?`

### 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 away team that played the home team of Geelong?`:
```sql
                SELECT "away_team" FROM "round_13" WHERE "home_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What week has an attended smaller than 62,723 on October 22, 1961?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What week has an attended smaller than 62,723 on October 22, 1961?`:
```sql
                SELECT AVG("week") FROM "regular_season_schedule" WHERE "attendance"<'62,723' AND "date"='october 22, 1961';
```
## Task
Generate a SQL query to answer the following question:
`Which week with Green Bay Packers as an opponent is the highest?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which week with Green Bay Packers as an opponent is the highest?`:
```sql
                SELECT MAX("week") FROM "regular_season_schedule" WHERE "opponent"='green bay packers';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of starts for the player who lost fewer than 22 and has more than 4 tries?`

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

CREATE TABLE "most_caps" (
  "player" text,
  "span" text,
  "start" real,
  "tries" real,
  "conv" real,
  "pens" real,
  "drop" real,
  "lost" real,
  "draw" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of starts for the player who lost fewer than 22 and has more than 4 tries?`:
```sql
                SELECT AVG("start") FROM "most_caps" WHERE "lost"<22 AND "tries">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the total losses for the player with fewer than 51 pens, 3 tries and 45 starts?`

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

CREATE TABLE "most_caps" (
  "player" text,
  "span" text,
  "start" real,
  "tries" real,
  "conv" real,
  "pens" real,
  "drop" real,
  "lost" real,
  "draw" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total losses for the player with fewer than 51 pens, 3 tries and 45 starts?`:
```sql
                SELECT COUNT("lost") FROM "most_caps" WHERE "pens"<51 AND "tries"=3 AND "start"=45;
```
## Task
Generate a SQL query to answer the following question:
`What is the average crowd size at glenferrie oval?`

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

CREATE TABLE "round_12" (
  "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 average crowd size at glenferrie oval?`:
```sql
                SELECT AVG("crowd") FROM "round_12" WHERE "venue"='glenferrie oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team's score when the away team is geelong?`

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

CREATE TABLE "round_12" (
  "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's score when the away team is geelong?`:
```sql
                SELECT "away_team_score" FROM "round_12" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team's score when geelong is the away side playing in front of a crowd of larger than 10,500, and the home team scoring 13.10 (88)?`

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

CREATE TABLE "round_12" (
  "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's score when geelong is the away side playing in front of a crowd of larger than 10,500, and the home team scoring 13.10 (88)?`:
```sql
                SELECT "away_team_score" FROM "round_12" WHERE "crowd">'10,500' AND "home_team_score"='13.10 (88)' AND "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd when melbourne plays at home?`

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

CREATE TABLE "round_12" (
  "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 largest crowd when melbourne plays at home?`:
```sql
                SELECT MAX("crowd") FROM "round_12" WHERE "home_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the championship game for the Southwest conference?`

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

CREATE TABLE "record_by_conference" (
  "conference" text,
  "num_of_bids" real,
  "record" text,
  "win_pct" real,
  "round_of_32" real,
  "sweet_sixteen" text,
  "elite_eight" text,
  "final_four" text,
  "championship_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the championship game for the Southwest conference?`:
```sql
                SELECT "championship_game" FROM "record_by_conference" WHERE "conference"='southwest';
```
## Task
Generate a SQL query to answer the following question:
`Which manager has Sol Campbell as captain?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_maker" text,
  "shirt_sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which manager has Sol Campbell as captain?`:
```sql
                SELECT "manager" FROM "personnel_and_kits" WHERE "captain"='sol campbell';
```
## Task
Generate a SQL query to answer the following question:
`What team does Carlsberg sponsor?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_maker" text,
  "shirt_sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team does Carlsberg sponsor?`:
```sql
                SELECT "team" FROM "personnel_and_kits" WHERE "shirt_sponsor"='carlsberg';
```
## Task
Generate a SQL query to answer the following question:
`Who sponsors Middlesbrough?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_maker" text,
  "shirt_sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who sponsors Middlesbrough?`:
```sql
                SELECT "shirt_sponsor" FROM "personnel_and_kits" WHERE "team"='middlesbrough';
```
## Task
Generate a SQL query to answer the following question:
`Which sponsor has Mark Hughes as manager?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_maker" text,
  "shirt_sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which sponsor has Mark Hughes as manager?`:
```sql
                SELECT "shirt_sponsor" FROM "personnel_and_kits" WHERE "manager"='mark hughes';
```
## Task
Generate a SQL query to answer the following question:
`Which kit maker does Aston Villa use?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_maker" text,
  "shirt_sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which kit maker does Aston Villa use?`:
```sql
                SELECT "kit_maker" FROM "personnel_and_kits" WHERE "team"='aston villa';
```
## Task
Generate a SQL query to answer the following question:
`Who captains Portsmouth?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_maker" text,
  "shirt_sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who captains Portsmouth?`:
```sql
                SELECT "captain" FROM "personnel_and_kits" WHERE "team"='portsmouth';
```
## Task
Generate a SQL query to answer the following question:
`What bombing happened in Brighton, UK?`

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

CREATE TABLE "list_of_some_notable_incidents_involving" (
  "year" real,
  "event" text,
  "location" text,
  "perpetrator_s" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `What bombing happened in Brighton, UK?`:
```sql
                SELECT "event" FROM "list_of_some_notable_incidents_involving" WHERE "location"='brighton, uk';
```
## Task
Generate a SQL query to answer the following question:
`What result had a score of 3–0?`

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

CREATE TABLE "papa_bouba_diop_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What result had a score of 3–0?`:
```sql
                SELECT "result" FROM "papa_bouba_diop_international_goals" WHERE "score"='3–0';
```
## Task
Generate a SQL query to answer the following question:
`For the venue of suwon world cup stadium , suwon , south korea and a Score of 3–0 what is the result?`

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

CREATE TABLE "papa_bouba_diop_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the venue of suwon world cup stadium , suwon , south korea and a Score of 3–0 what is the result?`:
```sql
                SELECT "result" FROM "papa_bouba_diop_international_goals" WHERE "venue"='suwon world cup stadium , suwon , south korea' AND "score"='3–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the top goal for the result of 2–3?`

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

CREATE TABLE "papa_bouba_diop_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the top goal for the result of 2–3?`:
```sql
                SELECT MAX("goal") FROM "papa_bouba_diop_international_goals" WHERE "result"='2–3';
```
## Task
Generate a SQL query to answer the following question:
`When was the time of 12:49:08 first set?`

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

CREATE TABLE "event_records" (
  "grade" text,
  "team" text,
  "town" text,
  "time" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was the time of 12:49:08 first set?`:
```sql
                SELECT MIN("year") FROM "event_records" WHERE "time"='12:49:08';
```
## Task
Generate a SQL query to answer the following question:
`What was the date when the attendance was 77,918?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date when the attendance was 77,918?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "attendance"='77,918';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance of the game played in the Georgia Dome?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance of the game played in the Georgia Dome?`:
```sql
                SELECT "attendance" FROM "regular_season" WHERE "game_site"='georgia dome';
```
## Task
Generate a SQL query to answer the following question:
`What was the date when the attendance was 73,529?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date when the attendance was 73,529?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "attendance"='73,529';
```
## Task
Generate a SQL query to answer the following question:
`What away team played at Western Oval?`

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

CREATE TABLE "round_14" (
  "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 away team played at Western Oval?`:
```sql
                SELECT "away_team" FROM "round_14" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`What away team scored 18.14 (122)?`

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

CREATE TABLE "round_14" (
  "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 away team scored 18.14 (122)?`:
```sql
                SELECT "away_team" FROM "round_14" WHERE "away_team_score"='18.14 (122)';
```
## Task
Generate a SQL query to answer the following question:
`What away team scored 9.15 (69)?`

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

CREATE TABLE "round_14" (
  "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 away team scored 9.15 (69)?`:
```sql
                SELECT "away_team" FROM "round_14" WHERE "away_team_score"='9.15 (69)';
```
## Task
Generate a SQL query to answer the following question:
`What was the smallest crowd when Footscray played at home?`

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

CREATE TABLE "round_14" (
  "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 when Footscray played at home?`:
```sql
                SELECT MIN("crowd") FROM "round_14" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team when the home team scored 9.8 (62)?`

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

CREATE TABLE "round_14" (
  "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 team when the home team scored 9.8 (62)?`:
```sql
                SELECT "away_team" FROM "round_14" WHERE "home_team_score"='9.8 (62)';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game held when the away team scored 10.12 (72)?`

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

CREATE TABLE "round_11" (
  "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 `Where was the game held when the away team scored 10.12 (72)?`:
```sql
                SELECT "venue" FROM "round_11" WHERE "away_team_score"='10.12 (72)';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team's score at the game where the away team scored 13.6 (84)?`

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

CREATE TABLE "round_11" (
  "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 home team's score at the game where the away team scored 13.6 (84)?`:
```sql
                SELECT "home_team_score" FROM "round_11" WHERE "away_team_score"='13.6 (84)';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome when she partnered with mashona washington?`

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

CREATE TABLE "doubles_11_1_10" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome when she partnered with mashona washington?`:
```sql
                SELECT "outcome" FROM "doubles_11_1_10" WHERE "partner"='mashona washington';
```
## Task
Generate a SQL query to answer the following question:
`What is the listed crowd at junction oval?`

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

CREATE TABLE "round_9" (
  "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 listed crowd at junction oval?`:
```sql
                SELECT "crowd" FROM "round_9" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of crowd(s) when north melbourne is away?`

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

CREATE TABLE "round_9" (
  "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 sum of crowd(s) when north melbourne is away?`:
```sql
                SELECT SUM("crowd") FROM "round_9" WHERE "away_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What day is south melbourne away?`

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

CREATE TABLE "round_9" (
  "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 day is south melbourne away?`:
```sql
                SELECT "date" FROM "round_9" WHERE "away_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score when the home team scored 16.14 (110)?`

### 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 was the away team's score when the home team scored 16.14 (110)?`:
```sql
                SELECT "away_team_score" FROM "round_8" WHERE "home_team_score"='16.14 (110)';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team's score when the away team scored 13.14 (92)?`

### 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 was the home team's score when the away team scored 13.14 (92)?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "away_team_score"='13.14 (92)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team at the game where the away team scored 10.13 (73) and there was a crowd over 24,119?`

### 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 `Who was the home team at the game where the away team scored 10.13 (73) and there was a crowd over 24,119?`:
```sql
                SELECT "home_team" FROM "round_8" WHERE "crowd">'24,119' AND "away_team_score"='10.13 (73)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the competition on 23 November 2003?`

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

CREATE TABLE "goals_for_senior_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the competition on 23 November 2003?`:
```sql
                SELECT "score" FROM "goals_for_senior_national_team" WHERE "date"='23 november 2003';
```
## Task
Generate a SQL query to answer the following question:
`Where did Richmond play as an away team?`

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

CREATE TABLE "round_14" (
  "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 `Where did Richmond play as an away team?`:
```sql
                SELECT "venue" FROM "round_14" WHERE "away_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`When did South Melbourne play at home?`

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

CREATE TABLE "round_14" (
  "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 did South Melbourne play at home?`:
```sql
                SELECT "date" FROM "round_14" WHERE "home_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What is the average election for vicenza province with the liga veneta party?`

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

CREATE TABLE "provinces" (
  "province" text,
  "inhabitants" real,
  "president" text,
  "party" text,
  "election" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average election for vicenza province with the liga veneta party?`:
```sql
                SELECT AVG("election") FROM "provinces" WHERE "party"='liga veneta' AND "province"='vicenza';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of elections in vicenza?`

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

CREATE TABLE "provinces" (
  "province" text,
  "inhabitants" real,
  "president" text,
  "party" text,
  "election" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of elections in vicenza?`:
```sql
                SELECT SUM("election") FROM "provinces" WHERE "province"='vicenza';
```
## Task
Generate a SQL query to answer the following question:
`What province has an election after 2009?`

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

CREATE TABLE "provinces" (
  "province" text,
  "inhabitants" real,
  "president" text,
  "party" text,
  "election" real
);
### SQL
Given the database schema, here is the SQL query that answers `What province has an election after 2009?`:
```sql
                SELECT "province" FROM "provinces" WHERE "election">2009;
```
## Task
Generate a SQL query to answer the following question:
`What format does Japan use?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What format does Japan use?`:
```sql
                SELECT "format" FROM "release_details" WHERE "country"='japan';
```
## Task
Generate a SQL query to answer the following question:
`What date has a catalogue of 540 3622?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has a catalogue of 540 3622?`:
```sql
                SELECT "date" FROM "release_details" WHERE "catalogue"='540 3622';
```
## Task
Generate a SQL query to answer the following question:
`What format has a catalogue of asw 40362?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What format has a catalogue of asw 40362?`:
```sql
                SELECT "format" FROM "release_details" WHERE "catalogue"='asw 40362';
```
## Task
Generate a SQL query to answer the following question:
`What date has a catalogue of asw 40362?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has a catalogue of asw 40362?`:
```sql
                SELECT "date" FROM "release_details" WHERE "catalogue"='asw 40362';
```
## Task
Generate a SQL query to answer the following question:
`On what Date is the Crowd larger than 17,000?`

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

CREATE TABLE "round_12" (
  "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 Date is the Crowd larger than 17,000?`:
```sql
                SELECT "date" FROM "round_12" WHERE "crowd">'17,000';
```
## Task
Generate a SQL query to answer the following question:
`What Home team has an Away team score of 8.9 (57)?`

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

CREATE TABLE "round_12" (
  "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 Home team has an Away team score of 8.9 (57)?`:
```sql
                SELECT "home_team" FROM "round_12" WHERE "away_team_score"='8.9 (57)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team score when the Away team score is 17.16 (118)?`

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

CREATE TABLE "round_12" (
  "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 when the Away team score is 17.16 (118)?`:
```sql
                SELECT "home_team_score" FROM "round_12" WHERE "away_team_score"='17.16 (118)';
```
## Task
Generate a SQL query to answer the following question:
`Which Away team has the Home team of Carlton?`

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

CREATE TABLE "round_12" (
  "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 `Which Away team has the Home team of Carlton?`:
```sql
                SELECT "away_team" FROM "round_12" WHERE "home_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the Jeff Tarango game?`

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

CREATE TABLE "doubles_5" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the Jeff Tarango game?`:
```sql
                SELECT "score" FROM "doubles_5" WHERE "partner"='jeff tarango';
```
## Task
Generate a SQL query to answer the following question:
`Where did Collingwood play ae the away team?`

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

CREATE TABLE "round_7" (
  "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 `Where did Collingwood play ae the away team?`:
```sql
                SELECT "venue" FROM "round_7" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when there was more than 27,000 in attendance?`

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

CREATE TABLE "round_7" (
  "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 when there was more than 27,000 in attendance?`:
```sql
                SELECT "home_team_score" FROM "round_7" WHERE "crowd">'27,000';
```
## Task
Generate a SQL query to answer the following question:
`Where did Hawthorn play as the home team?`

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

CREATE TABLE "round_7" (
  "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 `Where did Hawthorn play as the home team?`:
```sql
                SELECT "venue" FROM "round_7" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`In 1990-2005 what is the lowest Start with Convs smaller than 2?`

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

CREATE TABLE "leading_point_scorers" (
  "player" text,
  "span" text,
  "start" real,
  "tries" real,
  "conv" real,
  "pens" real,
  "drop" real
);
### SQL
Given the database schema, here is the SQL query that answers `In 1990-2005 what is the lowest Start with Convs smaller than 2?`:
```sql
                SELECT MIN("start") FROM "leading_point_scorers" WHERE "span"='1990-2005' AND "conv"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the away team when the score is 6.9 (45)?`

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

CREATE TABLE "round_14" (
  "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 when the score is 6.9 (45)?`:
```sql
                SELECT "away_team" FROM "round_14" WHERE "away_team_score"='6.9 (45)';
```
## Task
Generate a SQL query to answer the following question:
`What is the total of the crowd when the home team is footscray?`

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

CREATE TABLE "round_14" (
  "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 total of the crowd when the home team is footscray?`:
```sql
                SELECT COUNT("crowd") FROM "round_14" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team score when the away team is Essendon?`

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

CREATE TABLE "round_14" (
  "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 score when the away team is Essendon?`:
```sql
                SELECT "away_team_score" FROM "round_14" WHERE "away_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What is the crowd total when the home score is 5.9 (39)?`

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

CREATE TABLE "round_14" (
  "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 total when the home score is 5.9 (39)?`:
```sql
                SELECT "crowd" FROM "round_14" WHERE "home_team_score"='5.9 (39)';
```
## Task
Generate a SQL query to answer the following question:
`How many weeks ended in a result of L 20-10?`

### 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 `How many weeks ended in a result of L 20-10?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "result"='l 20-10';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance in week 6?`

### 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 `What was the attendance in week 6?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=6;
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in the game that had an attendance of 60,066?`

### 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 `Who was the opponent in the game that had an attendance of 60,066?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance"='60,066';
```
## Task
Generate a SQL query to answer the following question:
`What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent?`

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

CREATE TABLE "classification" (
  "positional_or_automatic" text,
  "opponents" text,
  "suits" text,
  "material_or_non_material" text,
  "count_rectified" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent?`:
```sql
                SELECT "material_or_non_material" FROM "classification" WHERE "positional_or_automatic"='either' AND "count_rectified"='no' AND "opponents"='either';
```
## Task
Generate a SQL query to answer the following question:
`What is the value for positional opponents with no material or non-material, and 3 suits?`

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

CREATE TABLE "classification" (
  "positional_or_automatic" text,
  "opponents" text,
  "suits" text,
  "material_or_non_material" text,
  "count_rectified" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for positional opponents with no material or non-material, and 3 suits?`:
```sql
                SELECT "opponents" FROM "classification" WHERE "positional_or_automatic"='positional' AND "material_or_non_material"='no' AND "suits"='3';
```