cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Tell me the nation for bronze more than 0 and total more than 8 with gold of 4`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the nation for bronze more than 0 and total more than 8 with gold of 4`:
```sql
                SELECT "nation" FROM "medal_table" WHERE "bronze">0 AND "total">8 AND "gold"=4;
```
## Task
Generate a SQL query to answer the following question:
`Who is Team Suzuki's rider and ranks higher than 6?`

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

CREATE TABLE "1970_isle_of_man_production_250_cc_tt_fi" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is Team Suzuki's rider and ranks higher than 6?`:
```sql
                SELECT "rider" FROM "1970_isle_of_man_production_250_cc_tt_fi" WHERE "rank">6 AND "team"='suzuki';
```
## Task
Generate a SQL query to answer the following question:
`Who was the lowest division in the 7th season?`

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

CREATE TABLE "year_by_year" (
  "year" text,
  "division" real,
  "league" text,
  "reg_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the lowest division in the 7th season?`:
```sql
                SELECT MIN("division") FROM "year_by_year" WHERE "reg_season"='7th';
```
## Task
Generate a SQL query to answer the following question:
`In 1924/25, who was in the playoffs?`

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

CREATE TABLE "year_by_year" (
  "year" text,
  "division" real,
  "league" text,
  "reg_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 1924/25, who was in the playoffs?`:
```sql
                SELECT "playoffs" FROM "year_by_year" WHERE "year"='1924/25';
```
## Task
Generate a SQL query to answer the following question:
`Which division has no playoff but has a 12th game in their season?`

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

CREATE TABLE "year_by_year" (
  "year" text,
  "division" real,
  "league" text,
  "reg_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which division has no playoff but has a 12th game in their season?`:
```sql
                SELECT MAX("division") FROM "year_by_year" WHERE "playoffs"='no playoff' AND "reg_season"='12th';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue of the competition that held the 1st position in 2011?`

### 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 was the venue of the competition that held the 1st position in 2011?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "position"='1st' AND "year"=2011;
```
## Task
Generate a SQL query to answer the following question:
`What was the position of the Olympic Games in the year 2008?`

### 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 was the position of the Olympic Games in the year 2008?`:
```sql
                SELECT "position" FROM "achievements" WHERE "competition"='olympic games' AND "year"=2008;
```
## Task
Generate a SQL query to answer the following question:
`Which competition held the 1st position in 2009?`

### 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 `Which competition held the 1st position in 2009?`:
```sql
                SELECT "competition" FROM "achievements" WHERE "position"='1st' AND "year"=2009;
```
## Task
Generate a SQL query to answer the following question:
`Which venue did the African Championships have after 2006 with a position of 2nd and 3000 m s'chase in notes?`

### 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 `Which venue did the African Championships have after 2006 with a position of 2nd and 3000 m s'chase in notes?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "year">2006 AND "notes"='3000 m s''chase' AND "position"='2nd' AND "competition"='african championships';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the label for US region and catalog of 10008-2`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the label for US region and catalog of 10008-2`:
```sql
                SELECT "label" FROM "release_history" WHERE "region"='us' AND "catalog"='10008-2';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for format of cd/dvd`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date for format of cd/dvd`:
```sql
                SELECT "date" FROM "release_history" WHERE "format"='cd/dvd';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the format for european union`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the format for european union`:
```sql
                SELECT "format" FROM "release_history" WHERE "region"='european union';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the catalog for date larger than 2004`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the catalog for date larger than 2004`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "date">2004;
```
## Task
Generate a SQL query to answer the following question:
`I want the lowest date for catalog of 6561910008-1`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want the lowest date for catalog of 6561910008-1`:
```sql
                SELECT MIN("date") FROM "release_history" WHERE "catalog"='6561910008-1';
```
## Task
Generate a SQL query to answer the following question:
`What date was there a crowd larger than 30,343?`

### 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 date was there a crowd larger than 30,343?`:
```sql
                SELECT "date" FROM "round_13" WHERE "crowd">'30,343';
```
## Task
Generate a SQL query to answer the following question:
`Which venue was played in when the Away team scored 11.5 (71)?`

### 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 `Which venue was played in when the Away team scored 11.5 (71)?`:
```sql
                SELECT "venue" FROM "round_13" WHERE "away_team_score"='11.5 (71)';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest Crowd total from a game in which Essendon was the 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 the lowest Crowd total from a game in which Essendon was the Away team?`:
```sql
                SELECT MIN("crowd") FROM "round_13" WHERE "away_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue was played in when the Away team scored 13.13 (91)?`

### 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 `Which Venue was played in when the Away team scored 13.13 (91)?`:
```sql
                SELECT "venue" FROM "round_13" WHERE "away_team_score"='13.13 (91)';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue was used when the Home team was 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 `Which Venue was used when the Home team was geelong?`:
```sql
                SELECT "venue" FROM "round_13" WHERE "home_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest scored in the 2010 east asian football championship?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "result" text,
  "scored" real,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest scored in the 2010 east asian football championship?`:
```sql
                SELECT MAX("scored") FROM "international_career" WHERE "competition"='2010 east asian football championship';
```
## Task
Generate a SQL query to answer the following question:
`Which country is Wellington located in?`

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

CREATE TABLE "see_also" (
  "rank" text,
  "stadium" text,
  "capacity" real,
  "city" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country is Wellington located in?`:
```sql
                SELECT "country" FROM "see_also" WHERE "city"='wellington';
```
## Task
Generate a SQL query to answer the following question:
`What label is in download format in the United States?`

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

CREATE TABLE "release" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label is in download format in the United States?`:
```sql
                SELECT "label" FROM "release" WHERE "region"='united states' AND "format"='download';
```
## Task
Generate a SQL query to answer the following question:
`What label has RTRADLP 346 as catalogue?`

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

CREATE TABLE "release" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label has RTRADLP 346 as catalogue?`:
```sql
                SELECT "label" FROM "release" WHERE "catalogue"='rtradlp 346';
```
## Task
Generate a SQL query to answer the following question:
`What label has 22 January 2008 date?`

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

CREATE TABLE "release" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label has 22 January 2008 date?`:
```sql
                SELECT "label" FROM "release" WHERE "date"='22 january 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is the label for catalogue of RT-346-5?`

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

CREATE TABLE "release" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the label for catalogue of RT-346-5?`:
```sql
                SELECT "label" FROM "release" WHERE "catalogue"='rt-346-5';
```
## Task
Generate a SQL query to answer the following question:
`What position is mentioned for Rice school?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position is mentioned for Rice school?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "school_club_team"='rice';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round for Wisconsin when the overall is larger than 238 and there is a defensive end?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average round for Wisconsin when the overall is larger than 238 and there is a defensive end?`:
```sql
                SELECT AVG("round") FROM "nfl_draft" WHERE "overall">238 AND "position"='defensive end' AND "school_club_team"='wisconsin';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round when there is a defensive back and an overall smaller than 199?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average round when there is a defensive back and an overall smaller than 199?`:
```sql
                SELECT AVG("round") FROM "nfl_draft" WHERE "position"='defensive back' AND "overall"<199;
```
## Task
Generate a SQL query to answer the following question:
`What was the date of game with a score of 42-6?`

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

CREATE TABLE "round_3" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of game with a score of 42-6?`:
```sql
                SELECT "date" FROM "round_3" WHERE "score"='42-6';
```
## Task
Generate a SQL query to answer the following question:
`What stadium was the game played at when the result was hunter mariners def. sheffield eagles?`

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

CREATE TABLE "round_3" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What stadium was the game played at when the result was hunter mariners def. sheffield eagles?`:
```sql
                SELECT "stadium" FROM "round_3" WHERE "result"='hunter mariners def. sheffield eagles';
```
## Task
Generate a SQL query to answer the following question:
`What city has a Result of brisbane broncos def. halifax blue sox?`

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

CREATE TABLE "round_3" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What city has a Result of brisbane broncos def. halifax blue sox?`:
```sql
                SELECT "city" FROM "round_3" WHERE "result"='brisbane broncos def. halifax blue sox';
```
## Task
Generate a SQL query to answer the following question:
`Which player was drafted after round 9 and number 464 overall?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player was drafted after round 9 and number 464 overall?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "round">9 AND "overall"=464;
```
## Task
Generate a SQL query to answer the following question:
`What was James Reed's draft round number?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was James Reed's draft round number?`:
```sql
                SELECT COUNT("round") FROM "nfl_draft" WHERE "player"='james reed';
```
## Task
Generate a SQL query to answer the following question:
`What was the overall draft number of Tom Fleming, a wide receiver?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the overall draft number of Tom Fleming, a wide receiver?`:
```sql
                SELECT COUNT("overall") FROM "nfl_draft" WHERE "position"='wide receiver' AND "player"='tom fleming';
```
## Task
Generate a SQL query to answer the following question:
`Which player is from Dartmouth?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is from Dartmouth?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "school_club_team"='dartmouth';
```
## Task
Generate a SQL query to answer the following question:
`What position does the player from tulsa play?`

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

CREATE TABLE "k" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" text,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does the player from tulsa play?`:
```sql
                SELECT "position" FROM "k" WHERE "school_country"='tulsa';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Magnitude on february 12, 1953?`

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

CREATE TABLE "20th_century" (
  "date" text,
  "epicenter" text,
  "magnitude" real,
  "fatalities" text,
  "name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Magnitude on february 12, 1953?`:
```sql
                SELECT SUM("magnitude") FROM "20th_century" WHERE "date"='february 12, 1953';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of a baseball game that happened before 2005?`

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

CREATE TABLE "list_of_winners" (
  "year" real,
  "date_contested" text,
  "sport" text,
  "winning_team" text,
  "losing_team" text,
  "final_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of a baseball game that happened before 2005?`:
```sql
                SELECT "final_score" FROM "list_of_winners" WHERE "sport"='baseball' AND "year"<2005;
```
## Task
Generate a SQL query to answer the following question:
`What venue did Richmond play as the away team?`

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

CREATE TABLE "round_18" (
  "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 Richmond play as the away team?`:
```sql
                SELECT "venue" FROM "round_18" WHERE "away_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What is the team of Essendon's score in the game where they were the home team?`

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

CREATE TABLE "round_18" (
  "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 team of Essendon's score in the game where they were the home team?`:
```sql
                SELECT "home_team_score" FROM "round_18" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away side when st kilda is the home side?`

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

CREATE TABLE "round_19" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away side when st kilda is the home side?`:
```sql
                SELECT "away_team" FROM "round_19" WHERE "home_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`What is the away side score when footscray is the home side?`

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

CREATE TABLE "round_19" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the away side score when footscray is the home side?`:
```sql
                SELECT "away_team_score" FROM "round_19" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team's score at kardinia park?`

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

CREATE TABLE "round_19" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team's score at kardinia park?`:
```sql
                SELECT "home_team_score" FROM "round_19" WHERE "venue"='kardinia park';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest crowd seen at a game that Richmond was the Away team in?`

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

CREATE TABLE "round_5" (
  "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 lowest crowd seen at a game that Richmond was the Away team in?`:
```sql
                SELECT MIN("crowd") FROM "round_5" WHERE "away_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest crowd count seen in the Windy Hill venue?`

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

CREATE TABLE "round_5" (
  "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 highest crowd count seen in the Windy Hill venue?`:
```sql
                SELECT MAX("crowd") FROM "round_5" WHERE "venue"='windy hill';
```
## Task
Generate a SQL query to answer the following question:
`On what date did Brunswick Street Oval see more than 19,500 people?`

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

CREATE TABLE "round_5" (
  "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 did Brunswick Street Oval see more than 19,500 people?`:
```sql
                SELECT "date" FROM "round_5" WHERE "crowd">'19,500' AND "venue"='brunswick street oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the Away team that played against the Home team of Fitzroy?`

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

CREATE TABLE "round_5" (
  "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 that played against the Home team of Fitzroy?`:
```sql
                SELECT "away_team_score" FROM "round_5" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`Which was the lowest overall that Wisconsin's team managed?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which was the lowest overall that Wisconsin's team managed?`:
```sql
                SELECT MIN("overall") FROM "nfl_draft" WHERE "school_club_team"='wisconsin';
```
## Task
Generate a SQL query to answer the following question:
`Which team was Roy de Walt a player on?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team was Roy de Walt a player on?`:
```sql
                SELECT "school_club_team" FROM "nfl_draft" WHERE "player"='roy de walt';
```
## Task
Generate a SQL query to answer the following question:
`In which round did Paul McDonald have an overall greater than 109?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which round did Paul McDonald have an overall greater than 109?`:
```sql
                SELECT MAX("round") FROM "nfl_draft" WHERE "player"='paul mcdonald' AND "overall">109;
```
## Task
Generate a SQL query to answer the following question:
`What is the total overall in round 1, in which Charles White was a player?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total overall in round 1, in which Charles White was a player?`:
```sql
                SELECT SUM("overall") FROM "nfl_draft" WHERE "player"='charles white' AND "round"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of a running back in a round before round 3?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of a running back in a round before round 3?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "round"<3 AND "position"='running back';
```
## Task
Generate a SQL query to answer the following question:
`What is the win/loss percentage with wins of 63 and losses smaller than 76?`

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

CREATE TABLE "season_by_season_records" (
  "year" real,
  "team_name" text,
  "wins" real,
  "losses" real,
  "w_l_pct" text,
  "manager" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the win/loss percentage with wins of 63 and losses smaller than 76?`:
```sql
                SELECT "w_l_pct" FROM "season_by_season_records" WHERE "wins"=63 AND "losses"<76;
```
## Task
Generate a SQL query to answer the following question:
`What is the away team score when the home team is Geelong?`

### 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 home team is Geelong?`:
```sql
                SELECT "away_team_score" FROM "round_14" WHERE "home_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest order amount in weeks prier to 15 and a major less than 1?`

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

CREATE TABLE "weeks_at_number_one" (
  "rank" real,
  "player" text,
  "country" text,
  "weeks" real,
  "order" real,
  "majors" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest order amount in weeks prier to 15 and a major less than 1?`:
```sql
                SELECT MAX("order") FROM "weeks_at_number_one" WHERE "weeks"<15 AND "majors"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player from Temple?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" real,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player from Temple?`:
```sql
                SELECT "position" FROM "m" WHERE "school_country"='temple';
```
## Task
Generate a SQL query to answer the following question:
`What is the most recent year from Creighton?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" real,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most recent year from Creighton?`:
```sql
                SELECT MAX("from") FROM "m" WHERE "school_country"='creighton';
```
## Task
Generate a SQL query to answer the following question:
`What is the most recent year with a United States nationality and the school Hamline?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" real,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most recent year with a United States nationality and the school Hamline?`:
```sql
                SELECT MAX("from") FROM "m" WHERE "nationality"='united states' AND "school_country"='hamline';
```
## Task
Generate a SQL query to answer the following question:
`Which player is from 2012 and North Carolina?`

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

CREATE TABLE "j" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" text,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is from 2012 and North Carolina?`:
```sql
                SELECT "player" FROM "j" WHERE "from"='2012' AND "school_country"='north carolina';
```
## Task
Generate a SQL query to answer the following question:
`Which player is associated with Temple?`

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

CREATE TABLE "j" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" text,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is associated with Temple?`:
```sql
                SELECT "player" FROM "j" WHERE "school_country"='temple';
```
## Task
Generate a SQL query to answer the following question:
`Which nationality is associated with Temple?`

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

CREATE TABLE "j" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" text,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which nationality is associated with Temple?`:
```sql
                SELECT "nationality" FROM "j" WHERE "school_country"='temple';
```
## Task
Generate a SQL query to answer the following question:
`Which player was a forward/center from 1960?`

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

CREATE TABLE "j" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" text,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player was a forward/center from 1960?`:
```sql
                SELECT "player" FROM "j" WHERE "from"='1960' AND "position"='forward/center';
```
## Task
Generate a SQL query to answer the following question:
`How many goals were achieved when Chievo was the club and the debut year was before 2002?`

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

CREATE TABLE "goalscoring" (
  "rank" real,
  "all_time_rank" text,
  "name" text,
  "debut_year" real,
  "current_club" text,
  "goals" real,
  "apps" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals were achieved when Chievo was the club and the debut year was before 2002?`:
```sql
                SELECT COUNT("goals") FROM "goalscoring" WHERE "current_club"='chievo' AND "debut_year"<2002;
```
## Task
Generate a SQL query to answer the following question:
`How many goals occurred with Diego Milito in a debut year later than 2008?`

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

CREATE TABLE "goalscoring" (
  "rank" real,
  "all_time_rank" text,
  "name" text,
  "debut_year" real,
  "current_club" text,
  "goals" real,
  "apps" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals occurred with Diego Milito in a debut year later than 2008?`:
```sql
                SELECT COUNT("goals") FROM "goalscoring" WHERE "name"='diego milito' AND "debut_year">2008;
```
## Task
Generate a SQL query to answer the following question:
`Which value for Apps is associated with the all-time rank of 53?`

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

CREATE TABLE "goalscoring" (
  "rank" real,
  "all_time_rank" text,
  "name" text,
  "debut_year" real,
  "current_club" text,
  "goals" real,
  "apps" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which value for Apps is associated with the all-time rank of 53?`:
```sql
                SELECT "apps" FROM "goalscoring" WHERE "all_time_rank"='53';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team at the Punt Road Oval?`

### 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 is the home team at the Punt Road Oval?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "venue"='punt road oval';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team at Windy Hill?`

### 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 is the away team at Windy Hill?`:
```sql
                SELECT "away_team" FROM "round_8" WHERE "venue"='windy hill';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game that had a crowd larger than 25,000?`

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

CREATE TABLE "round_18" (
  "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 of the game that had a crowd larger than 25,000?`:
```sql
                SELECT "date" FROM "round_18" WHERE "crowd">'25,000';
```
## Task
Generate a SQL query to answer the following question:
`What was South Melbourne's score as the home team?`

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

CREATE TABLE "round_18" (
  "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 South Melbourne's score as the home team?`:
```sql
                SELECT "home_team_score" FROM "round_18" WHERE "home_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when the home team scored 13.12 (90)?`

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

CREATE TABLE "round_18" (
  "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 13.12 (90)?`:
```sql
                SELECT "away_team" FROM "round_18" WHERE "home_team_score"='13.12 (90)';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game where the home team scored 7.7 (49)?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game where the home team scored 7.7 (49)?`:
```sql
                SELECT "date" FROM "round_18" WHERE "home_team_score"='7.7 (49)';
```
## Task
Generate a SQL query to answer the following question:
`What was the largest crowd of a game where Collingwood was the away team?`

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

CREATE TABLE "round_18" (
  "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 of a game where Collingwood was the away team?`:
```sql
                SELECT MAX("crowd") FROM "round_18" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest round with the opponent John Howard that had a method of Decision (unanimous)?`

### 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's the lowest round with the opponent John Howard that had a method of Decision (unanimous)?`:
```sql
                SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "method"='decision (unanimous)' AND "opponent"='john howard';
```
## Task
Generate a SQL query to answer the following question:
`What's the time for the match with a record of 2-0?`

### 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's the time for the match with a record of 2-0?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "record"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`Where was the match with a method of submission (standing guillotine choke)?`

### 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 `Where was the match with a method of submission (standing guillotine choke)?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "method"='submission (standing guillotine choke)';
```
## Task
Generate a SQL query to answer the following question:
`What language is the moviein that is on UMP movies network through Sky service?`

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

CREATE TABLE "united_kingdom" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language is the moviein that is on UMP movies network through Sky service?`:
```sql
                SELECT "language" FROM "united_kingdom" WHERE "genre"='movies' AND "service"='sky' AND "network"='ump movies';
```
## Task
Generate a SQL query to answer the following question:
`What language is the movie in that is on SAB network through Sky service?`

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

CREATE TABLE "united_kingdom" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language is the movie in that is on SAB network through Sky service?`:
```sql
                SELECT "language" FROM "united_kingdom" WHERE "network"='sab' AND "service"='sky';
```
## Task
Generate a SQL query to answer the following question:
`What was the overall pick for the player who was a guard and had a round less than 9?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the overall pick for the player who was a guard and had a round less than 9?`:
```sql
                SELECT AVG("overall") FROM "nfl_draft" WHERE "position"='guard' AND "round"<9;
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest round number that had an overall pick up 92?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest round number that had an overall pick up 92?`:
```sql
                SELECT MIN("round") FROM "nfl_draft" WHERE "overall"=92;
```
## Task
Generate a SQL query to answer the following question:
`What open source movie has a CC License of by-nc-sa 1.0?`

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

CREATE TABLE "published_films" (
  "type" text,
  "released" text,
  "cc_license" text,
  "sources_available" text,
  "open_source_movie" text,
  "commercial_reuse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What open source movie has a CC License of by-nc-sa 1.0?`:
```sql
                SELECT "open_source_movie" FROM "published_films" WHERE "cc_license"='by-nc-sa 1.0';
```
## Task
Generate a SQL query to answer the following question:
`Which venue had the result 7-1?`

### 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 venue had the result 7-1?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "result"='7-1';
```