cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Opponent that has the Time of 0:20?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Opponent that has the Time of 0:20?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='0:20';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Time that has the Opponent of phil baroni?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Time that has the Opponent of phil baroni?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='phil baroni';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?`:
```sql
                SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "location"='indiana, united states' AND "method"='submission (guillotine choke)';
```
## Task
Generate a SQL query to answer the following question:
`When was la vista built?`

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

CREATE TABLE "see_also" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was la vista built?`:
```sql
                SELECT "built" FROM "see_also" WHERE "location"='la vista';
```
## Task
Generate a SQL query to answer the following question:
`When was the sargent bridge built?`

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

CREATE TABLE "see_also" (
  "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 sargent bridge built?`:
```sql
                SELECT "built" FROM "see_also" WHERE "name"='sargent bridge';
```
## Task
Generate a SQL query to answer the following question:
`What's the location for the country of platte?`

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

CREATE TABLE "see_also" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the location for the country of platte?`:
```sql
                SELECT "location" FROM "see_also" WHERE "county"='platte';
```
## Task
Generate a SQL query to answer the following question:
`what is the listing date for nuckolls county?`

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

CREATE TABLE "see_also" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the listing date for nuckolls county?`:
```sql
                SELECT "listed" FROM "see_also" WHERE "county"='nuckolls';
```
## Task
Generate a SQL query to answer the following question:
`what's the listing date for the verdigris creek bridge in royal of antelope county?`

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

CREATE TABLE "see_also" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the listing date for the verdigris creek bridge in royal of antelope county?`:
```sql
                SELECT "listed" FROM "see_also" WHERE "county"='antelope' AND "location"='royal' AND "name"='verdigris creek bridge';
```
## Task
Generate a SQL query to answer the following question:
`what's the county name for the republican river bridge listed on 1992-06-29?`

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

CREATE TABLE "see_also" (
  "name" text,
  "built" text,
  "listed" text,
  "location" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the county name for the republican river bridge listed on 1992-06-29?`:
```sql
                SELECT "county" FROM "see_also" WHERE "listed"='1992-06-29' AND "name"='republican river bridge';
```
## Task
Generate a SQL query to answer the following question:
`what is the country when the money ($) is more than 3,600 and player is tom watson?`

### 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 is the country when the money ($) is more than 3,600 and player is tom watson?`:
```sql
                SELECT "country" FROM "final_round" WHERE "money">'3,600' AND "player"='tom watson';
```
## Task
Generate a SQL query to answer the following question:
`what is the to par when the place is t10 and the score is 72-74-71-69=286?`

### 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 is the to par when the place is t10 and the score is 72-74-71-69=286?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "place"='t10' AND "score"='72-74-71-69=286';
```
## Task
Generate a SQL query to answer the following question:
`what is the to par when the player is hale irwin?`

### 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 is the to par when the player is hale irwin?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "player"='hale irwin';
```
## Task
Generate a SQL query to answer the following question:
`what is the to par for Dave hill?`

### 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 is the to par for Dave hill?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "player"='dave hill';
```
## Task
Generate a SQL query to answer the following question:
`what is the place when the score is 68-67-73-68=276?`

### 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 is the place when the score is 68-67-73-68=276?`:
```sql
                SELECT "place" FROM "final_round" WHERE "score"='68-67-73-68=276';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers?`

### 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 `Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"<13 AND "opponent"='green bay packers';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?`

### 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 `Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "opponent"='new orleans saints' AND "week">12;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Attendance that has the Opponent of new york giants?`

### 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 `Can you tell me the Attendance that has the Opponent of new york giants?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='new york giants';
```
## Task
Generate a SQL query to answer the following question:
`What is the density (hab/km²) with a population censo 2007(hab) of 336.293*?`

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

CREATE TABLE "demographics" (
  "municipalities_of_the_city" text,
  "area_km" text,
  "population_censo_2007_hab" text,
  "population_under_1_year_old_censo_2007_hab" text,
  "households_2007" text,
  "density_hab_km" text,
  "elevation_msnm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the density (hab/km²) with a population censo 2007(hab) of 336.293*?`:
```sql
                SELECT "density_hab_km" FROM "demographics" WHERE "population_censo_2007_hab"='336.293*';
```
## Task
Generate a SQL query to answer the following question:
`What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*?`

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

CREATE TABLE "demographics" (
  "municipalities_of_the_city" text,
  "area_km" text,
  "population_censo_2007_hab" text,
  "population_under_1_year_old_censo_2007_hab" text,
  "households_2007" text,
  "density_hab_km" text,
  "elevation_msnm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*?`:
```sql
                SELECT "population_under_1_year_old_censo_2007_hab" FROM "demographics" WHERE "population_censo_2007_hab"='112.054*';
```
## Task
Generate a SQL query to answer the following question:
`What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?`

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

CREATE TABLE "demographics" (
  "municipalities_of_the_city" text,
  "area_km" text,
  "population_censo_2007_hab" text,
  "population_under_1_year_old_censo_2007_hab" text,
  "households_2007" text,
  "density_hab_km" text,
  "elevation_msnm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?`:
```sql
                SELECT "density_hab_km" FROM "demographics" WHERE "population_under_1_year_old_censo_2007_hab"='* data from the census taken by the inei';
```
## Task
Generate a SQL query to answer the following question:
`What is the elevation msnm for a population censo 2007(hab) of 77.392*?`

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

CREATE TABLE "demographics" (
  "municipalities_of_the_city" text,
  "area_km" text,
  "population_censo_2007_hab" text,
  "population_under_1_year_old_censo_2007_hab" text,
  "households_2007" text,
  "density_hab_km" text,
  "elevation_msnm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the elevation msnm for a population censo 2007(hab) of 77.392*?`:
```sql
                SELECT "elevation_msnm" FROM "demographics" WHERE "population_censo_2007_hab"='77.392*';
```
## Task
Generate a SQL query to answer the following question:
`What's the report about townsville crocodiles as an away team?`

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

CREATE TABLE "round_13" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "crowd" real,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the report about townsville crocodiles as an away team?`:
```sql
                SELECT "report" FROM "round_13" WHERE "away_team"='townsville crocodiles';
```
## Task
Generate a SQL query to answer the following question:
`What's the record of game 67?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "march" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the record of game 67?`:
```sql
                SELECT "record" FROM "schedule_and_results" WHERE "game"=67;
```
## Task
Generate a SQL query to answer the following question:
`What's the score of the game against the Boston Bruins and after game 68?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "march" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the score of the game against the Boston Bruins and after game 68?`:
```sql
                SELECT "score" FROM "schedule_and_results" WHERE "game">68 AND "opponent"='boston bruins';
```
## Task
Generate a SQL query to answer the following question:
`what is the natural change (per 1000) when the crude death rate (per 1000) is 10?`

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

CREATE TABLE "births_and_deaths" (
  "average_population_x_1000" text,
  "live_births_1" text,
  "deaths_1" text,
  "natural_change_1" text,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the natural change (per 1000) when the crude death rate (per 1000) is 10?`:
```sql
                SELECT "natural_change_per_1000" FROM "births_and_deaths" WHERE "crude_death_rate_per_1000"=10;
```
## Task
Generate a SQL query to answer the following question:
`what is the crude birth rate (per 1000) when the live births 1 is 356 013?`

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

CREATE TABLE "births_and_deaths" (
  "average_population_x_1000" text,
  "live_births_1" text,
  "deaths_1" text,
  "natural_change_1" text,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the crude birth rate (per 1000) when the live births 1 is 356 013?`:
```sql
                SELECT SUM("crude_birth_rate_per_1000") FROM "births_and_deaths" WHERE "live_births_1"='356 013';
```
## Task
Generate a SQL query to answer the following question:
`what is the natural change (per 1000) when the live births 1 is 278 977?`

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

CREATE TABLE "births_and_deaths" (
  "average_population_x_1000" text,
  "live_births_1" text,
  "deaths_1" text,
  "natural_change_1" text,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the natural change (per 1000) when the live births 1 is 278 977?`:
```sql
                SELECT "natural_change_per_1000" FROM "births_and_deaths" WHERE "live_births_1"='278 977';
```
## Task
Generate a SQL query to answer the following question:
`Which Player has a To par of e, and a Country of united states?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Player has a To par of e, and a Country of united states?`:
```sql
                SELECT "player" FROM "first_round" WHERE "to_par"='e' AND "country"='united states';
```
## Task
Generate a SQL query to answer the following question:
`Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain?`:
```sql
                SELECT "place" FROM "first_round" WHERE "score"<72 AND "to_par"='−1' AND "country"='spain';
```
## Task
Generate a SQL query to answer the following question:
`What was john huston's score?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was john huston's score?`:
```sql
                SELECT "score" FROM "first_round" WHERE "player"='john huston';
```
## Task
Generate a SQL query to answer the following question:
`What was willie wood's to par?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was willie wood's to par?`:
```sql
                SELECT "to_par" FROM "first_round" WHERE "player"='willie wood';
```
## Task
Generate a SQL query to answer the following question:
`What is the Prize amount of Winner Dominik Nitsche?`

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

CREATE TABLE "season_2" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Prize amount of Winner Dominik Nitsche?`:
```sql
                SELECT "prize" FROM "season_2" WHERE "winner"='dominik nitsche';
```
## Task
Generate a SQL query to answer the following question:
`What is the Winner of the Event in Nuevo Vallarta?`

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

CREATE TABLE "season_2" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Winner of the Event in Nuevo Vallarta?`:
```sql
                SELECT "winner" FROM "season_2" WHERE "city"='nuevo vallarta';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Event in Punta del Este?`

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

CREATE TABLE "season_2" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Event in Punta del Este?`:
```sql
                SELECT "date" FROM "season_2" WHERE "city"='punta del este';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Event with a Prize of $141,426?`

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

CREATE TABLE "season_2" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Event with a Prize of $141,426?`:
```sql
                SELECT "date" FROM "season_2" WHERE "prize"='$141,426';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of ahaziah?`

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

CREATE TABLE "list_of_state_leaders_in_840s_bc" (
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of ahaziah?`:
```sql
                SELECT "title" FROM "list_of_state_leaders_in_840s_bc" WHERE "name"='ahaziah';
```
## Task
Generate a SQL query to answer the following question:
`What is the type of the king title?`

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

CREATE TABLE "list_of_state_leaders_in_840s_bc" (
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type of the king title?`:
```sql
                SELECT "type" FROM "list_of_state_leaders_in_840s_bc" WHERE "title"='king';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the queen regnant?`

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

CREATE TABLE "list_of_state_leaders_in_840s_bc" (
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the queen regnant?`:
```sql
                SELECT "name" FROM "list_of_state_leaders_in_840s_bc" WHERE "title"='queen regnant';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Grid, when Rider is Aleix Espargaro?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Grid, when Rider is Aleix Espargaro?`:
```sql
                SELECT COUNT("grid") FROM "250cc_classification" WHERE "rider"='aleix espargaro';
```
## Task
Generate a SQL query to answer the following question:
`What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?`:
```sql
                SELECT "rider" FROM "250cc_classification" WHERE "grid"<16 AND "manufacturer"='aprilia' AND "time"='+28.288';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Laps, when Grid is 15?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Laps, when Grid is 15?`:
```sql
                SELECT AVG("laps") FROM "250cc_classification" WHERE "grid"=15;
```
## Task
Generate a SQL query to answer the following question:
`What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro?`:
```sql
                SELECT "manufacturer" FROM "250cc_classification" WHERE "laps"=26 AND "rider"='aleix espargaro';
```
## Task
Generate a SQL query to answer the following question:
`What is Home Team, when Date is "13 March 1985", and when Tie No is "1"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home Team, when Date is "13 March 1985", and when Tie No is "1"?`:
```sql
                SELECT "home_team" FROM "sixth_round_proper" WHERE "date"='13 march 1985' AND "tie_no"='1';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Away Team is "Ipswich Town"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Away Team is "Ipswich Town"?`:
```sql
                SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='ipswich town';
```
## Task
Generate a SQL query to answer the following question:
`What is Tie No, when Away Team is "Millwall"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tie No, when Away Team is "Millwall"?`:
```sql
                SELECT "tie_no" FROM "sixth_round_proper" WHERE "away_team"='millwall';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?`:
```sql
                SELECT "score" FROM "sixth_round_proper" WHERE "date"='13 march 1985' AND "away_team"='millwall';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Away Team is "Liverpool"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Away Team is "Liverpool"?`:
```sql
                SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='liverpool';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Home Team is "Manchester United"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Home Team is "Manchester United"?`:
```sql
                SELECT "score" FROM "sixth_round_proper" WHERE "home_team"='manchester united';
```
## Task
Generate a SQL query to answer the following question:
`What is Team, when High Rebounds is "Carl Landry (11)"?`

### 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 `What is Team, when High Rebounds is "Carl Landry (11)"?`:
```sql
                SELECT "team" FROM "game_log" WHERE "high_rebounds"='carl landry (11)';
```
## Task
Generate a SQL query to answer the following question:
`What is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"?`

### 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 `What is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='rafer alston (7)' AND "high_rebounds"='yao ming (13)';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Team is "@ Memphis"?`

### 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 `What is Score, when Team is "@ Memphis"?`:
```sql
                SELECT "score" FROM "game_log" WHERE "team"='@ memphis';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the ajc craven plate (wfa) race?`

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

CREATE TABLE "1929_30_season_as_a_three_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the ajc craven plate (wfa) race?`:
```sql
                SELECT "result" FROM "1929_30_season_as_a_three_year_old" WHERE "race"='ajc craven plate (wfa)';
```
## Task
Generate a SQL query to answer the following question:
`What is the distance of the race with amounis as the winner or 2nd and a 2nd pos'n?`

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

CREATE TABLE "1929_30_season_as_a_three_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the distance of the race with amounis as the winner or 2nd and a 2nd pos'n?`:
```sql
                SELECT "distance" FROM "1929_30_season_as_a_three_year_old" WHERE "winner_or_2nd"='amounis' AND "pos_n"='2nd';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the sajc king's cup race, which has a weight heavier than 8.1?`

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

CREATE TABLE "1929_30_season_as_a_three_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the sajc king's cup race, which has a weight heavier than 8.1?`:
```sql
                SELECT "result" FROM "1929_30_season_as_a_three_year_old" WHERE "weight">8.1 AND "race"='sajc king''s cup';
```
## Task
Generate a SQL query to answer the following question:
`What is the winner or 2nd of the race with a 2nd pos'n and a weight lighter than 8.1?`

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

CREATE TABLE "1929_30_season_as_a_three_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the winner or 2nd of the race with a 2nd pos'n and a weight lighter than 8.1?`:
```sql
                SELECT "winner_or_2nd" FROM "1929_30_season_as_a_three_year_old" WHERE "pos_n"='2nd' AND "weight"<8.1;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the weight of the race with a 1st pos'n and a 8f distance?`

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

CREATE TABLE "1929_30_season_as_a_three_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the weight of the race with a 1st pos'n and a 8f distance?`:
```sql
                SELECT SUM("weight") FROM "1929_30_season_as_a_three_year_old" WHERE "pos_n"='1st' AND "distance"='8f';
```
## Task
Generate a SQL query to answer the following question:
`What is the race with a 10f distance and mollison as the winner or 2nd?`

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

CREATE TABLE "1929_30_season_as_a_three_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the race with a 10f distance and mollison as the winner or 2nd?`:
```sql
                SELECT "race" FROM "1929_30_season_as_a_three_year_old" WHERE "distance"='10f' AND "winner_or_2nd"='mollison';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?`

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

CREATE TABLE "by_county" (
  "county" text,
  "total" real,
  "gorenum" real,
  "gorepct" text,
  "bushnum" real,
  "bushpct" text,
  "othersnum" real,
  "otherspct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?`:
```sql
                SELECT MAX("bushnum") FROM "by_county" WHERE "bushpct"='32.40%' AND "total"<'5,126';
```
## Task
Generate a SQL query to answer the following question:
`What is the location and attendance when the score as w 117–109 (ot)?`

### 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 `What is the location and attendance when the score as w 117–109 (ot)?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "score"='w 117–109 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`What were the last 10 meetings when the opponent's venue was mu, 11-7?`

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

CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponent_s_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the last 10 meetings when the opponent's venue was mu, 11-7?`:
```sql
                SELECT "last_10_meetings" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_opponent_s_venue"='mu, 11-7';
```
## Task
Generate a SQL query to answer the following question:
`What were the last 5 meetings when Columbia was mu, 4-2?`

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

CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponent_s_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the last 5 meetings when Columbia was mu, 4-2?`:
```sql
                SELECT "last_5_meetings" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_columbia"='mu, 4-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of rounds at 5:36?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of rounds at 5:36?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "time"='5:36';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of rounds with a 4-0 record?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of rounds with a 4-0 record?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "record"='4-0';
```
## Task
Generate a SQL query to answer the following question:
`Which district is in the province of Piura?`

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

CREATE TABLE "by_population" (
  "province" text,
  "population" real,
  "region" text,
  "name_of_city" text,
  "districts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which district is in the province of Piura?`:
```sql
                SELECT "districts" FROM "by_population" WHERE "province"='piura';
```
## Task
Generate a SQL query to answer the following question:
`What is the population of Chimbote?`

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

CREATE TABLE "by_population" (
  "province" text,
  "population" real,
  "region" text,
  "name_of_city" text,
  "districts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population of Chimbote?`:
```sql
                SELECT SUM("population") FROM "by_population" WHERE "name_of_city"='chimbote';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the game that was played at Detroit Lions?`

### 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 is the result of the game that was played at Detroit Lions?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='at detroit lions';
```
## Task
Generate a SQL query to answer the following question:
`What series number was directed by milan cheylov and written by will dixon?`

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

CREATE TABLE "season_1_1996_97" (
  "series_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What series number was directed by milan cheylov and written by will dixon?`:
```sql
                SELECT AVG("series_num") FROM "season_1_1996_97" WHERE "directed_by"='milan cheylov' AND "written_by"='will dixon';
```
## Task
Generate a SQL query to answer the following question:
`What series # had an original air date of november 30, 1996?`

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

CREATE TABLE "season_1_1996_97" (
  "series_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What series # had an original air date of november 30, 1996?`:
```sql
                SELECT MIN("series_num") FROM "season_1_1996_97" WHERE "original_air_date"='november 30, 1996';
```
## Task
Generate a SQL query to answer the following question:
`What was part 4 when part 3 was *hleupun?`

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

CREATE TABLE "northwest_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was part 4 when part 3 was *hleupun?`:
```sql
                SELECT "part_4" FROM "northwest_germanic" WHERE "part_3"='*hleupun';
```
## Task
Generate a SQL query to answer the following question:
`What was the class when part 2 was *hēt?`

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

CREATE TABLE "northwest_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the class when part 2 was *hēt?`:
```sql
                SELECT "class" FROM "northwest_germanic" WHERE "part_2"='*hēt';
```
## Task
Generate a SQL query to answer the following question:
`What was the class when part 4 was *rādanaz?`

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

CREATE TABLE "northwest_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the class when part 4 was *rādanaz?`:
```sql
                SELECT "class" FROM "northwest_germanic" WHERE "part_4"='*rādanaz';
```
## Task
Generate a SQL query to answer the following question:
`What was part 2 when part 4 was *blōtanaz?`

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

CREATE TABLE "northwest_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was part 2 when part 4 was *blōtanaz?`:
```sql
                SELECT "part_2" FROM "northwest_germanic" WHERE "part_4"='*blōtanaz';
```
## Task
Generate a SQL query to answer the following question:
`What was part 2 when part 4 was *haldanaz?`

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

CREATE TABLE "northwest_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was part 2 when part 4 was *haldanaz?`:
```sql
                SELECT "part_2" FROM "northwest_germanic" WHERE "part_4"='*haldanaz';
```
## Task
Generate a SQL query to answer the following question:
`What was the class when part 3 was *heldun?`

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

CREATE TABLE "northwest_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the class when part 3 was *heldun?`:
```sql
                SELECT "class" FROM "northwest_germanic" WHERE "part_3"='*heldun';
```
## Task
Generate a SQL query to answer the following question:
`What is the Round din Ullevaal?`

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

CREATE TABLE "royal_league_2005" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Round din Ullevaal?`:
```sql
                SELECT "round" FROM "royal_league_2005" WHERE "venue"='ullevaal';
```
## Task
Generate a SQL query to answer the following question:
`What Round is in Ullevaal?`

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

CREATE TABLE "royal_league_2005" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Round is in Ullevaal?`:
```sql
                SELECT "round" FROM "royal_league_2005" WHERE "venue"='ullevaal';
```
## Task
Generate a SQL query to answer the following question:
`In what Venue was the Score 1-1?`

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

CREATE TABLE "royal_league_2005" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Venue was the Score 1-1?`:
```sql
                SELECT "venue" FROM "royal_league_2005" WHERE "score"='1-1';
```
## Task
Generate a SQL query to answer the following question:
`What was the Score of the Semifinal 1?`

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

CREATE TABLE "royal_league_2005" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Score of the Semifinal 1?`:
```sql
                SELECT "score" FROM "royal_league_2005" WHERE "round"='semifinal 1';
```
## Task
Generate a SQL query to answer the following question:
`What are the ends for the player with a transfer fee of loan?`

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

CREATE TABLE "squad_information" (
  "nat" text,
  "name" text,
  "since" text,
  "goals" real,
  "ends" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the ends for the player with a transfer fee of loan?`:
```sql
                SELECT "ends" FROM "squad_information" WHERE "transfer_fee"='loan';
```