cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What date was the Competition of rothmans cup?`

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

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

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the Competition of friendly?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "competition"='friendly';
```
## Task
Generate a SQL query to answer the following question:
`Which competition was played on 8 June 2005?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which competition was played on 8 June 2005?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "date"='8 june 2005';
```
## Task
Generate a SQL query to answer the following question:
`Which competition had the score 1-0?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which competition had the score 1-0?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "score"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`Timsah arena is in what country?`

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

CREATE TABLE "under_construction" (
  "stadium" text,
  "capacity" real,
  "city" text,
  "country" text,
  "tenant" text,
  "opening" real
);
### SQL
Given the database schema, here is the SQL query that answers `Timsah arena is in what country?`:
```sql
                SELECT "country" FROM "under_construction" WHERE "stadium"='timsah arena';
```
## Task
Generate a SQL query to answer the following question:
`What country is Relax-Gam from?`

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

CREATE TABLE "general_classification" (
  "cyclist" text,
  "country" text,
  "team" text,
  "time" text,
  "uci_pro_tour_points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country is Relax-Gam from?`:
```sql
                SELECT "country" FROM "general_classification" WHERE "team"='relax-gam';
```
## Task
Generate a SQL query to answer the following question:
`Who is Gerolsteiner's cyclist?`

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

CREATE TABLE "general_classification" (
  "cyclist" text,
  "country" text,
  "team" text,
  "time" text,
  "uci_pro_tour_points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is Gerolsteiner's cyclist?`:
```sql
                SELECT "cyclist" FROM "general_classification" WHERE "team"='gerolsteiner';
```
## Task
Generate a SQL query to answer the following question:
`What is Davide Rebellin' UCI ProTour Points?`

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

CREATE TABLE "general_classification" (
  "cyclist" text,
  "country" text,
  "team" text,
  "time" text,
  "uci_pro_tour_points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Davide Rebellin' UCI ProTour Points?`:
```sql
                SELECT "uci_pro_tour_points" FROM "general_classification" WHERE "cyclist"='davide rebellin';
```
## Task
Generate a SQL query to answer the following question:
`What was North Melbourne's score when they were the home team?`

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

CREATE TABLE "round_17" (
  "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 when they were the home team?`:
```sql
                SELECT "home_team_score" FROM "round_17" WHERE "home_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`Where did Footscray play as the away team?`

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

CREATE TABLE "round_17" (
  "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 Footscray play as the away team?`:
```sql
                SELECT "venue" FROM "round_17" WHERE "away_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score in the match at Lake Oval?`

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

CREATE TABLE "round_17" (
  "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 in the match at Lake Oval?`:
```sql
                SELECT "away_team_score" FROM "round_17" WHERE "venue"='lake oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the sum of the crowds that watched Fitzroy play as the away team?`

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

CREATE TABLE "round_17" (
  "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 sum of the crowds that watched Fitzroy play as the away team?`:
```sql
                SELECT SUM("crowd") FROM "round_17" WHERE "away_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of rank with years  1996–2012 and apps greater than 340?`

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

CREATE TABLE "goalscoring" (
  "rank" real,
  "name" text,
  "years" text,
  "goals" real,
  "apps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of rank with years  1996–2012 and apps greater than 340?`:
```sql
                SELECT SUM("rank") FROM "goalscoring" WHERE "years"='1996–2012' AND "apps">340;
```
## Task
Generate a SQL query to answer the following question:
`Which player held the position of guard prior to 1982?`

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

CREATE TABLE "c" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" real,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player held the position of guard prior to 1982?`:
```sql
                SELECT "player" FROM "c" WHERE "from"<1982 AND "position"='guard';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team that faced Carlton?`

### 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 `What was the away team that faced Carlton?`:
```sql
                SELECT "away_team" FROM "round_6" WHERE "home_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What was the largest crowd to see the away team score 10.6 (66)?`

### 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 `What was the largest crowd to see the away team score 10.6 (66)?`:
```sql
                SELECT MAX("crowd") FROM "round_6" WHERE "away_team_score"='10.6 (66)';
```
## Task
Generate a SQL query to answer the following question:
`What is the total crowd size that saw Geelong play as the 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 `What is the total crowd size that saw Geelong play as the away team?`:
```sql
                SELECT COUNT("crowd") FROM "round_6" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What away team saw their opponents score 4.5 (29)?`

### 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 `What away team saw their opponents score 4.5 (29)?`:
```sql
                SELECT "away_team" FROM "round_6" WHERE "home_team_score"='4.5 (29)';
```
## Task
Generate a SQL query to answer the following question:
`How many wins did Hobbs had a 15th finish at poles 0?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins did Hobbs had a 15th finish at poles 0?`:
```sql
                SELECT "wins" FROM "career_summary" WHERE "poles"='0' AND "final_placing"='15th';
```
## Task
Generate a SQL query to answer the following question:
`What are the points for the GP3 series with 2 podiums?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the points for the GP3 series with 2 podiums?`:
```sql
                SELECT "points" FROM "career_summary" WHERE "series"='gp3 series' AND "podiums"='2';
```
## Task
Generate a SQL query to answer the following question:
`Which races have #2 podiums?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which races have #2 podiums?`:
```sql
                SELECT "races" FROM "career_summary" WHERE "podiums"='2';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2009 final placing?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2009 final placing?`:
```sql
                SELECT "final_placing" FROM "career_summary" WHERE "season"=2009;
```
## Task
Generate a SQL query to answer the following question:
`What was the points with 7 races?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the points with 7 races?`:
```sql
                SELECT "points" FROM "career_summary" WHERE "races"='7';
```
## Task
Generate a SQL query to answer the following question:
`What venue had south melbourne as the home team?`

### 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 venue had south melbourne as the home team?`:
```sql
                SELECT "venue" FROM "round_1" WHERE "home_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What venue had collingwood as the away team?`

### 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 venue had collingwood as the away team?`:
```sql
                SELECT "venue" FROM "round_1" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team score when south melbourne was the home team?`

### 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 was the home team score when south melbourne was the home team?`:
```sql
                SELECT "home_team_score" FROM "round_1" WHERE "home_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What day was south melbourne the away squad?`

### 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 day was south melbourne the away squad?`:
```sql
                SELECT "date" FROM "round_1" WHERE "away_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What position did he finish after 1998 and a note time of 2:31:40?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position did he finish after 1998 and a note time of 2:31:40?`:
```sql
                SELECT "position" FROM "achievements" WHERE "year">1998 AND "notes"='2:31:40';
```
## Task
Generate a SQL query to answer the following question:
`What venue featured a notes of 2:38:44?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue featured a notes of 2:38:44?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "notes"='2:38:44';
```
## Task
Generate a SQL query to answer the following question:
`What date in a week later than 8 had an attendance of more than 57,893, and a Opponent of at atlanta falcons?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date in a week later than 8 had an attendance of more than 57,893, and a Opponent of at atlanta falcons?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week">8 AND "attendance">'57,893' AND "opponent"='at atlanta falcons';
```
## Task
Generate a SQL query to answer the following question:
`Who did they play against in a week after 6 and the result was l 30–24?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play against in a week after 6 and the result was l 30–24?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week">6 AND "result"='l 30–24';
```
## Task
Generate a SQL query to answer the following question:
`What opponent has a Result of w 31–0?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent has a Result of w 31–0?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "result"='w 31–0';
```
## Task
Generate a SQL query to answer the following question:
`During which round was the final cornerback drafted for the New England Patriots in 2005?`

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

CREATE TABLE "2005_new_england_patriots_draft_selectio" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `During which round was the final cornerback drafted for the New England Patriots in 2005?`:
```sql
                SELECT MAX("round") FROM "2005_new_england_patriots_draft_selectio" WHERE "position"='cornerback';
```
## Task
Generate a SQL query to answer the following question:
`What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15?`

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

CREATE TABLE "highest_and_lowest_scoring_performances" (
  "dance" text,
  "best_dancer" text,
  "best_score" real,
  "worst_dancer" text,
  "worst_score" real
);
### SQL
Given the database schema, here is the SQL query that answers `What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15?`:
```sql
                SELECT MIN("best_score") FROM "highest_and_lowest_scoring_performances" WHERE "worst_dancer"='leeza gibbons' AND "worst_score"<15;
```
## Task
Generate a SQL query to answer the following question:
`What is the worst score for the dance that has Apolo Anton Ohno as the best dancer, and where his best score is larger than 30?`

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

CREATE TABLE "highest_and_lowest_scoring_performances" (
  "dance" text,
  "best_dancer" text,
  "best_score" real,
  "worst_dancer" text,
  "worst_score" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the worst score for the dance that has Apolo Anton Ohno as the best dancer, and where his best score is larger than 30?`:
```sql
                SELECT SUM("worst_score") FROM "highest_and_lowest_scoring_performances" WHERE "best_dancer"='apolo anton ohno' AND "best_score">30;
```
## Task
Generate a SQL query to answer the following question:
`What is the biggest crowd when carlton is the away squad?`

### 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 is the biggest crowd when carlton is the away squad?`:
```sql
                SELECT MAX("crowd") FROM "round_13" WHERE "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of crowd(s) when richmond is the away squad?`

### 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 is the sum of crowd(s) when richmond is the away squad?`:
```sql
                SELECT SUM("crowd") FROM "round_13" WHERE "away_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team's score in the game played at glenferrie 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 is the home team's score in the game played at glenferrie oval?`:
```sql
                SELECT "home_team_score" FROM "round_13" WHERE "venue"='glenferrie oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the event against Nate Mohr?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the event against Nate Mohr?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='nate mohr';
```
## Task
Generate a SQL query to answer the following question:
`When the VFL played Junction Oval what was the home team score?`

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

CREATE TABLE "round_2" (
  "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 VFL played Junction Oval what was the home team score?`:
```sql
                SELECT "home_team_score" FROM "round_2" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What was away team Geelong's crowd numbers?`

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

CREATE TABLE "round_2" (
  "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 away team Geelong's crowd numbers?`:
```sql
                SELECT "crowd" FROM "round_2" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What date did the home team score 12.7 (79)?`

### 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 `What date did the home team score 12.7 (79)?`:
```sql
                SELECT "date" FROM "round_6" WHERE "home_team_score"='12.7 (79)';
```
## Task
Generate a SQL query to answer the following question:
`What is the date they played against fitzroy?`

### 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 `What is the date they played against fitzroy?`:
```sql
                SELECT "date" FROM "round_6" WHERE "away_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What was the team they played when the home team scored 6.10 (46)?`

### 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 `What was the team they played when the home team scored 6.10 (46)?`:
```sql
                SELECT "away_team" FROM "round_6" WHERE "home_team_score"='6.10 (46)';
```
## Task
Generate a SQL query to answer the following question:
`How large was the crowd when they played at princes park?`

### 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 `How large was the crowd when they played at princes park?`:
```sql
                SELECT SUM("crowd") FROM "round_6" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team that scored 12.11 (83)?`

### 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 `What was the away team that scored 12.11 (83)?`:
```sql
                SELECT "away_team" FROM "round_6" WHERE "away_team_score"='12.11 (83)';
```
## Task
Generate a SQL query to answer the following question:
`What day does the home team score 10.10 (70)?`

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

CREATE TABLE "round_2" (
  "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 does the home team score 10.10 (70)?`:
```sql
                SELECT "date" FROM "round_2" WHERE "home_team_score"='10.10 (70)';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team at junction oval?`

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

CREATE TABLE "round_2" (
  "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 away team at junction oval?`:
```sql
                SELECT "away_team" FROM "round_2" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team's score at princes park?`

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

CREATE TABLE "round_2" (
  "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 at princes park?`:
```sql
                SELECT "away_team_score" FROM "round_2" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had?`

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

CREATE TABLE "internet_availability" (
  "nation" text,
  "population_thousands" real,
  "internet_subscriptions_2000_thousands_of_users" real,
  "internet_subscriptions_2008_thousands_of_users" real,
  "pct_growth_2000_2008" real,
  "pct_internet_users" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had?`:
```sql
                SELECT MAX("pct_internet_users") FROM "internet_availability" WHERE "pct_growth_2000_2008"=1622;
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when Footscray was the away team?`

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

CREATE TABLE "round_16" (
  "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 when Footscray was the away team?`:
```sql
                SELECT "home_team" FROM "round_16" WHERE "away_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when the home team scored 20.15 (135)?`

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

CREATE TABLE "round_16" (
  "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 when the home team scored 20.15 (135)?`:
```sql
                SELECT "away_team_score" FROM "round_16" WHERE "home_team_score"='20.15 (135)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the away team scored 5.10 (40)?`

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

CREATE TABLE "round_16" (
  "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 when the away team scored 5.10 (40)?`:
```sql
                SELECT "home_team" FROM "round_16" WHERE "away_team_score"='5.10 (40)';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team's score at the game played at Punt Road Oval with a crowd over 20,000?`

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

CREATE TABLE "round_16" (
  "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 played at Punt Road Oval with a crowd over 20,000?`:
```sql
                SELECT "home_team_score" FROM "round_16" WHERE "crowd">'20,000' AND "venue"='punt road oval';
```
## Task
Generate a SQL query to answer the following question:
`What day did the team play the buffalo bills?`

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

CREATE TABLE "exhibition_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What day did the team play the buffalo bills?`:
```sql
                SELECT "date" FROM "exhibition_schedule" WHERE "opponent"='buffalo bills';
```
## Task
Generate a SQL query to answer the following question:
`What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961?`

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

CREATE TABLE "1958_1963" (
  "year" real,
  "bb_pop" text,
  "bb_cw" text,
  "bb_rb" text,
  "bb_el" text,
  "cb_cw" text,
  "riaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961?`:
```sql
                SELECT "bb_pop" FROM "1958_1963" WHERE "riaa"='g' AND "year"<1961;
```
## Task
Generate a SQL query to answer the following question:
`Which player has an Other of 3 (15)?`

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

CREATE TABLE "top_goalscorers" (
  "name" text,
  "years" text,
  "league_a" text,
  "fa_cup" text,
  "league_cup_b" text,
  "other" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player has an Other of 3 (15)?`:
```sql
                SELECT "name" FROM "top_goalscorers" WHERE "other"='3 (15)';
```
## Task
Generate a SQL query to answer the following question:
`What Name has a Time of 01:17:01?`

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

CREATE TABLE "21st_century" (
  "date" text,
  "time" text,
  "epicenter" text,
  "magnitude" text,
  "fatalities" text,
  "name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Name has a Time of 01:17:01?`:
```sql
                SELECT "name" FROM "21st_century" WHERE "time"='01:17:01';
```
## Task
Generate a SQL query to answer the following question:
`What is the Magnitude on the Date May 28, 2004?`

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

CREATE TABLE "21st_century" (
  "date" text,
  "time" text,
  "epicenter" text,
  "magnitude" text,
  "fatalities" text,
  "name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Magnitude on the Date May 28, 2004?`:
```sql
                SELECT "magnitude" FROM "21st_century" WHERE "date"='may 28, 2004';
```
## Task
Generate a SQL query to answer the following question:
`What Name has a Time of 01:56:52?`

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

CREATE TABLE "21st_century" (
  "date" text,
  "time" text,
  "epicenter" text,
  "magnitude" text,
  "fatalities" text,
  "name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Name has a Time of 01:56:52?`:
```sql
                SELECT "name" FROM "21st_century" WHERE "time"='01:56:52';
```
## Task
Generate a SQL query to answer the following question:
`What number of Fatalities did the Epicenter Māzandarān have?`

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

CREATE TABLE "21st_century" (
  "date" text,
  "time" text,
  "epicenter" text,
  "magnitude" text,
  "fatalities" text,
  "name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number of Fatalities did the Epicenter Māzandarān have?`:
```sql
                SELECT "fatalities" FROM "21st_century" WHERE "epicenter"='māzandarān';
```
## Task
Generate a SQL query to answer the following question:
`What number of Fatalties is associated with the Time of 12:38:46?`

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

CREATE TABLE "21st_century" (
  "date" text,
  "time" text,
  "epicenter" text,
  "magnitude" text,
  "fatalities" text,
  "name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number of Fatalties is associated with the Time of 12:38:46?`:
```sql
                SELECT "fatalities" FROM "21st_century" WHERE "time"='12:38:46';
```
## Task
Generate a SQL query to answer the following question:
`What is the Time when the Epicenter was Bam?`

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

CREATE TABLE "21st_century" (
  "date" text,
  "time" text,
  "epicenter" text,
  "magnitude" text,
  "fatalities" text,
  "name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Time when the Epicenter was Bam?`:
```sql
                SELECT "time" FROM "21st_century" WHERE "epicenter"='bam';
```
## Task
Generate a SQL query to answer the following question:
`Who did Clinton appoint as a Chief Judge?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did Clinton appoint as a Chief Judge?`:
```sql
                SELECT "chief_judge" FROM "former_judges" WHERE "appointed_by"='clinton';
```
## Task
Generate a SQL query to answer the following question:
`What was the smallest crowd for a Carlton away game?`

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

CREATE TABLE "round_17" (
  "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 for a Carlton away game?`:
```sql
                SELECT MIN("crowd") FROM "round_17" WHERE "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What is the result when the time is 1:13?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result when the time is 1:13?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "time"='1:13';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the time was 1:47?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the time was 1:47?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='1:47';
```
## Task
Generate a SQL query to answer the following question:
`What venue did South Melbourne play as the 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 `What venue did South Melbourne play as the away team?`:
```sql
                SELECT "venue" FROM "round_14" WHERE "away_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team's score at the match in front of 19,115 at Punt Road 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 was the home team's score at the match in front of 19,115 at Punt Road Oval?`:
```sql
                SELECT "home_team_score" FROM "round_14" WHERE "crowd">'19,115' AND "venue"='punt road oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score in the match at Victoria Park?`

### 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's score in the match at Victoria Park?`:
```sql
                SELECT "away_team_score" FROM "round_14" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What was thome home team whose opponent scored 9.14 (68) in front of 19,115?`

### 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 thome home team whose opponent scored 9.14 (68) in front of 19,115?`:
```sql
                SELECT "home_team" FROM "round_14" WHERE "crowd">'19,115' AND "away_team_score"='9.14 (68)';
```
## Task
Generate a SQL query to answer the following question:
`Which position has a Round of 7, and a College of kansas state?`

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

CREATE TABLE "1999_new_england_patriots_draft_selectio" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position has a Round of 7, and a College of kansas state?`:
```sql
                SELECT "position" FROM "1999_new_england_patriots_draft_selectio" WHERE "round"=7 AND "college"='kansas state';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds have an Overall larger than 17, and a Position of quarterback?`

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

CREATE TABLE "1999_new_england_patriots_draft_selectio" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds have an Overall larger than 17, and a Position of quarterback?`:
```sql
                SELECT COUNT("round") FROM "1999_new_england_patriots_draft_selectio" WHERE "overall">17 AND "position"='quarterback';
```
## Task
Generate a SQL query to answer the following question:
`Which average overall has a Round of 1, and a Position of center?`

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

CREATE TABLE "1999_new_england_patriots_draft_selectio" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average overall has a Round of 1, and a Position of center?`:
```sql
                SELECT AVG("overall") FROM "1999_new_england_patriots_draft_selectio" WHERE "round"=1 AND "position"='center';
```
## Task
Generate a SQL query to answer the following question:
`Where did North Melbourne play as the home team?`

### 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 `Where did North Melbourne play as the home team?`:
```sql
                SELECT "venue" FROM "round_10" WHERE "home_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance when VFL played MCG?`

### 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 attendance when VFL played MCG?`:
```sql
                SELECT MAX("crowd") FROM "round_10" WHERE "venue"='mcg';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team score when the away team scored 10.10 (70)?`

### 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 was the home team score when the away team scored 10.10 (70)?`:
```sql
                SELECT "home_team_score" FROM "round_1" WHERE "away_team_score"='10.10 (70)';
```
## Task
Generate a SQL query to answer the following question:
`How many people were in the crowd when the away team scored 9.12 (66)?`

### 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 `How many people were in the crowd when the away team scored 9.12 (66)?`:
```sql
                SELECT "crowd" FROM "round_1" WHERE "away_team_score"='9.12 (66)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the away team when they played at Windy Hill?`

### 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 was the score of the away team when they played at Windy Hill?`:
```sql
                SELECT "away_team_score" FROM "round_1" WHERE "venue"='windy hill';
```
## Task
Generate a SQL query to answer the following question:
`How large was the crowd when the away team was melbourne?`

### 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 `How large was the crowd when the away team was melbourne?`:
```sql
                SELECT "crowd" FROM "round_1" WHERE "away_team"='melbourne';
```