cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the lowest average parish size with 47.2% of adherents and 4,936 regular attendees?`

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

CREATE TABLE "by_jurisdiction_in_the_usa" (
  "adherents" real,
  "regular_attendees" real,
  "pct_of_adherents" text,
  "monasteries" real,
  "parishes" real,
  "average_parish_size" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest average parish size with 47.2% of adherents and 4,936 regular attendees?`:
```sql
                SELECT MIN("average_parish_size") FROM "by_jurisdiction_in_the_usa" WHERE "pct_of_adherents"='47.2%' AND "regular_attendees">'4,936';
```
## Task
Generate a SQL query to answer the following question:
`What is the average regular number of attendees that has 79 parishes?`

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

CREATE TABLE "by_jurisdiction_in_the_usa" (
  "adherents" real,
  "regular_attendees" real,
  "pct_of_adherents" text,
  "monasteries" real,
  "parishes" real,
  "average_parish_size" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average regular number of attendees that has 79 parishes?`:
```sql
                SELECT AVG("regular_attendees") FROM "by_jurisdiction_in_the_usa" WHERE "parishes"=79;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of monasteries with over 20 parishes, 210,864 regular attendeeds, and over 799,776 adherents?`

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

CREATE TABLE "by_jurisdiction_in_the_usa" (
  "adherents" real,
  "regular_attendees" real,
  "pct_of_adherents" text,
  "monasteries" real,
  "parishes" real,
  "average_parish_size" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of monasteries with over 20 parishes, 210,864 regular attendeeds, and over 799,776 adherents?`:
```sql
                SELECT MIN("monasteries") FROM "by_jurisdiction_in_the_usa" WHERE "parishes">20 AND "regular_attendees"='210,864' AND "adherents">'799,776';
```
## Task
Generate a SQL query to answer the following question:
`Which Grand Prix has the Circuit of Lille?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Grand Prix has the Circuit of Lille?`:
```sql
                SELECT "name" FROM "other_grands_prix" WHERE "circuit"='lille';
```
## Task
Generate a SQL query to answer the following question:
`Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?`:
```sql
                SELECT "winning_driver" FROM "other_grands_prix" WHERE "winning_constructor"='alfa romeo' AND "name"='roussillon grand prix';
```
## Task
Generate a SQL query to answer the following question:
`Which Constructor won the Roussillon Grand Prix?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Constructor won the Roussillon Grand Prix?`:
```sql
                SELECT "winning_constructor" FROM "other_grands_prix" WHERE "name"='roussillon grand prix';
```
## Task
Generate a SQL query to answer the following question:
`Which Driver won the Circuit of Rio de Janeiro?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Driver won the Circuit of Rio de Janeiro?`:
```sql
                SELECT "winning_driver" FROM "other_grands_prix" WHERE "circuit"='rio de janeiro';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team for the Essendon away team with attendance over 13,500?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team for the Essendon away team with attendance over 13,500?`:
```sql
                SELECT "home_team_score" FROM "round_4" WHERE "crowd">'13,500' AND "away_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What day did the VFL pay MCG?`

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

CREATE TABLE "round_4" (
  "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 did the VFL pay MCG?`:
```sql
                SELECT "date" FROM "round_4" WHERE "venue"='mcg';
```
## Task
Generate a SQL query to answer the following question:
`What was November 4, 1973 attendance?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was November 4, 1973 attendance?`:
```sql
                SELECT "attendance" FROM "regular_season_schedule" WHERE "date"='november 4, 1973';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve?`:
```sql
                SELECT "laps" FROM "race" WHERE "constructor"='renault' AND "driver"='jacques villeneuve';
```
## Task
Generate a SQL query to answer the following question:
`What is the time/retired for grid 3?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time/retired for grid 3?`:
```sql
                SELECT "time_retired" FROM "race" WHERE "grid"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the time/retired for grid 8?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time/retired for grid 8?`:
```sql
                SELECT "time_retired" FROM "race" WHERE "grid"=8;
```
## Task
Generate a SQL query to answer the following question:
`What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld?`:
```sql
                SELECT "time_retired" FROM "race" WHERE "grid">11 AND "laps">41 AND "driver"='nick heidfeld';
```
## Task
Generate a SQL query to answer the following question:
`Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin?`:
```sql
                SELECT "driver" FROM "race" WHERE "laps"<53 AND "grid">17 AND "time_retired"='spin';
```
## Task
Generate a SQL query to answer the following question:
`Who has won $98,860?`

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

CREATE TABLE "race_results" (
  "driver" text,
  "car_num" real,
  "make" text,
  "points" text,
  "laps" real,
  "winnings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has won $98,860?`:
```sql
                SELECT "driver" FROM "race_results" WHERE "winnings"='$98,860';
```
## Task
Generate a SQL query to answer the following question:
`What team is travelling to play Hawthorn?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team is travelling to play Hawthorn?`:
```sql
                SELECT "away_team" FROM "round_10" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest crowd at the Victoria Park Venue?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest crowd at the Victoria Park Venue?`:
```sql
                SELECT MIN("crowd") FROM "round_10" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What is the score given by the Home team Geelong?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score given by the Home team Geelong?`:
```sql
                SELECT "home_team_score" FROM "round_10" WHERE "home_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd at arden street oval?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest crowd at arden street oval?`:
```sql
                SELECT MAX("crowd") FROM "round_1" WHERE "venue"='arden street oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the home side's score at western oval?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home side's score at western oval?`:
```sql
                SELECT "home_team_score" FROM "round_1" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`What venue is in the state of Connecticut?`

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

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

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue is in the city of Durham?`:
```sql
                SELECT "venue" FROM "first_and_second_rounds" WHERE "city"='durham';
```
## Task
Generate a SQL query to answer the following question:
`In what state is the Thomas Assembly Center located?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what state is the Thomas Assembly Center located?`:
```sql
                SELECT "state" FROM "first_and_second_rounds" WHERE "venue"='thomas assembly center';
```
## Task
Generate a SQL query to answer the following question:
`What venue is located in Indiana and hosted at Purdue University?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue is located in Indiana and hosted at Purdue University?`:
```sql
                SELECT "venue" FROM "first_and_second_rounds" WHERE "state"='indiana' AND "host"='purdue university';
```
## Task
Generate a SQL query to answer the following question:
`What city is located in Oklahoma?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city is located in Oklahoma?`:
```sql
                SELECT "city" FROM "first_and_second_rounds" WHERE "state"='oklahoma';
```
## Task
Generate a SQL query to answer the following question:
`In what city is the United Spirit Arena located?`

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

CREATE TABLE "first_and_second_rounds" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what city is the United Spirit Arena located?`:
```sql
                SELECT "city" FROM "first_and_second_rounds" WHERE "venue"='united spirit arena';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when they had their bye week?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when they had their bye week?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='bye';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance of the Browns' September 7, 1953 game?`

### 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 was the attendance of the Browns' September 7, 1953 game?`:
```sql
                SELECT "attendance" FROM "exhibition_schedule" WHERE "date"='september 7, 1953';
```
## Task
Generate a SQL query to answer the following question:
`When was the Browns' game that over 36,796 attended?`

### 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 `When was the Browns' game that over 36,796 attended?`:
```sql
                SELECT "date" FROM "exhibition_schedule" WHERE "attendance">'36,796';
```
## Task
Generate a SQL query to answer the following question:
`What Young rider classification has a Stage of 18?`

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

CREATE TABLE "classification_leadership" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Young rider classification has a Stage of 18?`:
```sql
                SELECT "young_rider_classification" FROM "classification_leadership" WHERE "stage"='18';
```
## Task
Generate a SQL query to answer the following question:
`Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond?`

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

CREATE TABLE "classification_leadership" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond?`:
```sql
                SELECT "winner" FROM "classification_leadership" WHERE "team_classification"='la vie claire' AND "general_classification"='greg lemond' AND "stage"='20';
```
## Task
Generate a SQL query to answer the following question:
`What is the classification with a Team classification of la vie claire and a Stage of 12?`

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

CREATE TABLE "classification_leadership" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the classification with a Team classification of la vie claire and a Stage of 12?`:
```sql
                SELECT "general_classification" FROM "classification_leadership" WHERE "team_classification"='la vie claire' AND "stage"='12';
```
## Task
Generate a SQL query to answer the following question:
`What is guido bontempi's general classification when he has a stage of 6?`

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

CREATE TABLE "classification_leadership" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is guido bontempi's general classification when he has a stage of 6?`:
```sql
                SELECT "general_classification" FROM "classification_leadership" WHERE "winner"='guido bontempi' AND "stage"='6';
```
## Task
Generate a SQL query to answer the following question:
`What is Ludo Peeters' team classification?`

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

CREATE TABLE "classification_leadership" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Ludo Peeters' team classification?`:
```sql
                SELECT "team_classification" FROM "classification_leadership" WHERE "winner"='ludo peeters';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game where the home team scored 17.14 (116)?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game where the home team scored 17.14 (116)?`:
```sql
                SELECT "date" FROM "round_11" WHERE "home_team_score"='17.14 (116)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team at the game where Footscray was the home team and the crowd was larger than 20,200?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team at the game where Footscray was the home team and the crowd was larger than 20,200?`:
```sql
                SELECT "away_team" FROM "round_11" WHERE "crowd">'20,200' AND "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`Which date had less than 3 goals and a result of (w) 2-0?`

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

CREATE TABLE "england_career" (
  "date" text,
  "venue" text,
  "opposition" text,
  "att" real,
  "result" text,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which date had less than 3 goals and a result of (w) 2-0?`:
```sql
                SELECT "date" FROM "england_career" WHERE "goals"<3 AND "result"='(w) 2-0';
```
## Task
Generate a SQL query to answer the following question:
`Which home team scored 13.11 (89)?`

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

CREATE TABLE "round_16" (
  "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 home team scored 13.11 (89)?`:
```sql
                SELECT "home_team" FROM "round_16" WHERE "home_team_score"='13.11 (89)';
```
## Task
Generate a SQL query to answer the following question:
`When an away team scored 11.17 (83), at which venue were they playing?`

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

CREATE TABLE "round_16" (
  "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 an away team scored 11.17 (83), at which venue were they playing?`:
```sql
                SELECT "venue" FROM "round_16" WHERE "away_team_score"='11.17 (83)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was a match held at MCG?`

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

CREATE TABLE "round_16" (
  "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 a match held at MCG?`:
```sql
                SELECT "date" FROM "round_16" WHERE "venue"='mcg';
```
## Task
Generate a SQL query to answer the following question:
`When Fitzroy are the away team, what is the average crowd size?`

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

CREATE TABLE "round_16" (
  "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 Fitzroy are the away team, what is the average crowd size?`:
```sql
                SELECT AVG("crowd") FROM "round_16" WHERE "away_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What is footscray's away team score?`

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

CREATE TABLE "round_8_national_day_round" (
  "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 footscray's away team score?`:
```sql
                SELECT "away_team_score" FROM "round_8_national_day_round" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of Jeremija Sanders' opponent?`

### 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 `What is the record of Jeremija Sanders' opponent?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='jeremija sanders';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?`

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

CREATE TABLE "most_points" (
  "player" text,
  "span" text,
  "start" real,
  "tries" real,
  "conv" real,
  "pens" real,
  "drop" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?`:
```sql
                SELECT AVG("tries") FROM "most_points" WHERE "start">32 AND "player"='seremaia bai' AND "conv">47;
```
## Task
Generate a SQL query to answer the following question:
`For the player fero lasagavibau who has the lowest start?`

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

CREATE TABLE "most_points" (
  "player" text,
  "span" text,
  "start" real,
  "tries" real,
  "conv" real,
  "pens" real,
  "drop" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the player fero lasagavibau who has the lowest start?`:
```sql
                SELECT MIN("start") FROM "most_points" WHERE "player"='fero lasagavibau';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when Raphael was 4-0?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when Raphael was 4-0?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='4-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the average round when he had a 3-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,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average round when he had a 3-0 record?`:
```sql
                SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "record"='3-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the location when he had a 2-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,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the location when he had a 2-0 record?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "record"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when he went 1 round against jeremy beck?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when he went 1 round against jeremy beck?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "opponent"='jeremy beck';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game in halifax?`

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

CREATE TABLE "round_5" (
  "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 game in halifax?`:
```sql
                SELECT "result" FROM "round_5" WHERE "city"='halifax';
```
## Task
Generate a SQL query to answer the following question:
`What stadium is located in Halifax?`

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

CREATE TABLE "round_5" (
  "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 stadium is located in Halifax?`:
```sql
                SELECT "stadium" FROM "round_5" WHERE "city"='halifax';
```
## Task
Generate a SQL query to answer the following question:
`What day did they play in salford?`

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

CREATE TABLE "round_5" (
  "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 day did they play in salford?`:
```sql
                SELECT "date" FROM "round_5" WHERE "city"='salford';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest week the team played the chicago cardinals in front of less than 25,312?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest week the team played the chicago cardinals in front of less than 25,312?`:
```sql
                SELECT MIN("week") FROM "regular_season_schedule" WHERE "opponent"='chicago cardinals' AND "attendance"<'25,312';
```
## Task
Generate a SQL query to answer the following question:
`What day did they play on week 4?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What day did they play on week 4?`:
```sql
                SELECT "date" FROM "regular_season_schedule" WHERE "week"=4;
```
## Task
Generate a SQL query to answer the following question:
`What team did the Brows play against on October 20, 1963 to a crowd larger than 55,096?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What team did the Brows play against on October 20, 1963 to a crowd larger than 55,096?`:
```sql
                SELECT "opponent" FROM "regular_season_schedule" WHERE "attendance">'55,096' AND "date"='october 20, 1963';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance during the week 1 match?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance during the week 1 match?`:
```sql
                SELECT "attendance" FROM "regular_season_schedule" WHERE "week"=1;
```
## Task
Generate a SQL query to answer the following question:
`During what week was the match on November 10, 1963?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `During what week was the match on November 10, 1963?`:
```sql
                SELECT AVG("week") FROM "regular_season_schedule" WHERE "date"='november 10, 1963';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the match on December 1, 1963?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the match on December 1, 1963?`:
```sql
                SELECT "result" FROM "regular_season_schedule" WHERE "date"='december 1, 1963';
```
## Task
Generate a SQL query to answer the following question:
`When did a crowd larger than 23,135 watch an away team score 3.8 (26)?`

### 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 `When did a crowd larger than 23,135 watch an away team score 3.8 (26)?`:
```sql
                SELECT "date" FROM "round_3" WHERE "crowd">'23,135' AND "away_team_score"='3.8 (26)';
```
## Task
Generate a SQL query to answer the following question:
`What was the Away team score against a home team with 5.12 (42)?`

### 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 was the Away team score against a home team with 5.12 (42)?`:
```sql
                SELECT "away_team_score" FROM "round_3" WHERE "home_team_score"='5.12 (42)';
```
## Task
Generate a SQL query to answer the following question:
`What day is hawthorn the away 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 day is hawthorn the away side?`:
```sql
                SELECT "date" FROM "round_3" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the average crowd size for games with north melbourne as the away 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 average crowd size for games with north melbourne as the away side?`:
```sql
                SELECT AVG("crowd") FROM "round_3" WHERE "away_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`How many forms have less than 18 pages?`

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

CREATE TABLE "united_states_irs_forms_990_for_competit" (
  "organization_name" text,
  "state" text,
  "year" real,
  "total_assets" text,
  "form" real,
  "pages" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many forms have less than 18 pages?`:
```sql
                SELECT COUNT("form") FROM "united_states_irs_forms_990_for_competit" WHERE "pages"<18;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of forms with greater than 17 pages and a total of $1,801,154?`

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

CREATE TABLE "united_states_irs_forms_990_for_competit" (
  "organization_name" text,
  "state" text,
  "year" real,
  "total_assets" text,
  "form" real,
  "pages" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of forms with greater than 17 pages and a total of $1,801,154?`:
```sql
                SELECT SUM("form") FROM "united_states_irs_forms_990_for_competit" WHERE "pages">17 AND "total_assets"='$1,801,154';
```
## Task
Generate a SQL query to answer the following question:
`Which venue hosted South Melbourne?`

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

CREATE TABLE "round_2" (
  "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 hosted South Melbourne?`:
```sql
                SELECT "venue" FROM "round_2" WHERE "away_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the scored of the Away team that played against Richmond?`

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

CREATE TABLE "round_2" (
  "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 scored of the Away team that played against Richmond?`:
```sql
                SELECT "away_team_score" FROM "round_2" WHERE "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What is the result week 6?`

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

CREATE TABLE "regular_season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result week 6?`:
```sql
                SELECT "result" FROM "regular_season_schedule" WHERE "week"=6;
```
## Task
Generate a SQL query to answer the following question:
`How many goals did sture mårtensson score?`

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

CREATE TABLE "national_team_players_in_season_1946_47" (
  "name" text,
  "pos" text,
  "caps" real,
  "goals" real,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals did sture mårtensson score?`:
```sql
                SELECT "goals" FROM "national_team_players_in_season_1946_47" WHERE "name"='sture mårtensson';
```
## Task
Generate a SQL query to answer the following question:
`How many goals for the player with 2 caps at degerfors if?`

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

CREATE TABLE "national_team_players_in_season_1946_47" (
  "name" text,
  "pos" text,
  "caps" real,
  "goals" real,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals for the player with 2 caps at degerfors if?`:
```sql
                SELECT "goals" FROM "national_team_players_in_season_1946_47" WHERE "caps"=2 AND "club"='degerfors if';
```
## Task
Generate a SQL query to answer the following question:
`What catalog came out after 2000?`

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

CREATE TABLE "release_history" (
  "region" text,
  "year" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What catalog came out after 2000?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "year">2000;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player who begin playing for the LA Lakers in 1974?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "position" text,
  "from" text,
  "school_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player who begin playing for the LA Lakers in 1974?`:
```sql
                SELECT "player" FROM "r" WHERE "from"='1974';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance on week 7?`

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

CREATE TABLE "game_by_game_results" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance on week 7?`:
```sql
                SELECT "attendance" FROM "game_by_game_results" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`What opponent did they have a bye result against before week 14?`

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

CREATE TABLE "game_by_game_results" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent did they have a bye result against before week 14?`:
```sql
                SELECT "opponent" FROM "game_by_game_results" WHERE "result"='bye' AND "week"<14;
```
## Task
Generate a SQL query to answer the following question:
`Which average crowd has a Home team score of 11.15 (81)?`

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

CREATE TABLE "round_14" (
  "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 average crowd has a Home team score of 11.15 (81)?`:
```sql
                SELECT AVG("crowd") FROM "round_14" WHERE "home_team_score"='11.15 (81)';
```
## Task
Generate a SQL query to answer the following question:
`Which home team has an Away team of fitzroy?`

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

CREATE TABLE "round_14" (
  "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 home team has an Away team of fitzroy?`:
```sql
                SELECT "home_team" FROM "round_14" WHERE "away_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`Which away team has a score of 9.12 (66)?`

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

CREATE TABLE "round_14" (
  "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 has a score of 9.12 (66)?`:
```sql
                SELECT "away_team" FROM "round_14" WHERE "away_team_score"='9.12 (66)';
```
## Task
Generate a SQL query to answer the following question:
`At what venue did the away team score 10.10 (70)?`

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

CREATE TABLE "round_9" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what venue did the away team score 10.10 (70)?`:
```sql
                SELECT "venue" FROM "round_9" WHERE "away_team_score"='10.10 (70)';
```
## Task
Generate a SQL query to answer the following question:
`What was North Melbourne's score when they were the home team?`

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

CREATE TABLE "round_9" (
  "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 North Melbourne's score when they were the home team?`:
```sql
                SELECT "home_team_score" FROM "round_9" WHERE "home_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was Richmond's score as the home team?`

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

CREATE TABLE "round_9" (
  "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 Richmond's score as the home team?`:
```sql
                SELECT "home_team_score" FROM "round_9" WHERE "home_team"='richmond';
```