cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?`

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

CREATE TABLE "population" (
  "province" text,
  "south_asians_2001" real,
  "pct_2001" text,
  "south_asians_2011" real,
  "pct_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?`:
```sql
                SELECT AVG("south_asians_2001") FROM "population" WHERE "province"='alberta' AND "south_asians_2011">'159,055';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Extra is "Heptathlon", and when Venue is "Götzis , Austria"?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Extra is "Heptathlon", and when Venue is "Götzis , Austria"?`:
```sql
                SELECT "result" FROM "achievements" WHERE "extra"='heptathlon' AND "venue"='götzis , austria';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Year(s), when Tournament is "World Championships"?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Year(s), when Tournament is "World Championships"?`:
```sql
                SELECT COUNT("year") FROM "achievements" WHERE "tournament"='world championships';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Year is 2005, and when Result is 8th?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Year is 2005, and when Result is 8th?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "year"=2005 AND "result"='8th';
```
## Task
Generate a SQL query to answer the following question:
`What is Tournament, when Result is 18th?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tournament, when Result is 18th?`:
```sql
                SELECT "tournament" FROM "achievements" WHERE "result"='18th';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "year">2003 AND "tournament"='hypo-meeting';
```
## Task
Generate a SQL query to answer the following question:
`When the score was  71-71-70-70=282 what was the To par recorded?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the score was  71-71-70-70=282 what was the To par recorded?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "score"='71-71-70-70=282';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for Tom Lehman?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for Tom Lehman?`:
```sql
                SELECT "score" FROM "final_round" WHERE "player"='tom lehman';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of November, when Game is greater than 23?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "november" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of November, when Game is greater than 23?`:
```sql
                SELECT SUM("november") FROM "schedule_and_results" WHERE "game">23;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of November, when Game is "17"?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "november" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of November, when Game is "17"?`:
```sql
                SELECT SUM("november") FROM "schedule_and_results" WHERE "game"=17;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "november" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16?`:
```sql
                SELECT MAX("game") FROM "schedule_and_results" WHERE "opponent"='chicago black hawks' AND "november"<16;
```
## Task
Generate a SQL query to answer the following question:
`What player has a total of 297?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player has a total of 297?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "total"=297;
```
## Task
Generate a SQL query to answer the following question:
`Which country has a total less than 289 and finished t2?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a total less than 289 and finished t2?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "total"<289 AND "finish"='t2';
```
## Task
Generate a SQL query to answer the following question:
`Which player finished t35?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player finished t35?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "finish"='t35';
```
## Task
Generate a SQL query to answer the following question:
`What finish has a total of more than 289 and won in 1979?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What finish has a total of more than 289 and won in 1979?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "total">289 AND "year_s_won"='1979';
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Moving To is "NEC Nijmegen"?`

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

CREATE TABLE "loan_out" (
  "date_from" text,
  "date_to" text,
  "pos" text,
  "name" text,
  "moving_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Moving To is "NEC Nijmegen"?`:
```sql
                SELECT "name" FROM "loan_out" WHERE "moving_to"='nec nijmegen';
```
## Task
Generate a SQL query to answer the following question:
`What is Date From, when Moving To is "Birmingham City"?`

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

CREATE TABLE "loan_out" (
  "date_from" text,
  "date_to" text,
  "pos" text,
  "name" text,
  "moving_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date From, when Moving To is "Birmingham City"?`:
```sql
                SELECT "date_from" FROM "loan_out" WHERE "moving_to"='birmingham city';
```
## Task
Generate a SQL query to answer the following question:
`What is Pos., when Date To is "30 June 2009", and when Name is "Eddie Johnson"?`

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

CREATE TABLE "loan_out" (
  "date_from" text,
  "date_to" text,
  "pos" text,
  "name" text,
  "moving_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pos., when Date To is "30 June 2009", and when Name is "Eddie Johnson"?`:
```sql
                SELECT "pos" FROM "loan_out" WHERE "date_to"='30 june 2009' AND "name"='eddie johnson';
```
## Task
Generate a SQL query to answer the following question:
`What is Pos., when Date From is "28 August 2008"?`

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

CREATE TABLE "loan_out" (
  "date_from" text,
  "date_to" text,
  "pos" text,
  "name" text,
  "moving_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pos., when Date From is "28 August 2008"?`:
```sql
                SELECT "pos" FROM "loan_out" WHERE "date_from"='28 august 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Moving To, when Name is "Leon Andreasen"?`

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

CREATE TABLE "loan_out" (
  "date_from" text,
  "date_to" text,
  "pos" text,
  "name" text,
  "moving_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Moving To, when Name is "Leon Andreasen"?`:
```sql
                SELECT "moving_to" FROM "loan_out" WHERE "name"='leon andreasen';
```
## Task
Generate a SQL query to answer the following question:
`What is Date To, when Name is "Lee Cook"?`

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

CREATE TABLE "loan_out" (
  "date_from" text,
  "date_to" text,
  "pos" text,
  "name" text,
  "moving_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date To, when Name is "Lee Cook"?`:
```sql
                SELECT "date_to" FROM "loan_out" WHERE "name"='lee cook';
```
## Task
Generate a SQL query to answer the following question:
`When was the oakachoy covered bridge listed?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the oakachoy covered bridge listed?`:
```sql
                SELECT "listed" FROM "references" WHERE "name"='oakachoy covered bridge';
```
## Task
Generate a SQL query to answer the following question:
`In which county is the swann covered bridge located?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which county is the swann covered bridge located?`:
```sql
                SELECT "county" FROM "references" WHERE "name"='swann covered bridge';
```
## Task
Generate a SQL query to answer the following question:
`Which bridge is located in Nectar, in Blount County?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which bridge is located in Nectar, in Blount County?`:
```sql
                SELECT "name" FROM "references" WHERE "county"='blount' AND "location"='nectar';
```
## Task
Generate a SQL query to answer the following question:
`Which county built a bridge in 1934?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which county built a bridge in 1934?`:
```sql
                SELECT "county" FROM "references" WHERE "built"='1934';
```
## Task
Generate a SQL query to answer the following question:
`In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20?`

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

CREATE TABLE "references" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20?`:
```sql
                SELECT "built" FROM "references" WHERE "county"='blount' AND "listed"='1981-08-20' AND "location"='cleveland';
```
## Task
Generate a SQL query to answer the following question:
`What is the score with a time at 18:00 and a score for set 3 of 13–25?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score with a time at 18:00 and a score for set 3 of 13–25?`:
```sql
                SELECT "score" FROM "pool_b" WHERE "time"='18:00' AND "set_3"='13–25';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for set 2 when the score of set 1 is 19–25?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for set 2 when the score of set 1 is 19–25?`:
```sql
                SELECT "set_2" FROM "pool_b" WHERE "set_1"='19–25';
```
## Task
Generate a SQL query to answer the following question:
`How much is the total with a time at 16:00 and score for set 3 of 18–25?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much is the total with a time at 16:00 and score for set 3 of 18–25?`:
```sql
                SELECT "total" FROM "pool_b" WHERE "time"='16:00' AND "set_3"='18–25';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for set 2 when the time is 18:00 and the score of set 1 is 18–25?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for set 2 when the time is 18:00 and the score of set 1 is 18–25?`:
```sql
                SELECT "set_2" FROM "pool_b" WHERE "time"='18:00' AND "set_1"='18–25';
```
## Task
Generate a SQL query to answer the following question:
`What was the total with a score in set 3 of 13–25?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total with a score in set 3 of 13–25?`:
```sql
                SELECT "total" FROM "pool_b" WHERE "set_3"='13–25';
```
## Task
Generate a SQL query to answer the following question:
`What was the Champion of the Tournament with a Score of 79–75 OT?`

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

CREATE TABLE "tournament_champions" (
  "year" text,
  "champion_seed" text,
  "score" text,
  "runner_up_seed" text,
  "most_valuable_player" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Champion of the Tournament with a Score of 79–75 OT?`:
```sql
                SELECT "champion_seed" FROM "tournament_champions" WHERE "score"='79–75 ot';
```
## Task
Generate a SQL query to answer the following question:
`What was the Champion of the Game with a Score of 65–56?`

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

CREATE TABLE "tournament_champions" (
  "year" text,
  "champion_seed" text,
  "score" text,
  "runner_up_seed" text,
  "most_valuable_player" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Champion of the Game with a Score of 65–56?`:
```sql
                SELECT "champion_seed" FROM "tournament_champions" WHERE "score"='65–56';
```
## Task
Generate a SQL query to answer the following question:
`Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō?`:
```sql
                SELECT "manufacturer" FROM "moto_gp_classification" WHERE "laps"=21 AND "grid">16 AND "rider"='akira ryō';
```
## Task
Generate a SQL query to answer the following question:
`Which Time/Retired has a Rider of daijiro kato?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Time/Retired has a Rider of daijiro kato?`:
```sql
                SELECT "time_retired" FROM "moto_gp_classification" WHERE "rider"='daijiro kato';
```
## Task
Generate a SQL query to answer the following question:
`Which Manufacturer has a Rider of daijiro kato?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Manufacturer has a Rider of daijiro kato?`:
```sql
                SELECT "manufacturer" FROM "moto_gp_classification" WHERE "rider"='daijiro kato';
```
## Task
Generate a SQL query to answer the following question:
`Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy?`:
```sql
                SELECT "time_retired" FROM "moto_gp_classification" WHERE "manufacturer"='yamaha' AND "rider"='garry mccoy';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the team with round less than 2, and the nationality is the United States?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the team with round less than 2, and the nationality is the United States?`:
```sql
                SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round"<2 AND "nationality"='united states';
```
## Task
Generate a SQL query to answer the following question:
`What position does John Carlson play?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does John Carlson play?`:
```sql
                SELECT "position" FROM "draft_picks" WHERE "player"='john carlson';
```
## Task
Generate a SQL query to answer the following question:
`Who had the highest rebounds on game 5?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the highest rebounds on game 5?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "game"=5;
```
## Task
Generate a SQL query to answer the following question:
`How many Overall went in a round larger than 7 with a pick less than 7?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Overall went in a round larger than 7 with a pick less than 7?`:
```sql
                SELECT COUNT("overall") FROM "washington_redskins_draft_history" WHERE "round">7 AND "pick"<7;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest event number for player from Norway with prize money less than $2,241,847?`

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

CREATE TABLE "2013_money_leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "events" real,
  "prize_money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest event number for player from Norway with prize money less than $2,241,847?`:
```sql
                SELECT MAX("events") FROM "2013_money_leaders" WHERE "country"='norway' AND "prize_money"<'2,241,847';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank for the player with events greater than 23 and prize money in excess of $823,783?`

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

CREATE TABLE "2013_money_leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "events" real,
  "prize_money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank for the player with events greater than 23 and prize money in excess of $823,783?`:
```sql
                SELECT COUNT("rank") FROM "2013_money_leaders" WHERE "events">23 AND "prize_money">'823,783';
```
## Task
Generate a SQL query to answer the following question:
`What is the prize money for the player ranked 1?`

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

CREATE TABLE "2013_money_leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "events" real,
  "prize_money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the prize money for the player ranked 1?`:
```sql
                SELECT MAX("prize_money") FROM "2013_money_leaders" WHERE "rank"=1;
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest round for the KOTC 25: Flaming Fury event?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest round for the KOTC 25: Flaming Fury event?`:
```sql
                SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "event"='kotc 25: flaming fury';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent for the KOTC 25: Flaming Fury event?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent for the KOTC 25: Flaming Fury event?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "event"='kotc 25: flaming fury';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in the WMMA 1: McCorkle vs. Heden event that went more than 1 round?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent in the WMMA 1: McCorkle vs. Heden event that went more than 1 round?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "round">1 AND "event"='wmma 1: mccorkle vs. heden';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when his record was 25-15?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when his record was 25-15?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "record"='25-15';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Round is less than 6, and when Nationality is "Denmark"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Round is less than 6, and when Nationality is "Denmark"?`:
```sql
                SELECT "position" FROM "draft_picks" WHERE "round"<6 AND "nationality"='denmark';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Nationality is "Canada", and when Round is greater than 3?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Nationality is "Canada", and when Round is greater than 3?`:
```sql
                SELECT "position" FROM "draft_picks" WHERE "nationality"='canada' AND "round">3;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Round, when College/Junior/Club Team (League) is "Kelowna Rockets ( WHL )"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Round, when College/Junior/Club Team (League) is "Kelowna Rockets ( WHL )"?`:
```sql
                SELECT COUNT("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='kelowna rockets ( whl )';
```
## Task
Generate a SQL query to answer the following question:
`What round did the fight last when Mikhail Ilyukhin's record was 15-5?`

### 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,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round did the fight last when Mikhail Ilyukhin's record was 15-5?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='15-5';
```
## Task
Generate a SQL query to answer the following question:
`What method did Mikhail Ilyukhin win the fight in round 1 when his record was 13-5?`

### 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,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What method did Mikhail Ilyukhin win the fight in round 1 when his record was 13-5?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"='1' AND "res"='win' AND "record"='13-5';
```
## Task
Generate a SQL query to answer the following question:
`What was the method of resolution when Mikhail Ilyukhin's record was 4-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,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the method of resolution when Mikhail Ilyukhin's record was 4-0?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='4-0';
```
## Task
Generate a SQL query to answer the following question:
`When was the score 123-112?`

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

CREATE TABLE "december" (
  "date" text,
  "h_a_n" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the score 123-112?`:
```sql
                SELECT "date" FROM "december" WHERE "score"='123-112';
```
## Task
Generate a SQL query to answer the following question:
`Who did they play when the score was 95-118?`

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

CREATE TABLE "december" (
  "date" text,
  "h_a_n" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play when the score was 95-118?`:
```sql
                SELECT "opponent" FROM "december" WHERE "score"='95-118';
```
## Task
Generate a SQL query to answer the following question:
`Who did they play when the score was 95-114?`

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

CREATE TABLE "december" (
  "date" text,
  "h_a_n" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play when the score was 95-114?`:
```sql
                SELECT "opponent" FROM "december" WHERE "score"='95-114';
```
## Task
Generate a SQL query to answer the following question:
`When was the score 92-134?`

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

CREATE TABLE "december" (
  "date" text,
  "h_a_n" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the score 92-134?`:
```sql
                SELECT "date" FROM "december" WHERE "score"='92-134';
```
## Task
Generate a SQL query to answer the following question:
`When they were 2-32 what did they score?`

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

CREATE TABLE "december" (
  "date" text,
  "h_a_n" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When they were 2-32 what did they score?`:
```sql
                SELECT "score" FROM "december" WHERE "record"='2-32';
```
## Task
Generate a SQL query to answer the following question:
`When the total was smaller than 290, what was the highest To par?`

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

CREATE TABLE "past_champions_in_the_field" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the total was smaller than 290, what was the highest To par?`:
```sql
                SELECT MAX("to_par") FROM "past_champions_in_the_field" WHERE "total"<290;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of To par for Lee Trevino?`

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

CREATE TABLE "past_champions_in_the_field" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of To par for Lee Trevino?`:
```sql
                SELECT COUNT("to_par") FROM "past_champions_in_the_field" WHERE "player"='lee trevino';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of To par when the Finish is t11?`

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

CREATE TABLE "past_champions_in_the_field" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of To par when the Finish is t11?`:
```sql
                SELECT SUM("to_par") FROM "past_champions_in_the_field" WHERE "finish"='t11';
```
## Task
Generate a SQL query to answer the following question:
`What was Donald Bradman's average runs?`

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

CREATE TABLE "best_batting_averages" (
  "player" text,
  "team" text,
  "matches" real,
  "innings" real,
  "runs" real,
  "average" real,
  "highest_score" text,
  "100s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was Donald Bradman's average runs?`:
```sql
                SELECT AVG("runs") FROM "best_batting_averages" WHERE "player"='donald bradman';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest amount of runs for more than 5 matches?`

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

CREATE TABLE "best_batting_averages" (
  "player" text,
  "team" text,
  "matches" real,
  "innings" real,
  "runs" real,
  "average" real,
  "highest_score" text,
  "100s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest amount of runs for more than 5 matches?`:
```sql
                SELECT MAX("runs") FROM "best_batting_averages" WHERE "matches">5;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Shot Pct., when Blank Ends is greater than 6?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Shot Pct., when Blank Ends is greater than 6?`:
```sql
                SELECT MIN("shot_pct") FROM "standings" WHERE "blank_ends">6;
```
## Task
Generate a SQL query to answer the following question:
`What is Shot Pct., when Stolen Ends is 2?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Shot Pct., when Stolen Ends is 2?`:
```sql
                SELECT "shot_pct" FROM "standings" WHERE "stolen_ends"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Ends Won, when Province is "Saskatchewan", and when Stolen Ends is less than 6?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Ends Won, when Province is "Saskatchewan", and when Stolen Ends is less than 6?`:
```sql
                SELECT COUNT("ends_won") FROM "standings" WHERE "province"='saskatchewan' AND "stolen_ends"<6;
```
## Task
Generate a SQL query to answer the following question:
`On what date were Perth Wildcats the away team?`

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

CREATE TABLE "round_10" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date were Perth Wildcats the away team?`:
```sql
                SELECT "date" FROM "round_10" WHERE "away_team"='perth wildcats';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the score 121-113?`

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

CREATE TABLE "round_10" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the score 121-113?`:
```sql
                SELECT "date" FROM "round_10" WHERE "score"='121-113';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Adelaide 36ers the home team?`

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

CREATE TABLE "round_10" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Adelaide 36ers the home team?`:
```sql
                SELECT "date" FROM "round_10" WHERE "home_team"='adelaide 36ers';
```
## Task
Generate a SQL query to answer the following question:
`Which report is for Townsville Entertainment Centre?`

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

CREATE TABLE "round_10" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which report is for Townsville Entertainment Centre?`:
```sql
                SELECT "report" FROM "round_10" WHERE "venue"='townsville entertainment centre';
```
## Task
Generate a SQL query to answer the following question:
`Which home team had a score of 85-101?`

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

CREATE TABLE "round_10" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which home team had a score of 85-101?`:
```sql
                SELECT "home_team" FROM "round_10" WHERE "score"='85-101';
```
## Task
Generate a SQL query to answer the following question:
`What was the box core for the Melbourne Tigers?`

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

CREATE TABLE "round_10" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the box core for the Melbourne Tigers?`:
```sql
                SELECT "box_score" FROM "round_10" WHERE "home_team"='melbourne tigers';
```
## Task
Generate a SQL query to answer the following question:
`who is the author when featuring is leela, the master, kraals?`

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

CREATE TABLE "series_1" (
  "series_sorted" text,
  "title" text,
  "author" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the author when featuring is leela, the master, kraals?`:
```sql
                SELECT "author" FROM "series_1" WHERE "featuring"='leela, the master, kraals';
```
## Task
Generate a SQL query to answer the following question:
`who is the author when the title is destination: nerva?`

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

CREATE TABLE "series_1" (
  "series_sorted" text,
  "title" text,
  "author" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the author when the title is destination: nerva?`:
```sql
                SELECT "author" FROM "series_1" WHERE "title"='destination: nerva';
```
## Task
Generate a SQL query to answer the following question:
`who is featuring when the title is energy of the daleks?`

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

CREATE TABLE "series_1" (
  "series_sorted" text,
  "title" text,
  "author" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is featuring when the title is energy of the daleks?`:
```sql
                SELECT "featuring" FROM "series_1" WHERE "title"='energy of the daleks';
```
## Task
Generate a SQL query to answer the following question:
`what is the title when the featuring is leela and series sorted is 4s/b?`

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

CREATE TABLE "series_1" (
  "series_sorted" text,
  "title" text,
  "author" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the title when the featuring is leela and series sorted is 4s/b?`:
```sql
                SELECT "title" FROM "series_1" WHERE "featuring"='leela' AND "series_sorted"='4s/b';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Opponent that has the December of 2?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Opponent that has the December of 2?`:
```sql
                SELECT "opponent" FROM "schedule_and_results" WHERE "december"=2;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the average December rhat has the Opponent of @ toronto maple leafs?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the average December rhat has the Opponent of @ toronto maple leafs?`:
```sql
                SELECT AVG("december") FROM "schedule_and_results" WHERE "opponent"='@ toronto maple leafs';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the December of 10?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the December of 10?`:
```sql
                SELECT "score" FROM "schedule_and_results" WHERE "december"=10;
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the Tie no was 6?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the Tie no was 6?`:
```sql
                SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"=6;
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the Tie no less than 2?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the Tie no less than 2?`:
```sql
                SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"<2;
```