cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which runner-up player(s) had a margin of 10 strokes?`

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

CREATE TABLE "wins_6" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which runner-up player(s) had a margin of 10 strokes?`:
```sql
                SELECT "runner_s_up" FROM "wins_6" WHERE "margin"='10 strokes';
```
## Task
Generate a SQL query to answer the following question:
`What was the most recent year that Kathy Ahern was a runner-up?`

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

CREATE TABLE "wins_6" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the most recent year that Kathy Ahern was a runner-up?`:
```sql
                SELECT MAX("year") FROM "wins_6" WHERE "runner_s_up"='kathy ahern';
```
## Task
Generate a SQL query to answer the following question:
`What is the RTM build of the Windows Home Server 2011?`

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

CREATE TABLE "windows_nt" (
  "name" text,
  "release_date" text,
  "rtm_build" text,
  "current_version" text,
  "status_support" text,
  "license" text,
  "based_on_kernel" text,
  "supported_architectures" text,
  "os_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the RTM build of the Windows Home Server 2011?`:
```sql
                SELECT "rtm_build" FROM "windows_nt" WHERE "name"='windows home server 2011';
```
## Task
Generate a SQL query to answer the following question:
`What is the current version of windows 8 with an RTM build of 9200?`

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

CREATE TABLE "windows_nt" (
  "name" text,
  "release_date" text,
  "rtm_build" text,
  "current_version" text,
  "status_support" text,
  "license" text,
  "based_on_kernel" text,
  "supported_architectures" text,
  "os_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the current version of windows 8 with an RTM build of 9200?`:
```sql
                SELECT "current_version" FROM "windows_nt" WHERE "rtm_build"='9200' AND "name"='windows 8';
```
## Task
Generate a SQL query to answer the following question:
`What home team scored 14.14 (98)?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team scored 14.14 (98)?`:
```sql
                SELECT "home_team" FROM "round_11" WHERE "home_team_score"='14.14 (98)';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team's score that played Geelong?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team's score that played Geelong?`:
```sql
                SELECT "home_team_score" FROM "round_11" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`At what venue did the home team score 12.10 (82)?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what venue did the home team score 12.10 (82)?`:
```sql
                SELECT "venue" FROM "round_11" WHERE "home_team_score"='12.10 (82)';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds were fought with opponent Kevin Roddy?`

### 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 `How many rounds were fought with opponent Kevin Roddy?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "opponent"='kevin roddy';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when attendance was 19,887?`

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

CREATE TABLE "game_by_game_results" (
  "week" text,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when attendance was 19,887?`:
```sql
                SELECT "record" FROM "game_by_game_results" WHERE "attendance"='19,887';
```
## Task
Generate a SQL query to answer the following question:
`What week was the Bye attendance week?`

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

CREATE TABLE "game_by_game_results" (
  "week" text,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What week was the Bye attendance week?`:
```sql
                SELECT "week" FROM "game_by_game_results" WHERE "attendance"='bye';
```
## Task
Generate a SQL query to answer the following question:
`Who won when the Patriots played the Denver Broncos?`

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

CREATE TABLE "game_by_game_results" (
  "week" text,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won when the Patriots played the Denver Broncos?`:
```sql
                SELECT "record" FROM "game_by_game_results" WHERE "opponent"='denver broncos';
```
## Task
Generate a SQL query to answer the following question:
`Who won when the attendance was 8,000?`

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

CREATE TABLE "game_by_game_results" (
  "week" text,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won when the attendance was 8,000?`:
```sql
                SELECT "record" FROM "game_by_game_results" WHERE "attendance"='8,000';
```
## Task
Generate a SQL query to answer the following question:
`What channel has an operator of ivptc?`

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

CREATE TABLE "television" (
  "band_ch" real,
  "call" text,
  "city" text,
  "owner" text,
  "operator" text,
  "virt_ch" real,
  "nickname" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `What channel has an operator of ivptc?`:
```sql
                SELECT "programming" FROM "television" WHERE "operator"='ivptc';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when Richmond payed as the home team?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when Richmond payed as the home team?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`Who played against Carlton as the home team?`

### 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 played against Carlton as the home team?`:
```sql
                SELECT "home_team" FROM "round_8" WHERE "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance when South Melbourne was the away team?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance when South Melbourne was the away team?`:
```sql
                SELECT SUM("crowd") FROM "round_8" WHERE "away_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the VFL played Kardinia Park?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team when the VFL played Kardinia Park?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "venue"='kardinia park';
```
## Task
Generate a SQL query to answer the following question:
`How many silver medals did the nation who received 32 bronze medals receive?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many silver medals did the nation who received 32 bronze medals receive?`:
```sql
                SELECT "silver" FROM "medal_table" WHERE "bronze"=32;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest numbered grid with a time or retired time of 52:52.1881?`

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

CREATE TABLE "race_1_results" (
  "name" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest numbered grid with a time or retired time of 52:52.1881?`:
```sql
                SELECT MAX("grid") FROM "race_1_results" WHERE "time_retired"='52:52.1881';
```
## Task
Generate a SQL query to answer the following question:
`Who recorded a time or retired time of 52:56.4653?`

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

CREATE TABLE "race_1_results" (
  "name" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who recorded a time or retired time of 52:56.4653?`:
```sql
                SELECT "name" FROM "race_1_results" WHERE "time_retired"='52:56.4653';
```
## Task
Generate a SQL query to answer the following question:
`What is the average grid number for paul cruickshank racing with less than 27 laps?`

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

CREATE TABLE "race_1_results" (
  "name" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average grid number for paul cruickshank racing with less than 27 laps?`:
```sql
                SELECT AVG("grid") FROM "race_1_results" WHERE "team"='paul cruickshank racing' AND "laps"<27;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals?`

### 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 `What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals?`:
```sql
                SELECT MIN("total") FROM "medal_table" WHERE "silver">6 AND "bronze"=6 AND "gold"<16;
```
## Task
Generate a SQL query to answer the following question:
`What 09-10 class, with a graduate percentage of 85% had the least amount of points?`

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

CREATE TABLE "arnold_today" (
  "school" text,
  "09_10_fcat" text,
  "09_10_points" real,
  "09_10_graduation" text,
  "08_09_fcat" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 09-10 class, with a graduate percentage of 85% had the least amount of points?`:
```sql
                SELECT MIN("09_10_points") FROM "arnold_today" WHERE "09_10_graduation"='85%';
```
## Task
Generate a SQL query to answer the following question:
`What is the crowd size of the game at Brunswick Street Oval?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the crowd size of the game at Brunswick Street Oval?`:
```sql
                SELECT SUM("crowd") FROM "round_10" WHERE "venue"='brunswick street oval';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team of the game where Footscray is the away 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 `Who was the home team of the game where Footscray is the away team?`:
```sql
                SELECT "home_team_score" FROM "round_10" WHERE "away_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team with a score of 7.8 (50)?`

### 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 `Who is the away team with a score of 7.8 (50)?`:
```sql
                SELECT "away_team" FROM "round_10" WHERE "away_team_score"='7.8 (50)';
```
## Task
Generate a SQL query to answer the following question:
`What week has a date of September 3, 2000?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What week has a date of September 3, 2000?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "date"='september 3, 2000';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when Hawthorn was 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 `Who was the home team when Hawthorn was the away team?`:
```sql
                SELECT "home_team" FROM "round_17" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when the home team scored 11.14 (80)?`

### 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 `Who was the away team when the home team scored 11.14 (80)?`:
```sql
                SELECT "away_team" FROM "round_17" WHERE "home_team_score"='11.14 (80)';
```
## Task
Generate a SQL query to answer the following question:
`What was Fitzroy's score when they were 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 Fitzroy's score when they were the away team?`:
```sql
                SELECT "away_team_score" FROM "round_17" WHERE "away_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What was #7 BMW's speed?`

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

CREATE TABLE "1971_isle_of_man_production_750_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 `What was #7 BMW's speed?`:
```sql
                SELECT "speed" FROM "1971_isle_of_man_production_750_cc_tt_fi" WHERE "team"='bmw' AND "rank"=7;
```
## Task
Generate a SQL query to answer the following question:
`What was the crowd size in the match South Melbourne played at home?`

### 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 crowd size in the match South Melbourne played at home?`:
```sql
                SELECT "crowd" FROM "round_1" WHERE "home_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score at Western Oval?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team's score at Western Oval?`:
```sql
                SELECT "away_team_score" FROM "round_1" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the date when the away team scored 9.16 (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 date when the away team scored 9.16 (70)?`:
```sql
                SELECT "date" FROM "round_1" WHERE "away_team_score"='9.16 (70)';
```
## Task
Generate a SQL query to answer the following question:
`What was the crowd size when Essendon was 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 was the crowd size when Essendon was the away team?`:
```sql
                SELECT COUNT("crowd") FROM "round_1" WHERE "away_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team that scored 13.13 (91) in front of a crowd larger than 10,000?`

### 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 that scored 13.13 (91) in front of a crowd larger than 10,000?`:
```sql
                SELECT "home_team" FROM "round_1" WHERE "crowd">'10,000' AND "home_team_score"='13.13 (91)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the time of 16:24.12 achieved?`

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

CREATE TABLE "women" (
  "event" text,
  "time" text,
  "nationality" text,
  "date" text,
  "meet" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the time of 16:24.12 achieved?`:
```sql
                SELECT "date" FROM "women" WHERE "time"='16:24.12';
```
## Task
Generate a SQL query to answer the following question:
`What year did the Capital City Giants have a game with the final score of 8-0?`

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

CREATE TABLE "game_results" (
  "year" real,
  "game" text,
  "team" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the Capital City Giants have a game with the final score of 8-0?`:
```sql
                SELECT AVG("year") FROM "game_results" WHERE "team"='capital city giants' AND "score"='8-0';
```
## Task
Generate a SQL query to answer the following question:
`What team lost a game by a score of 6-0?`

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

CREATE TABLE "game_results" (
  "year" real,
  "game" text,
  "team" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team lost a game by a score of 6-0?`:
```sql
                SELECT "runner_up" FROM "game_results" WHERE "score"='6-0';
```
## Task
Generate a SQL query to answer the following question:
`What teams played in Capital Bowl IV?`

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

CREATE TABLE "game_results" (
  "year" real,
  "game" text,
  "team" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What teams played in Capital Bowl IV?`:
```sql
                SELECT "team" FROM "game_results" WHERE "game"='capital bowl iv';
```
## Task
Generate a SQL query to answer the following question:
`What team defeated the Capital City Giants?`

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

CREATE TABLE "game_results" (
  "year" real,
  "game" text,
  "team" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team defeated the Capital City Giants?`:
```sql
                SELECT "team" FROM "game_results" WHERE "runner_up"='capital city giants';
```
## Task
Generate a SQL query to answer the following question:
`What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days?`

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

CREATE TABLE "senate_time" (
  "total_tenure_rank" real,
  "uninterrupted_rank" real,
  "name" text,
  "state_represented" text,
  "total_tenure_time" text,
  "uninterrupted_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days?`:
```sql
                SELECT "total_tenure_rank" FROM "senate_time" WHERE "uninterrupted_time"='49 years, 349 days';
```
## Task
Generate a SQL query to answer the following question:
`What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9?`

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

CREATE TABLE "senate_time" (
  "total_tenure_rank" real,
  "uninterrupted_rank" real,
  "name" text,
  "state_represented" text,
  "total_tenure_time" text,
  "uninterrupted_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9?`:
```sql
                SELECT "total_tenure_time" FROM "senate_time" WHERE "uninterrupted_rank">4 AND "total_tenure_rank">9 AND "name"='warren magnuson';
```
## Task
Generate a SQL query to answer the following question:
`What round was the overall 63 drafted?`

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

CREATE TABLE "2004_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 `What round was the overall 63 drafted?`:
```sql
                SELECT COUNT("round") FROM "2004_new_england_patriots_draft_selectio" WHERE "overall"=63;
```
## Task
Generate a SQL query to answer the following question:
`What is the Swedish name for South Karelia?`

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

CREATE TABLE "regions" (
  "in_english" text,
  "in_finnish" text,
  "in_swedish" text,
  "capital" text,
  "regional_state_administrative_agency" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Swedish name for South Karelia?`:
```sql
                SELECT "in_swedish" FROM "regions" WHERE "in_english"='south karelia';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team in the match where the away team scored 15.12 (102)?`

### 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 in the match where the away team scored 15.12 (102)?`:
```sql
                SELECT "home_team" FROM "round_1" WHERE "away_team_score"='15.12 (102)';
```
## Task
Generate a SQL query to answer the following question:
`What home team plays at Arden Street Oval?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team plays at Arden Street Oval?`:
```sql
                SELECT "home_team" FROM "round_1" WHERE "venue"='arden street oval';
```
## Task
Generate a SQL query to answer the following question:
`Who has a Jump 2 of 7.06, and what is this person's Jump 3?`

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

CREATE TABLE "final_round" (
  "athlete_name" text,
  "jump_1" text,
  "jump_2" text,
  "jump_3" text,
  "best_jump" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a Jump 2 of 7.06, and what is this person's Jump 3?`:
```sql
                SELECT "jump_3" FROM "final_round" WHERE "jump_2"='7.06';
```
## Task
Generate a SQL query to answer the following question:
`Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump?`

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

CREATE TABLE "final_round" (
  "athlete_name" text,
  "jump_1" text,
  "jump_2" text,
  "jump_3" text,
  "best_jump" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump?`:
```sql
                SELECT "best_jump" FROM "final_round" WHERE "jump_1"='x' AND "jump_2"='7.28';
```
## Task
Generate a SQL query to answer the following question:
`What is the Jump 2 of the person that has a Jump 3 of 7.77?`

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

CREATE TABLE "final_round" (
  "athlete_name" text,
  "jump_1" text,
  "jump_2" text,
  "jump_3" text,
  "best_jump" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Jump 2 of the person that has a Jump 3 of 7.77?`:
```sql
                SELECT "jump_2" FROM "final_round" WHERE "jump_3"='7.77';
```
## Task
Generate a SQL query to answer the following question:
`What is the Jump 2 of the person that has a Jump 1 of 7.14`

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

CREATE TABLE "final_round" (
  "athlete_name" text,
  "jump_1" text,
  "jump_2" text,
  "jump_3" text,
  "best_jump" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Jump 2 of the person that has a Jump 1 of 7.14`:
```sql
                SELECT "jump_2" FROM "final_round" WHERE "jump_1"='7.14';
```
## Task
Generate a SQL query to answer the following question:
`Which player from Tucson, Arizona won the Championship?`

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

CREATE TABLE "pac_10_12_tournament" (
  "year" real,
  "champion" text,
  "score" text,
  "runner_up" text,
  "arena" text,
  "city" text,
  "tournament_mvp" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player from Tucson, Arizona won the Championship?`:
```sql
                SELECT "champion" FROM "pac_10_12_tournament" WHERE "city"='tucson, arizona';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the player from Inglewood, California?`

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

CREATE TABLE "pac_10_12_tournament" (
  "year" real,
  "champion" text,
  "score" text,
  "runner_up" text,
  "arena" text,
  "city" text,
  "tournament_mvp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the player from Inglewood, California?`:
```sql
                SELECT "score" FROM "pac_10_12_tournament" WHERE "city"='inglewood, california';
```
## Task
Generate a SQL query to answer the following question:
`What tour was cancelled?`

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

CREATE TABLE "le_tour_de_pilipinas_padyak_pinoy_fed_ex" (
  "year" real,
  "name" text,
  "date" text,
  "stages" text,
  "distance" text,
  "winner" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tour was cancelled?`:
```sql
                SELECT "name" FROM "le_tour_de_pilipinas_padyak_pinoy_fed_ex" WHERE "date"='cancelled';
```
## Task
Generate a SQL query to answer the following question:
`Who won the Fedex tour of Calabarzon?`

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

CREATE TABLE "le_tour_de_pilipinas_padyak_pinoy_fed_ex" (
  "year" real,
  "name" text,
  "date" text,
  "stages" text,
  "distance" text,
  "winner" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the Fedex tour of Calabarzon?`:
```sql
                SELECT "winner" FROM "le_tour_de_pilipinas_padyak_pinoy_fed_ex" WHERE "name"='fedex tour of calabarzon';
```
## Task
Generate a SQL query to answer the following question:
`What year has the time of 55:29:20?`

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

CREATE TABLE "le_tour_de_pilipinas_padyak_pinoy_fed_ex" (
  "year" real,
  "name" text,
  "date" text,
  "stages" text,
  "distance" text,
  "winner" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year has the time of 55:29:20?`:
```sql
                SELECT COUNT("year") FROM "le_tour_de_pilipinas_padyak_pinoy_fed_ex" WHERE "time"='55:29:20';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when Mark parterned with lorenzo manta?`

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

CREATE TABLE "doubles_finals_8" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when Mark parterned with lorenzo manta?`:
```sql
                SELECT "score" FROM "doubles_finals_8" WHERE "partner"='lorenzo manta';
```
## Task
Generate a SQL query to answer the following question:
`Who was his partner when he played on carpet?`

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

CREATE TABLE "doubles_finals_8" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was his partner when he played on carpet?`:
```sql
                SELECT "partner" FROM "doubles_finals_8" WHERE "surface"='carpet';
```
## Task
Generate a SQL query to answer the following question:
`When did he play with peter nyborg?`

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

CREATE TABLE "doubles_finals_8" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did he play with peter nyborg?`:
```sql
                SELECT "date" FROM "doubles_finals_8" WHERE "partner"='peter nyborg';
```
## Task
Generate a SQL query to answer the following question:
`What day did he play on hard with tom mercer?`

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

CREATE TABLE "doubles_finals_8" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What day did he play on hard with tom mercer?`:
```sql
                SELECT "date" FROM "doubles_finals_8" WHERE "surface"='hard' AND "partner"='tom mercer';
```
## Task
Generate a SQL query to answer the following question:
`What was the week 2's record?`

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

CREATE TABLE "schedule" (
  "week" text,
  "kickoff" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week 2's record?`:
```sql
                SELECT "record" FROM "schedule" WHERE "week"='2';
```
## Task
Generate a SQL query to answer the following question:
`What was week 12's record?`

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

CREATE TABLE "schedule" (
  "week" text,
  "kickoff" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was week 12's record?`:
```sql
                SELECT "record" FROM "schedule" WHERE "week"='12';
```
## Task
Generate a SQL query to answer the following question:
`What was the Bye week attendance?`

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

CREATE TABLE "schedule" (
  "week" text,
  "kickoff" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Bye week attendance?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "record"='bye';
```
## Task
Generate a SQL query to answer the following question:
`When was the kickoff time of the SB XXXVI?`

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

CREATE TABLE "schedule" (
  "week" text,
  "kickoff" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the kickoff time of the SB XXXVI?`:
```sql
                SELECT "kickoff" FROM "schedule" WHERE "week"='sb xxxvi';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team score for the game played at Princes Park?`

### 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 home team score for the game played at Princes Park?`:
```sql
                SELECT "home_team_score" FROM "round_5" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`What event had a time of 6:37.73?`

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

CREATE TABLE "master_world_records" (
  "pool" text,
  "age_group" text,
  "time" text,
  "event" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What event had a time of 6:37.73?`:
```sql
                SELECT "event" FROM "master_world_records" WHERE "time"='6:37.73';
```
## Task
Generate a SQL query to answer the following question:
`What is the time for the 50m breaststroke?`

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

CREATE TABLE "master_world_records" (
  "pool" text,
  "age_group" text,
  "time" text,
  "event" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time for the 50m breaststroke?`:
```sql
                SELECT "time" FROM "master_world_records" WHERE "event"='50m breaststroke';
```
## Task
Generate a SQL query to answer the following question:
`What age group has a time of 6:37.73 at the 200m breaststroke?`

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

CREATE TABLE "master_world_records" (
  "pool" text,
  "age_group" text,
  "time" text,
  "event" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What age group has a time of 6:37.73 at the 200m breaststroke?`:
```sql
                SELECT "age_group" FROM "master_world_records" WHERE "event"='200m breaststroke' AND "time"='6:37.73';
```
## Task
Generate a SQL query to answer the following question:
`What date did the 90-94 year old have a tie of 1:25.91 at the LC pool?`

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

CREATE TABLE "master_world_records" (
  "pool" text,
  "age_group" text,
  "time" text,
  "event" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the 90-94 year old have a tie of 1:25.91 at the LC pool?`:
```sql
                SELECT "date" FROM "master_world_records" WHERE "age_group"='90-94' AND "pool"='lc' AND "time"='1:25.91';
```
## Task
Generate a SQL query to answer the following question:
`How many point totals are there that rank higher than 9 and have a PPG avg higher than 13.4?`

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

CREATE TABLE "points" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "ppg_avg" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many point totals are there that rank higher than 9 and have a PPG avg higher than 13.4?`:
```sql
                SELECT COUNT("total_points") FROM "points" WHERE "rank">9 AND "ppg_avg">13.4;
```
## Task
Generate a SQL query to answer the following question:
`How many players played over 125 games and were named david gonzalvez?`

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

CREATE TABLE "points" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "ppg_avg" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many players played over 125 games and were named david gonzalvez?`:
```sql
                SELECT COUNT("rank") FROM "points" WHERE "games">125 AND "player"='david gonzalvez';
```
## Task
Generate a SQL query to answer the following question:
`Which host university is based in Missoula?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which host university is based in Missoula?`:
```sql
                SELECT "host" FROM "first_and_second_rounds" WHERE "city"='missoula';
```
## Task
Generate a SQL query to answer the following question:
`What state is the city of Ruston in?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state is the city of Ruston in?`:
```sql
                SELECT "state" FROM "first_and_second_rounds" WHERE "city"='ruston';
```
## Task
Generate a SQL query to answer the following question:
`Which mideast regional state contains the city of Seattle?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which mideast regional state contains the city of Seattle?`:
```sql
                SELECT "state" FROM "first_and_second_rounds" WHERE "region"='mideast' AND "city"='seattle';
```
## Task
Generate a SQL query to answer the following question:
`Which region does Old Dominion University represent?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which region does Old Dominion University represent?`:
```sql
                SELECT "region" FROM "first_and_second_rounds" WHERE "host"='old dominion university';
```
## Task
Generate a SQL query to answer the following question:
`Which state is University of Tennessee based in?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which state is University of Tennessee based in?`:
```sql
                SELECT "state" FROM "first_and_second_rounds" WHERE "host"='university of tennessee';
```
## Task
Generate a SQL query to answer the following question:
`What was the grid for Bruno Junqueira for Dale Coyne Racing?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the grid for Bruno Junqueira for Dale Coyne Racing?`:
```sql
                SELECT "grid" FROM "race" WHERE "team"='dale coyne racing' AND "driver"='bruno junqueira';
```
## Task
Generate a SQL query to answer the following question:
`What were the highest points for less than 78 laps and on grid 5?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the highest points for less than 78 laps and on grid 5?`:
```sql
                SELECT MAX("points") FROM "race" WHERE "grid"=5 AND "laps"<78;
```
## Task
Generate a SQL query to answer the following question:
`How many were in the crowd at the Junction Oval venue?`

### 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 many were in the crowd at the Junction Oval venue?`:
```sql
                SELECT "crowd" FROM "round_6" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team score in the game at Arden Street Oval?`

### 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 score in the game at Arden Street Oval?`:
```sql
                SELECT "away_team_score" FROM "round_6" WHERE "venue"='arden street oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the Arden Street Oval game?`

### 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 date of the Arden Street Oval game?`:
```sql
                SELECT "date" FROM "round_6" WHERE "venue"='arden street oval';
```