cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is Scotland's winner?`

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

CREATE TABLE "winners" (
  "year" real,
  "venue" text,
  "winner" text,
  "country" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Scotland's winner?`:
```sql
                SELECT "winner" FROM "winners" WHERE "country"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`What time was the game in week 2?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time was the game in week 2?`:
```sql
                SELECT "time" FROM "regular_season" WHERE "week"=2;
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game on September 14, 2008?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game on September 14, 2008?`:
```sql
                SELECT "result" FROM "regular_season" WHERE "date"='september 14, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the game on November 23, 2008?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the game on November 23, 2008?`:
```sql
                SELECT "result" FROM "regular_season" WHERE "date"='november 23, 2008';
```
## Task
Generate a SQL query to answer the following question:
`Which species has a Voges-Proskauer reading of negative and an indole reading of negative?`

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

CREATE TABLE "usage" (
  "species" text,
  "indole" text,
  "methyl_red" text,
  "voges_proskauer" text,
  "citrate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which species has a Voges-Proskauer reading of negative and an indole reading of negative?`:
```sql
                SELECT "species" FROM "usage" WHERE "voges_proskauer"='negative' AND "indole"='negative';
```
## Task
Generate a SQL query to answer the following question:
`What is the Voges-Proskauer reading for proteus mirabilis?`

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

CREATE TABLE "usage" (
  "species" text,
  "indole" text,
  "methyl_red" text,
  "voges_proskauer" text,
  "citrate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Voges-Proskauer reading for proteus mirabilis?`:
```sql
                SELECT "voges_proskauer" FROM "usage" WHERE "species"='proteus mirabilis';
```
## Task
Generate a SQL query to answer the following question:
`What is the methyl red reading for the species that tests positive for indole?`

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

CREATE TABLE "usage" (
  "species" text,
  "indole" text,
  "methyl_red" text,
  "voges_proskauer" text,
  "citrate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the methyl red reading for the species that tests positive for indole?`:
```sql
                SELECT "methyl_red" FROM "usage" WHERE "indole"='positive';
```
## Task
Generate a SQL query to answer the following question:
`What is the methyl red reading for proteus mirabilis?`

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

CREATE TABLE "usage" (
  "species" text,
  "indole" text,
  "methyl_red" text,
  "voges_proskauer" text,
  "citrate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the methyl red reading for proteus mirabilis?`:
```sql
                SELECT "methyl_red" FROM "usage" WHERE "species"='proteus mirabilis';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest silver medals for Russia with more than 5 bronze medals?`

### 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 `What is the highest silver medals for Russia with more than 5 bronze medals?`:
```sql
                SELECT MAX("silver") FROM "medal_table" WHERE "nation"='russia' AND "bronze">5;
```
## Task
Generate a SQL query to answer the following question:
`What package/option has sky arte hd as the television service?`

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

CREATE TABLE "worlds_cultures" (
  "television_service" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What package/option has sky arte hd as the television service?`:
```sql
                SELECT "package_option" FROM "worlds_cultures" WHERE "television_service"='sky arte hd';
```
## Task
Generate a SQL query to answer the following question:
`What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service?`

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

CREATE TABLE "worlds_cultures" (
  "television_service" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service?`:
```sql
                SELECT "language" FROM "worlds_cultures" WHERE "hdtv"='no' AND "package_option"='sky famiglia' AND "television_service"='national geographic channel';
```
## Task
Generate a SQL query to answer the following question:
`What language has sky famiglia as the package/option?`

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

CREATE TABLE "worlds_cultures" (
  "television_service" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language has sky famiglia as the package/option?`:
```sql
                SELECT "language" FROM "worlds_cultures" WHERE "package_option"='sky famiglia';
```
## Task
Generate a SQL query to answer the following question:
`What language has viaggi as the content?`

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

CREATE TABLE "worlds_cultures" (
  "television_service" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language has viaggi as the content?`:
```sql
                SELECT "language" FROM "worlds_cultures" WHERE "content"='viaggi';
```
## Task
Generate a SQL query to answer the following question:
`What television service has italian as the language, and sky famiglia as the package option?`

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

CREATE TABLE "worlds_cultures" (
  "television_service" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What television service has italian as the language, and sky famiglia as the package option?`:
```sql
                SELECT "television_service" FROM "worlds_cultures" WHERE "language"='italian' AND "package_option"='sky famiglia';
```
## Task
Generate a SQL query to answer the following question:
`What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd?`

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

CREATE TABLE "worlds_cultures" (
  "television_service" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd?`:
```sql
                SELECT "package_option" FROM "worlds_cultures" WHERE "content"='documentaries' AND "hdtv"='yes' AND "television_service"='history hd';
```
## Task
Generate a SQL query to answer the following question:
`What was the resolution for the match that ended by Submission (armbar)?`

### 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,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the resolution for the match that ended by Submission (armbar)?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "method"='submission (armbar)';
```
## Task
Generate a SQL query to answer the following question:
`What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski?`

### 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,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "round"='3' AND "opponent"='keith wisniewski';
```
## Task
Generate a SQL query to answer the following question:
`Where did the match with opponent Laverne Clark occur?`

### 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,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did the match with opponent Laverne Clark occur?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='laverne clark';
```
## Task
Generate a SQL query to answer the following question:
`What is the Diameter (mi) when the Longitude is 79.8° e?`

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

CREATE TABLE "satellite_craters" (
  "gill" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "diameter_mi" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Diameter (mi) when the Longitude is 79.8° e?`:
```sql
                SELECT "diameter_mi" FROM "satellite_craters" WHERE "longitude"='79.8° e';
```
## Task
Generate a SQL query to answer the following question:
`What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e?`

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

CREATE TABLE "satellite_craters" (
  "gill" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "diameter_mi" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e?`:
```sql
                SELECT "latitude" FROM "satellite_craters" WHERE "diameter_km"='13km' AND "longitude"='72.9° e';
```
## Task
Generate a SQL query to answer the following question:
`What shows for the Longitude when there is a Diameter (km) of 31km?`

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

CREATE TABLE "satellite_craters" (
  "gill" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "diameter_mi" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for the Longitude when there is a Diameter (km) of 31km?`:
```sql
                SELECT "longitude" FROM "satellite_craters" WHERE "diameter_km"='31km';
```
## Task
Generate a SQL query to answer the following question:
`What shows for the Diameter (mi) when the Gill is g?`

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

CREATE TABLE "satellite_craters" (
  "gill" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "diameter_mi" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for the Diameter (mi) when the Gill is g?`:
```sql
                SELECT "diameter_mi" FROM "satellite_craters" WHERE "gill"='g';
```
## Task
Generate a SQL query to answer the following question:
`What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e?`

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

CREATE TABLE "satellite_craters" (
  "gill" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "diameter_mi" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e?`:
```sql
                SELECT "diameter_km" FROM "satellite_craters" WHERE "diameter_mi"='8mi' AND "gill"='e';
```
## Task
Generate a SQL query to answer the following question:
`What shows as the Diameter (km) when the Diameter (mi) is 5mi?`

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

CREATE TABLE "satellite_craters" (
  "gill" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "diameter_mi" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows as the Diameter (km) when the Diameter (mi) is 5mi?`:
```sql
                SELECT "diameter_km" FROM "satellite_craters" WHERE "diameter_mi"='5mi';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest squad with 0 goals?`

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

CREATE TABLE "2008_season_players_current_to_round_19_" (
  "player" text,
  "squad_no" real,
  "appearances" real,
  "tries" real,
  "goals" real,
  "f_goals" real,
  "points" real,
  "contract_ends" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest squad with 0 goals?`:
```sql
                SELECT MIN("squad_no") FROM "2008_season_players_current_to_round_19_" WHERE "goals"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the number for overall for angelo craig?`

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

CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number for overall for angelo craig?`:
```sql
                SELECT COUNT("overall") FROM "2008_cincinnati_bengals_draft_selections" WHERE "player"='angelo craig';
```
## Task
Generate a SQL query to answer the following question:
`What is the Round when there is an overall of 246?`

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

CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Round when there is an overall of 246?`:
```sql
                SELECT "round" FROM "2008_cincinnati_bengals_draft_selections" WHERE "overall"=246;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Overall for the wide receiver in a round less than 2?`

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

CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Overall for the wide receiver in a round less than 2?`:
```sql
                SELECT MIN("overall") FROM "2008_cincinnati_bengals_draft_selections" WHERE "position"='wide receiver' AND "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the Player from appalachian state?`

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

CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Player from appalachian state?`:
```sql
                SELECT "player" FROM "2008_cincinnati_bengals_draft_selections" WHERE "college"='appalachian state';
```
## Task
Generate a SQL query to answer the following question:
`What is the Production Cost with a Date that is february 2000?`

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

CREATE TABLE "2000" (
  "date" text,
  "title" text,
  "director" text,
  "producer" text,
  "production_cost" text,
  "singapore_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Production Cost with a Date that is february 2000?`:
```sql
                SELECT "production_cost" FROM "2000" WHERE "date"='february 2000';
```
## Task
Generate a SQL query to answer the following question:
`What is the Singapore Gross with a Title that is 2000?`

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

CREATE TABLE "2000" (
  "date" text,
  "title" text,
  "director" text,
  "producer" text,
  "production_cost" text,
  "singapore_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Singapore Gross with a Title that is 2000?`:
```sql
                SELECT "singapore_gross" FROM "2000" WHERE "title"='2000';
```
## Task
Generate a SQL query to answer the following question:
`What is the Singapore Gross with a Producer that is 2000?`

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

CREATE TABLE "2000" (
  "date" text,
  "title" text,
  "director" text,
  "producer" text,
  "production_cost" text,
  "singapore_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Singapore Gross with a Producer that is 2000?`:
```sql
                SELECT "singapore_gross" FROM "2000" WHERE "producer"='2000';
```
## Task
Generate a SQL query to answer the following question:
`What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?`

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

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?`:
```sql
                SELECT AVG("height") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "weight"<93 AND "spike"<336 AND "block"=305;
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978?`

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

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978?`:
```sql
                SELECT "name" FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "block"=320 AND "spike">336 AND "date_of_birth"='12.10.1978';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?`

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

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?`:
```sql
                SELECT COUNT("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"<341 AND "weight">82 AND "name"='theodoros baev';
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973?`

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

CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
  "name" text,
  "date_of_birth" text,
  "height" real,
  "weight" real,
  "spike" real,
  "block" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973?`:
```sql
                SELECT "name" FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike">343 AND "date_of_birth"='02.03.1973';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the Paco Rabanne Open de France?`

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

CREATE TABLE "european_tour_wins_14" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the Paco Rabanne Open de France?`:
```sql
                SELECT "date" FROM "european_tour_wins_14" WHERE "tournament"='paco rabanne open de france';
```
## Task
Generate a SQL query to answer the following question:
`On which date did Ian Mosey finish runner-up?`

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

CREATE TABLE "european_tour_wins_14" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which date did Ian Mosey finish runner-up?`:
```sql
                SELECT "date" FROM "european_tour_wins_14" WHERE "runner_s_up"='ian mosey';
```
## Task
Generate a SQL query to answer the following question:
`What set 2 has a set 4 of 21-25?`

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

CREATE TABLE "results_pool_d" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What set 2 has a set 4 of 21-25?`:
```sql
                SELECT "set_2" FROM "results_pool_d" WHERE "set_4"='21-25';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when set 3 was 26-28?`

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

CREATE TABLE "results_pool_d" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when set 3 was 26-28?`:
```sql
                SELECT "score" FROM "results_pool_d" WHERE "set_3"='26-28';
```
## Task
Generate a SQL query to answer the following question:
`When was set 3 of 18-25?`

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

CREATE TABLE "results_pool_d" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was set 3 of 18-25?`:
```sql
                SELECT "date" FROM "results_pool_d" WHERE "set_3"='18-25';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away captain with a result of Eng by 1 wkt?`

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

CREATE TABLE "england_in_australia_1907_8" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away captain with a result of Eng by 1 wkt?`:
```sql
                SELECT "away_captain" FROM "england_in_australia_1907_8" WHERE "result"='eng by 1 wkt';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the result Eng by 1 wkt?`

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

CREATE TABLE "england_in_australia_1907_8" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the result Eng by 1 wkt?`:
```sql
                SELECT "date" FROM "england_in_australia_1907_8" WHERE "result"='eng by 1 wkt';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Arthur Jones the away captain at Sydney Cricket Ground?`

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

CREATE TABLE "england_in_australia_1907_8" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Arthur Jones the away captain at Sydney Cricket Ground?`:
```sql
                SELECT "date" FROM "england_in_australia_1907_8" WHERE "away_captain"='arthur jones' AND "venue"='sydney cricket ground';
```
## Task
Generate a SQL query to answer the following question:
`What was the birthplace of the player who was part of the Blind River Hockey Club team between 1963-1964?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "1963_1964_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the birthplace of the player who was part of the Blind River Hockey Club team between 1963-1964?`:
```sql
                SELECT "birthplace" FROM "list_of_united_states_national_ice_hocke" WHERE "1963_1964_team"='blind river hockey club';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest place for song that was draw number 6?`

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

CREATE TABLE "spokespersons" (
  "draw" real,
  "artist" text,
  "song" text,
  "first_vote" real,
  "place" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest place for song that was draw number 6?`:
```sql
                SELECT MAX("place") FROM "spokespersons" WHERE "draw"=6;
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game on November 6, 1988?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game on November 6, 1988?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='november 6, 1988';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game against the Los Angeles Rams?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game against the Los Angeles Rams?`:
```sql
                SELECT "date" FROM "schedule" WHERE "opponent"='los angeles rams';
```
## Task
Generate a SQL query to answer the following question:
`What is the total with a 25-19 set 2 on Jun 17?`

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

CREATE TABLE "results_pool_d" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total with a 25-19 set 2 on Jun 17?`:
```sql
                SELECT "total" FROM "results_pool_d" WHERE "set_2"='25-19' AND "date"='jun 17';
```
## Task
Generate a SQL query to answer the following question:
`What is the set 4 with a 2-3 score?`

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

CREATE TABLE "results_pool_d" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the set 4 with a 2-3 score?`:
```sql
                SELECT "set_4" FROM "results_pool_d" WHERE "score"='2-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the set 5 with a 19-25 set 1?`

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

CREATE TABLE "results_pool_d" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the set 5 with a 19-25 set 1?`:
```sql
                SELECT "set_5" FROM "results_pool_d" WHERE "set_1"='19-25';
```
## Task
Generate a SQL query to answer the following question:
`What is the set 1 with a 28-30 set 4?`

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

CREATE TABLE "results_pool_d" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the set 1 with a 28-30 set 4?`:
```sql
                SELECT "set_1" FROM "results_pool_d" WHERE "set_4"='28-30';
```
## Task
Generate a SQL query to answer the following question:
`What is the result when there's less than 2 goals?`

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

CREATE TABLE "giovanni_hern_ndez_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result when there's less than 2 goals?`:
```sql
                SELECT "result" FROM "giovanni_hern_ndez_international_goals" WHERE "goal"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the score when there are less than 2 goals?`

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

CREATE TABLE "giovanni_hern_ndez_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when there are less than 2 goals?`:
```sql
                SELECT "score" FROM "giovanni_hern_ndez_international_goals" WHERE "goal"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player born on May 13, 1983 who played for the Los Angeles Kings during 2009-2010?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "position" text,
  "jersey_num" real,
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "2009_2010_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player born on May 13, 1983 who played for the Los Angeles Kings during 2009-2010?`:
```sql
                SELECT "position" FROM "list_of_united_states_national_ice_hocke" WHERE "2009_2010_team"='los angeles kings' AND "birthdate"='may 13, 1983';
```
## Task
Generate a SQL query to answer the following question:
`What is the birthplace of the player who played for the Calgary Flames between 2009-2010 and wears a jersey number greater than 23?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "position" text,
  "jersey_num" real,
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "2009_2010_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the birthplace of the player who played for the Calgary Flames between 2009-2010 and wears a jersey number greater than 23?`:
```sql
                SELECT "birthplace" FROM "list_of_united_states_national_ice_hocke" WHERE "2009_2010_team"='calgary flames' AND "jersey_num">23;
```
## Task
Generate a SQL query to answer the following question:
`How many points on average had a position smaller than 8, 16 plays, and a lost larger than 9?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points on average had a position smaller than 8, 16 plays, and a lost larger than 9?`:
```sql
                SELECT AVG("points") FROM "campeonato_paulista" WHERE "position"<8 AND "played"=16 AND "lost">9;
```
## Task
Generate a SQL query to answer the following question:
`What's the highest Total when Women's Wheelchair was 2, Men's Wheelchair was smaller than 1, and Women's race was larger than 0?`

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

CREATE TABLE "victories_by_nationality" (
  "country" text,
  "men_s_race" real,
  "women_s_race" real,
  "men_s_wheelchair" real,
  "women_s_wheelchair" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest Total when Women's Wheelchair was 2, Men's Wheelchair was smaller than 1, and Women's race was larger than 0?`:
```sql
                SELECT MAX("total") FROM "victories_by_nationality" WHERE "women_s_wheelchair"=2 AND "men_s_wheelchair"<1 AND "women_s_race">0;
```
## Task
Generate a SQL query to answer the following question:
`What's the average men's wheelchair when women's wheelchair is less than 0?`

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

CREATE TABLE "victories_by_nationality" (
  "country" text,
  "men_s_race" real,
  "women_s_race" real,
  "men_s_wheelchair" real,
  "women_s_wheelchair" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average men's wheelchair when women's wheelchair is less than 0?`:
```sql
                SELECT AVG("men_s_wheelchair") FROM "victories_by_nationality" WHERE "women_s_wheelchair"<0;
```
## Task
Generate a SQL query to answer the following question:
`When the Country is Mexico, Women's race is less than 0, and Men's race is more than 0, what's the average total?`

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

CREATE TABLE "victories_by_nationality" (
  "country" text,
  "men_s_race" real,
  "women_s_race" real,
  "men_s_wheelchair" real,
  "women_s_wheelchair" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the Country is Mexico, Women's race is less than 0, and Men's race is more than 0, what's the average total?`:
```sql
                SELECT AVG("total") FROM "victories_by_nationality" WHERE "men_s_race">0 AND "country"='mexico' AND "women_s_race"<0;
```
## Task
Generate a SQL query to answer the following question:
`What's the sum of Men's race when Women's race is less than 1, Women's Wheelchair is 1, Men's wheelchair is more than 3 and the Total is more than 3?`

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

CREATE TABLE "victories_by_nationality" (
  "country" text,
  "men_s_race" real,
  "women_s_race" real,
  "men_s_wheelchair" real,
  "women_s_wheelchair" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the sum of Men's race when Women's race is less than 1, Women's Wheelchair is 1, Men's wheelchair is more than 3 and the Total is more than 3?`:
```sql
                SELECT SUM("men_s_race") FROM "victories_by_nationality" WHERE "women_s_race"<1 AND "women_s_wheelchair"=1 AND "total">3 AND "men_s_wheelchair">3;
```
## Task
Generate a SQL query to answer the following question:
`What's the average Women's Wheelchair when Men's race is 0, Women's race is 1, and Men's wheelchair is less than 2?`

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

CREATE TABLE "victories_by_nationality" (
  "country" text,
  "men_s_race" real,
  "women_s_race" real,
  "men_s_wheelchair" real,
  "women_s_wheelchair" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average Women's Wheelchair when Men's race is 0, Women's race is 1, and Men's wheelchair is less than 2?`:
```sql
                SELECT AVG("women_s_wheelchair") FROM "victories_by_nationality" WHERE "men_s_race"=0 AND "women_s_race"=1 AND "men_s_wheelchair"<2;
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest Attendance when the Opponent was Maryland?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest Attendance when the Opponent was Maryland?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "opponent"='maryland';
```
## Task
Generate a SQL query to answer the following question:
`Which Network has a Local name of moj tata je bolji od tvog tate?`

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

CREATE TABLE "international_versions" (
  "country" text,
  "local_name" text,
  "host" text,
  "network" text,
  "date_premiered" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Network has a Local name of moj tata je bolji od tvog tate?`:
```sql
                SELECT "network" FROM "international_versions" WHERE "local_name"='moj tata je bolji od tvog tate';
```
## Task
Generate a SQL query to answer the following question:
`Which Country has a Network of channel 1?`

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

CREATE TABLE "international_versions" (
  "country" text,
  "local_name" text,
  "host" text,
  "network" text,
  "date_premiered" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Country has a Network of channel 1?`:
```sql
                SELECT "country" FROM "international_versions" WHERE "network"='channel 1';
```
## Task
Generate a SQL query to answer the following question:
`Which Country has a Network of nelonen?`

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

CREATE TABLE "international_versions" (
  "country" text,
  "local_name" text,
  "host" text,
  "network" text,
  "date_premiered" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Country has a Network of nelonen?`:
```sql
                SELECT "country" FROM "international_versions" WHERE "network"='nelonen';
```
## Task
Generate a SQL query to answer the following question:
`Which Local name has a Network of nova tv?`

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

CREATE TABLE "international_versions" (
  "country" text,
  "local_name" text,
  "host" text,
  "network" text,
  "date_premiered" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Local name has a Network of nova tv?`:
```sql
                SELECT "local_name" FROM "international_versions" WHERE "network"='nova tv';
```
## Task
Generate a SQL query to answer the following question:
`Which Local name has a Network of tvn?`

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

CREATE TABLE "international_versions" (
  "country" text,
  "local_name" text,
  "host" text,
  "network" text,
  "date_premiered" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Local name has a Network of tvn?`:
```sql
                SELECT "local_name" FROM "international_versions" WHERE "network"='tvn';
```
## Task
Generate a SQL query to answer the following question:
`Which Country has a Host of miguel esteban?`

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

CREATE TABLE "international_versions" (
  "country" text,
  "local_name" text,
  "host" text,
  "network" text,
  "date_premiered" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Country has a Host of miguel esteban?`:
```sql
                SELECT "country" FROM "international_versions" WHERE "host"='miguel esteban';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16?`

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

CREATE TABLE "text" (
  "chapter" real,
  "chinese" text,
  "pinyin" text,
  "english_translation" text,
  "articles" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16?`:
```sql
                SELECT MIN("chapter") FROM "text" WHERE "pinyin"='dehua' AND "articles"<16;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the average Chapter that has Articles smaller than 15?`

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

CREATE TABLE "text" (
  "chapter" real,
  "chinese" text,
  "pinyin" text,
  "english_translation" text,
  "articles" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the average Chapter that has Articles smaller than 15?`:
```sql
                SELECT AVG("chapter") FROM "text" WHERE "articles"<15;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Chinese that has the Chapter larger than 4, and the English Translation of food transformations?`

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

CREATE TABLE "text" (
  "chapter" real,
  "chinese" text,
  "pinyin" text,
  "english_translation" text,
  "articles" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Chinese that has the Chapter larger than 4, and the English Translation of food transformations?`:
```sql
                SELECT "chinese" FROM "text" WHERE "chapter">4 AND "english_translation"='food transformations';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the English Translation that has the Articles of 24?`

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

CREATE TABLE "text" (
  "chapter" real,
  "chinese" text,
  "pinyin" text,
  "english_translation" text,
  "articles" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the English Translation that has the Articles of 24?`:
```sql
                SELECT "english_translation" FROM "text" WHERE "articles"=24;
```
## Task
Generate a SQL query to answer the following question:
`What shows for ICAO when the IATA is sin?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for ICAO when the IATA is sin?`:
```sql
                SELECT "icao" FROM "destinations" WHERE "iata"='sin';
```
## Task
Generate a SQL query to answer the following question:
`What is the IATA when France was the country, and the ICAO was lfrn?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the IATA when France was the country, and the ICAO was lfrn?`:
```sql
                SELECT "iata" FROM "destinations" WHERE "country"='france' AND "icao"='lfrn';
```
## Task
Generate a SQL query to answer the following question:
`What is the Airport when France was the country, and Montpellier was the city?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Airport when France was the country, and Montpellier was the city?`:
```sql
                SELECT "airport" FROM "destinations" WHERE "country"='france' AND "city"='montpellier';
```
## Task
Generate a SQL query to answer the following question:
`What is the ICAO for luqa airport?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ICAO for luqa airport?`:
```sql
                SELECT "icao" FROM "destinations" WHERE "airport"='luqa airport';
```