cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which province had a liberal party member on December 31, 2006?`

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

CREATE TABLE "left_senate_during_the_39th_parliament" (
  "date" text,
  "name" text,
  "party" text,
  "province" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which province had a liberal party member on December 31, 2006?`:
```sql
                SELECT "province" FROM "left_senate_during_the_39th_parliament" WHERE "party"='liberal' AND "date"='december 31, 2006';
```
## Task
Generate a SQL query to answer the following question:
`Which dance style had a draw smaller than 15 and 18 points?`

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

CREATE TABLE "participants" (
  "draw" real,
  "dancers" text,
  "dance_styles" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which dance style had a draw smaller than 15 and 18 points?`:
```sql
                SELECT "dance_styles" FROM "participants" WHERE "draw"<15 AND "points"=18;
```
## Task
Generate a SQL query to answer the following question:
`What was the away team when the home team scored 16.19 (115)?`

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team when the home team scored 16.19 (115)?`:
```sql
                SELECT "away_team" FROM "round_5" WHERE "home_team_score"='16.19 (115)';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score for the match played at Victoria Park?`

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team's score for the match played at Victoria Park?`:
```sql
                SELECT "away_team_score" FROM "round_5" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue where the home team scored 10.15 (75)?`

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

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

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Collingwood's home venue?`:
```sql
                SELECT "venue" FROM "round_5" WHERE "home_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What was the away teams score when they played Carlton?`

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away teams score when they played Carlton?`:
```sql
                SELECT "away_team_score" FROM "round_5" WHERE "home_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What is the latest year featuring candace parker?`

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

CREATE TABLE "list_of_winners" (
  "year" real,
  "player" text,
  "nationality" text,
  "position_played" text,
  "team_represented" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the latest year featuring candace parker?`:
```sql
                SELECT MAX("year") FROM "list_of_winners" WHERE "player"='candace parker';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd when north melbourne is the home side?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest crowd when north melbourne is the home side?`:
```sql
                SELECT MAX("crowd") FROM "round_3" WHERE "home_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team when the home team scores 10.17 (77)?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away team when the home team scores 10.17 (77)?`:
```sql
                SELECT "away_team" FROM "round_3" WHERE "home_team_score"='10.17 (77)';
```
## Task
Generate a SQL query to answer the following question:
`What venue features a home team scoring 12.12 (84)?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue features a home team scoring 12.12 (84)?`:
```sql
                SELECT "venue" FROM "round_3" WHERE "home_team_score"='12.12 (84)';
```
## Task
Generate a SQL query to answer the following question:
`What home team scores 12.12 (84)?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team scores 12.12 (84)?`:
```sql
                SELECT "home_team" FROM "round_3" WHERE "home_team_score"='12.12 (84)';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest crowd at victoria park?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest crowd at victoria park?`:
```sql
                SELECT MIN("crowd") FROM "round_7" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What day was geelong the away side?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What day was geelong the away side?`:
```sql
                SELECT "date" FROM "round_7" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What away team scored 14.5 (89)?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What away team scored 14.5 (89)?`:
```sql
                SELECT "away_team" FROM "round_7" WHERE "away_team_score"='14.5 (89)';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the stadium in Brisbane?`

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

CREATE TABLE "round_2" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the stadium in Brisbane?`:
```sql
                SELECT "stadium" FROM "round_2" WHERE "city"='brisbane';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the match that had a score of 58-6?`

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

CREATE TABLE "round_2" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the match that had a score of 58-6?`:
```sql
                SELECT "result" FROM "round_2" WHERE "score"='58-6';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for the match that had the result of Hunter Mariners def. Castleford Tigers?`

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

CREATE TABLE "round_2" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for the match that had the result of Hunter Mariners def. Castleford Tigers?`:
```sql
                SELECT "score" FROM "round_2" WHERE "result"='hunter mariners def. castleford tigers';
```
## Task
Generate a SQL query to answer the following question:
`For the match ending in a score of 66-20, what was the stadium?`

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

CREATE TABLE "round_2" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the match ending in a score of 66-20, what was the stadium?`:
```sql
                SELECT "stadium" FROM "round_2" WHERE "score"='66-20';
```
## Task
Generate a SQL query to answer the following question:
`In what city is the Don Valley Stadium located?`

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

CREATE TABLE "round_2" (
  "date" text,
  "result" text,
  "score" text,
  "stadium" text,
  "city" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what city is the Don Valley Stadium located?`:
```sql
                SELECT "city" FROM "round_2" WHERE "stadium"='don valley stadium';
```
## Task
Generate a SQL query to answer the following question:
`Which championship was the 100m backstroke performed?`

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

CREATE TABLE "men" (
  "event" text,
  "time" text,
  "nationality" text,
  "date" text,
  "meet" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which championship was the 100m backstroke performed?`:
```sql
                SELECT "meet" FROM "men" WHERE "event"='100m backstroke';
```
## Task
Generate a SQL query to answer the following question:
`What event has a time of 7:45.67?`

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

CREATE TABLE "men" (
  "event" text,
  "time" text,
  "nationality" text,
  "date" text,
  "meet" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What event has a time of 7:45.67?`:
```sql
                SELECT "event" FROM "men" WHERE "time"='7:45.67';
```
## Task
Generate a SQL query to answer the following question:
`What nationality has a year larger than 2009 with a position of power forward?`

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

CREATE TABLE "winners" (
  "year" real,
  "player" text,
  "nationality" text,
  "position" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality has a year larger than 2009 with a position of power forward?`:
```sql
                SELECT "nationality" FROM "winners" WHERE "year">2009 AND "position"='power forward';
```
## Task
Generate a SQL query to answer the following question:
`Who plays for the chicago bulls?`

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

CREATE TABLE "winners" (
  "year" real,
  "player" text,
  "nationality" text,
  "position" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who plays for the chicago bulls?`:
```sql
                SELECT "player" FROM "winners" WHERE "team"='chicago bulls';
```
## Task
Generate a SQL query to answer the following question:
`What are the main places for the streymoy region with an area of larger than 6.1?`

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

CREATE TABLE "population_by_island" (
  "name" text,
  "area" real,
  "inhabitants" real,
  "people_per_km" real,
  "main_places" text,
  "regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the main places for the streymoy region with an area of larger than 6.1?`:
```sql
                SELECT "main_places" FROM "population_by_island" WHERE "regions"='streymoy' AND "area">6.1;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of people per km2 for the sandoy region with an area of 112.1?`

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

CREATE TABLE "population_by_island" (
  "name" text,
  "area" real,
  "inhabitants" real,
  "people_per_km" real,
  "main_places" text,
  "regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of people per km2 for the sandoy region with an area of 112.1?`:
```sql
                SELECT SUM("people_per_km") FROM "population_by_island" WHERE "regions"='sandoy' AND "area"=112.1;
```
## Task
Generate a SQL query to answer the following question:
`what is the week there were 41,604 people in attendance?`

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

CREATE TABLE "exhibition_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 week there were 41,604 people in attendance?`:
```sql
                SELECT AVG("week") FROM "exhibition_schedule" WHERE "attendance"='41,604';
```
## Task
Generate a SQL query to answer the following question:
`What is the average crowd size for games with hawthorn as the home side?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average crowd size for games with hawthorn as the home side?`:
```sql
                SELECT AVG("crowd") FROM "round_17" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team's score at glenferrie oval?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team's score at glenferrie oval?`:
```sql
                SELECT "home_team_score" FROM "round_17" WHERE "venue"='glenferrie oval';
```
## Task
Generate a SQL query to answer the following question:
`Who had the lowest Best time that also had a Qual 2 of 49.887?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the lowest Best time that also had a Qual 2 of 49.887?`:
```sql
                SELECT MIN("best") FROM "qualifying_results" WHERE "qual_2"='49.887';
```
## Task
Generate a SQL query to answer the following question:
`What was CTE Racing-hvm's Best with a Qual 2 of 50.312?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was CTE Racing-hvm's Best with a Qual 2 of 50.312?`:
```sql
                SELECT "best" FROM "qualifying_results" WHERE "team"='cte racing-hvm' AND "qual_2"='50.312';
```
## Task
Generate a SQL query to answer the following question:
`What was the average crowd size for the game where the away team scored 10.11 (71)?`

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average crowd size for the game where the away team scored 10.11 (71)?`:
```sql
                SELECT AVG("crowd") FROM "round_5" WHERE "away_team_score"='10.11 (71)';
```
## Task
Generate a SQL query to answer the following question:
`Which Away team had a score of 18.8 (116)?`

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Away team had a score of 18.8 (116)?`:
```sql
                SELECT "away_team" FROM "round_5" WHERE "away_team_score"='18.8 (116)';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team score when essendon was the away team?`

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team score when essendon was the away team?`:
```sql
                SELECT "home_team_score" FROM "round_5" WHERE "away_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`When richmond was the Away team what was the score of the home team?`

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

CREATE TABLE "round_5" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When richmond was the Away team what was the score of the home team?`:
```sql
                SELECT "home_team_score" FROM "round_5" WHERE "away_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`Which service does the network of atn urdu offer?`

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

CREATE TABLE "canada" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which service does the network of atn urdu offer?`:
```sql
                SELECT "service" FROM "canada" WHERE "network"='atn urdu';
```
## Task
Generate a SQL query to answer the following question:
`Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable?`

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

CREATE TABLE "canada" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable?`:
```sql
                SELECT "origin_of_programming" FROM "canada" WHERE "genre"='general' AND "network"='ntv bangla' AND "service"='cogeco cable';
```
## Task
Generate a SQL query to answer the following question:
`Which service has a hindi language, general genre and zee tv network?`

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

CREATE TABLE "canada" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which service has a hindi language, general genre and zee tv network?`:
```sql
                SELECT "service" FROM "canada" WHERE "language"='hindi' AND "genre"='general' AND "network"='zee tv';
```
## Task
Generate a SQL query to answer the following question:
`Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language?`

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

CREATE TABLE "canada" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language?`:
```sql
                SELECT "network" FROM "canada" WHERE "origin_of_programming"='india' AND "genre"='general' AND "service"='bell fibe tv' AND "language"='tamil';
```
## Task
Generate a SQL query to answer the following question:
`Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?`

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

CREATE TABLE "canada" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?`:
```sql
                SELECT "language" FROM "canada" WHERE "origin_of_programming"='india' AND "genre"='general' AND "network"='ptc punjabi' AND "service"='bell fibe tv';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal?`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "rank"<11 AND "nation"='trinidad and tobago' AND "total"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?`:
```sql
                SELECT SUM("gold") FROM "medal_table" WHERE "silver"=1 AND "bronze"<2 AND "total"=1 AND "rank"<10;
```
## Task
Generate a SQL query to answer the following question:
`Who did Winfield Scott have an allegiance with?`

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

CREATE TABLE "line_officers" (
  "name" text,
  "date_of_birth" text,
  "actual_rank" text,
  "appointment_date" text,
  "allegiance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did Winfield Scott have an allegiance with?`:
```sql
                SELECT "allegiance" FROM "line_officers" WHERE "name"='winfield scott';
```
## Task
Generate a SQL query to answer the following question:
`What was the July 2013 population estimate of the location which had a population density larger than 14.1?`

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

CREATE TABLE "listing" (
  "rank" real,
  "name" text,
  "population_2011_census" real,
  "percent_of_national_population" text,
  "pct_growth_2006_11" text,
  "land_area_km" real,
  "population_density_km_2" real,
  "house_of_commons_seats" real,
  "house_of_commons_seats_pct" text,
  "2013_population_july_est" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the July 2013 population estimate of the location which had a population density larger than 14.1?`:
```sql
                SELECT COUNT("2013_population_july_est") FROM "listing" WHERE "population_density_km_2">14.1;
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest rank of an area with a 2011 Census population larger than 3,645,257, a House of Commons seat percentage of 11.7% and a July 2013 population estimate over 4,581,978?`

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

CREATE TABLE "listing" (
  "rank" real,
  "name" text,
  "population_2011_census" real,
  "percent_of_national_population" text,
  "pct_growth_2006_11" text,
  "land_area_km" real,
  "population_density_km_2" real,
  "house_of_commons_seats" real,
  "house_of_commons_seats_pct" text,
  "2013_population_july_est" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest rank of an area with a 2011 Census population larger than 3,645,257, a House of Commons seat percentage of 11.7% and a July 2013 population estimate over 4,581,978?`:
```sql
                SELECT MIN("rank") FROM "listing" WHERE "population_2011_census">'3,645,257' AND "house_of_commons_seats_pct"='11.7%' AND "2013_population_july_est">'4,581,978';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%?`

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

CREATE TABLE "listing" (
  "rank" real,
  "name" text,
  "population_2011_census" real,
  "percent_of_national_population" text,
  "pct_growth_2006_11" text,
  "land_area_km" real,
  "population_density_km_2" real,
  "house_of_commons_seats" real,
  "house_of_commons_seats_pct" text,
  "2013_population_july_est" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%?`:
```sql
                SELECT MAX("rank") FROM "listing" WHERE "population_density_km_2">5.7 AND "pct_growth_2006_11"='5.7%';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²?`

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

CREATE TABLE "listing" (
  "rank" real,
  "name" text,
  "population_2011_census" real,
  "percent_of_national_population" text,
  "pct_growth_2006_11" text,
  "land_area_km" real,
  "population_density_km_2" real,
  "house_of_commons_seats" real,
  "house_of_commons_seats_pct" text,
  "2013_population_july_est" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²?`:
```sql
                SELECT MIN("population_2011_census") FROM "listing" WHERE "land_area_km">'908,607.67';
```
## Task
Generate a SQL query to answer the following question:
`Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?`

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

CREATE TABLE "1971_isle_of_man_junior_tt_350cc_final_s" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?`:
```sql
                SELECT "rider" FROM "1971_isle_of_man_junior_tt_350cc_final_s" WHERE "speed"='86.15mph';
```
## Task
Generate a SQL query to answer the following question:
`Which rider had a points score equal to 10?`

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

CREATE TABLE "1971_isle_of_man_junior_tt_350cc_final_s" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which rider had a points score equal to 10?`:
```sql
                SELECT "rider" FROM "1971_isle_of_man_junior_tt_350cc_final_s" WHERE "points"=10;
```
## Task
Generate a SQL query to answer the following question:
`Which Start has a 0 Conv, 0 Pens and 8 Tries?`

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

CREATE TABLE "most_tries" (
  "player" text,
  "span" text,
  "start" text,
  "tries" text,
  "conv" text,
  "pens" text,
  "drop" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Start has a 0 Conv, 0 Pens and 8 Tries?`:
```sql
                SELECT "start" FROM "most_tries" WHERE "conv"='0' AND "pens"='0' AND "tries"='8';
```
## Task
Generate a SQL query to answer the following question:
`Which Player has 0 Pens and 12 Starts?`

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

CREATE TABLE "most_tries" (
  "player" text,
  "span" text,
  "start" text,
  "tries" text,
  "conv" text,
  "pens" text,
  "drop" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Player has 0 Pens and 12 Starts?`:
```sql
                SELECT "player" FROM "most_tries" WHERE "pens"='0' AND "start"='12';
```
## Task
Generate a SQL query to answer the following question:
`Which Start has 8 Tries and 0 Convs?`

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

CREATE TABLE "most_tries" (
  "player" text,
  "span" text,
  "start" text,
  "tries" text,
  "conv" text,
  "pens" text,
  "drop" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Start has 8 Tries and 0 Convs?`:
```sql
                SELECT "start" FROM "most_tries" WHERE "tries"='8' AND "conv"='0';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team for the game at Victoria Park?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team for the game at Victoria Park?`:
```sql
                SELECT "away_team" FROM "round_12" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What was round 7's lowest overall?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was round 7's lowest overall?`:
```sql
                SELECT MIN("overall") FROM "nfl_draft" WHERE "round"=7;
```
## Task
Generate a SQL query to answer the following question:
`Who had the smallest overall under 22?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the smallest overall under 22?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "overall"<22;
```
## Task
Generate a SQL query to answer the following question:
`What was Cal State-Los Angeles' position with an Overall above 22?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Cal State-Los Angeles' position with an Overall above 22?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "overall">22 AND "school_club_team"='cal state-los angeles';
```
## Task
Generate a SQL query to answer the following question:
`Who played for Memphis State?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played for Memphis State?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "school_club_team"='memphis state';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd for the St Kilda as the away team?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest crowd for the St Kilda as the away team?`:
```sql
                SELECT MAX("crowd") FROM "round_17" WHERE "away_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`What was the crowd size when Essendon was the home team?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the crowd size when Essendon was the home team?`:
```sql
                SELECT "crowd" FROM "round_17" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`Which venue had a crowd larger than 20,000?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue had a crowd larger than 20,000?`:
```sql
                SELECT "venue" FROM "round_17" WHERE "crowd">'20,000';
```
## Task
Generate a SQL query to answer the following question:
`Which away team played at Lake Oval?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which away team played at Lake Oval?`:
```sql
                SELECT "away_team" FROM "round_17" WHERE "venue"='lake oval';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the crowd more numerous than 10,800 when the home team score was 7.13 (55)?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the crowd more numerous than 10,800 when the home team score was 7.13 (55)?`:
```sql
                SELECT "date" FROM "round_17" WHERE "crowd">'10,800' AND "home_team_score"='7.13 (55)';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of the crowd at Glenferrie Oval?`

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

CREATE TABLE "round_17" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of the crowd at Glenferrie Oval?`:
```sql
                SELECT COUNT("crowd") FROM "round_17" WHERE "venue"='glenferrie oval';
```
## Task
Generate a SQL query to answer the following question:
`The Western Oval venue has what date?`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `The Western Oval venue has what date?`:
```sql
                SELECT "date" FROM "round_6" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the kickoff time for the Miami Dolphins?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "kickoff" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the kickoff time for the Miami Dolphins?`:
```sql
                SELECT "kickoff" FROM "regular_season" WHERE "opponent"='miami dolphins';
```
## Task
Generate a SQL query to answer the following question:
`What was the final of the New England Patriots game?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "kickoff" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final of the New England Patriots game?`:
```sql
                SELECT "result" FROM "regular_season" WHERE "opponent"='new england patriots';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest attendance on august 10, 1963, and a week larger than 1?`

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

CREATE TABLE "exhibition_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 largest attendance on august 10, 1963, and a week larger than 1?`:
```sql
                SELECT MAX("attendance") FROM "exhibition_schedule" WHERE "date"='august 10, 1963' AND "week">1;
```
## Task
Generate a SQL query to answer the following question:
`What date was the game when the away team scored 9.5 (59)?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the game when the away team scored 9.5 (59)?`:
```sql
                SELECT "date" FROM "round_8" WHERE "away_team_score"='9.5 (59)';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game played when the home team scored 17.7 (109)?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game played when the home team scored 17.7 (109)?`:
```sql
                SELECT "venue" FROM "round_8" WHERE "home_team_score"='17.7 (109)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the away team when the home team was south melbourne?`

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

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

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest crowd at princes park?`:
```sql
                SELECT MIN("crowd") FROM "round_8" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest ranked nation with 15 silver medals and no more than 47 total?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest ranked nation with 15 silver medals and no more than 47 total?`:
```sql
                SELECT MAX("rank") FROM "medal_table" WHERE "silver"=15 AND "total"<47;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances?`

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

CREATE TABLE "average" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total" real,
  "number_of_dances" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances?`:
```sql
                SELECT MAX("rank_by_average") FROM "average" WHERE "average"=25.3 AND "number_of_dances">10;
```
## Task
Generate a SQL query to answer the following question:
`What is the example with the associative type?`

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

CREATE TABLE "verb_derivations_using_the_root_qet_the_" (
  "type" text,
  "suffix" text,
  "valency_change" text,
  "example" text,
  "meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the example with the associative type?`:
```sql
                SELECT "example" FROM "verb_derivations_using_the_root_qet_the_" WHERE "type"='associative';
```
## Task
Generate a SQL query to answer the following question:
`What is the Suffix of the intensive and valency change of 0?`

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

CREATE TABLE "verb_derivations_using_the_root_qet_the_" (
  "type" text,
  "suffix" text,
  "valency_change" text,
  "example" text,
  "meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Suffix of the intensive and valency change of 0?`:
```sql
                SELECT "suffix" FROM "verb_derivations_using_the_root_qet_the_" WHERE "valency_change"='0' AND "type"='intensive';
```
## Task
Generate a SQL query to answer the following question:
`WHat is the Valency change of associative type?`

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

CREATE TABLE "verb_derivations_using_the_root_qet_the_" (
  "type" text,
  "suffix" text,
  "valency_change" text,
  "example" text,
  "meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHat is the Valency change of associative type?`:
```sql
                SELECT "valency_change" FROM "verb_derivations_using_the_root_qet_the_" WHERE "type"='associative';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team when hawthorn is the away side?`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team when hawthorn is the away side?`:
```sql
                SELECT "home_team" FROM "round_6" WHERE "away_team"='hawthorn';
```