cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the top lap that had 2 grids and more than 26 points?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the top lap that had 2 grids and more than 26 points?`:
```sql
                SELECT MAX("laps") FROM "race" WHERE "grid"='2' AND "points">26;
```
## Task
Generate a SQL query to answer the following question:
`What is the top lap that had 6 grids and more than 19 points?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the top lap that had 6 grids and more than 19 points?`:
```sql
                SELECT MAX("laps") FROM "race" WHERE "grid"='6' AND "points">19;
```
## Task
Generate a SQL query to answer the following question:
`What is the average point count for tristan gommendy?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average point count for tristan gommendy?`:
```sql
                SELECT AVG("points") FROM "race" WHERE "driver"='tristan gommendy';
```
## Task
Generate a SQL query to answer the following question:
`What is the point low with 2 grids?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the point low with 2 grids?`:
```sql
                SELECT MIN("points") FROM "race" WHERE "grid"='2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Dismissals with a Venue with source: cricinfo.com?`

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

CREATE TABLE "most_dismissals_in_a_match" (
  "dismissals" text,
  "player" text,
  "versus" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Dismissals with a Venue with source: cricinfo.com?`:
```sql
                SELECT "dismissals" FROM "most_dismissals_in_a_match" WHERE "venue"='source: cricinfo.com';
```
## Task
Generate a SQL query to answer the following question:
`What is the Versus with a Player with ko otieno, with Venue with bloemfontein?`

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

CREATE TABLE "most_dismissals_in_a_match" (
  "dismissals" text,
  "player" text,
  "versus" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Versus with a Player with ko otieno, with Venue with bloemfontein?`:
```sql
                SELECT "versus" FROM "most_dismissals_in_a_match" WHERE "player"='ko otieno' AND "venue"='bloemfontein';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue with a Date with 27-02-2003?`

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

CREATE TABLE "most_dismissals_in_a_match" (
  "dismissals" text,
  "player" text,
  "versus" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue with a Date with 27-02-2003?`:
```sql
                SELECT "venue" FROM "most_dismissals_in_a_match" WHERE "date"='27-02-2003';
```
## Task
Generate a SQL query to answer the following question:
`What is the Player with Versus with australia?`

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

CREATE TABLE "most_dismissals_in_a_match" (
  "dismissals" text,
  "player" text,
  "versus" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Player with Versus with australia?`:
```sql
                SELECT "player" FROM "most_dismissals_in_a_match" WHERE "versus"='australia';
```
## Task
Generate a SQL query to answer the following question:
`What is the Player with a Date with 12-03-2003?`

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

CREATE TABLE "most_dismissals_in_a_match" (
  "dismissals" text,
  "player" text,
  "versus" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Player with a Date with 12-03-2003?`:
```sql
                SELECT "player" FROM "most_dismissals_in_a_match" WHERE "date"='12-03-2003';
```
## Task
Generate a SQL query to answer the following question:
`What is the Dismissals with a Player with source: cricinfo.com?`

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

CREATE TABLE "most_dismissals_in_a_match" (
  "dismissals" text,
  "player" text,
  "versus" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Dismissals with a Player with source: cricinfo.com?`:
```sql
                SELECT "dismissals" FROM "most_dismissals_in_a_match" WHERE "player"='source: cricinfo.com';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum number of attendance when the visiting team was Charlotte and the leading scorer was Ricky Davis (23)?`

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

CREATE TABLE "november" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum number of attendance when the visiting team was Charlotte and the leading scorer was Ricky Davis (23)?`:
```sql
                SELECT COUNT("attendance") FROM "november" WHERE "visitor"='charlotte' AND "leading_scorer"='ricky davis (23)';
```
## Task
Generate a SQL query to answer the following question:
`Which Visitor was there when the Home game was played in Miami on November 4?`

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

CREATE TABLE "november" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Visitor was there when the Home game was played in Miami on November 4?`:
```sql
                SELECT "visitor" FROM "november" WHERE "home"='miami' AND "date"='november 4';
```
## Task
Generate a SQL query to answer the following question:
`What nationality is Demetris Nichols?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality is Demetris Nichols?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "player"='demetris nichols';
```
## Task
Generate a SQL query to answer the following question:
`What school or team has round of 2 with less than 42 picks?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school or team has round of 2 with less than 42 picks?`:
```sql
                SELECT "school_club_team" FROM "draft_picks" WHERE "round"=2 AND "pick"<42;
```
## Task
Generate a SQL query to answer the following question:
`What position has round less than 2?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "nationality" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position has round less than 2?`:
```sql
                SELECT "position" FROM "draft_picks" WHERE "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`In what venue is Essendon the home team?`

### 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 `In what venue is Essendon the home team?`:
```sql
                SELECT "venue" FROM "round_12" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when the venue was Windy Hill?`

### 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 when the venue was Windy Hill?`:
```sql
                SELECT "away_team" FROM "round_12" WHERE "venue"='windy hill';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for Hawthorn when they were the away team?`

### 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 `What was the score for Hawthorn when they were the away team?`:
```sql
                SELECT "away_team_score" FROM "round_12" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What method was used that had a resulting win against opponent, Natsuko Kikukawa?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `What method was used that had a resulting win against opponent, Natsuko Kikukawa?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "opponent"='natsuko kikukawa';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7?`:
```sql
                SELECT MAX("round") FROM "mixed_martial_arts_record" WHERE "opponent"='hikaru shinohara' AND "record"='11-7';
```
## Task
Generate a SQL query to answer the following question:
`Which method has a record of 11-10?`

### 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
);
### SQL
Given the database schema, here is the SQL query that answers `Which method has a record of 11-10?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='11-10';
```
## Task
Generate a SQL query to answer the following question:
`Who is the loser when the attendance is larger than 31,409 and the date is July 9?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the loser when the attendance is larger than 31,409 and the date is July 9?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "attendance">'31,409' AND "date"='july 9';
```
## Task
Generate a SQL query to answer the following question:
`How much in average Loans Received has Contributions less than 34,986,088, Disbursements more than 251,093,944 for Dennis Kucinich † with Operating Expenditures more than 3,638,219?`

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

CREATE TABLE "democrats" (
  "candidate" text,
  "contributions" real,
  "loans_received" real,
  "all_receipts" real,
  "operating_expenditures" real,
  "all_disbursements" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much in average Loans Received has Contributions less than 34,986,088, Disbursements more than 251,093,944 for Dennis Kucinich † with Operating Expenditures more than 3,638,219?`:
```sql
                SELECT AVG("loans_received") FROM "democrats" WHERE "contributions"<'34,986,088' AND "all_disbursements">'251,093,944' AND "candidate"='dennis kucinich †' AND "operating_expenditures">'3,638,219';
```
## Task
Generate a SQL query to answer the following question:
`How much is the lowest Operating Expenditures when Contributions are more than 8,245,241?`

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

CREATE TABLE "democrats" (
  "candidate" text,
  "contributions" real,
  "loans_received" real,
  "all_receipts" real,
  "operating_expenditures" real,
  "all_disbursements" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much is the lowest Operating Expenditures when Contributions are more than 8,245,241?`:
```sql
                SELECT MIN("operating_expenditures") FROM "democrats" WHERE "contributions">'8,245,241';
```
## Task
Generate a SQL query to answer the following question:
`How many Loans Received have Disbursements larger than 21,857,565, and Contributions greater than 3,869,613 with Receipts under 11,405,771?`

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

CREATE TABLE "democrats" (
  "candidate" text,
  "contributions" real,
  "loans_received" real,
  "all_receipts" real,
  "operating_expenditures" real,
  "all_disbursements" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Loans Received have Disbursements larger than 21,857,565, and Contributions greater than 3,869,613 with Receipts under 11,405,771?`:
```sql
                SELECT COUNT("loans_received") FROM "democrats" WHERE "all_disbursements">'21,857,565' AND "contributions">'3,869,613' AND "all_receipts"<'11,405,771';
```
## Task
Generate a SQL query to answer the following question:
`What is the most Receipts for Barack Obama with Disbursements smaller than 85,176,289?`

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

CREATE TABLE "democrats" (
  "candidate" text,
  "contributions" real,
  "loans_received" real,
  "all_receipts" real,
  "operating_expenditures" real,
  "all_disbursements" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most Receipts for Barack Obama with Disbursements smaller than 85,176,289?`:
```sql
                SELECT MAX("all_receipts") FROM "democrats" WHERE "candidate"='barack obama' AND "all_disbursements"<'85,176,289';
```
## Task
Generate a SQL query to answer the following question:
`How many Operating Expenditures have Receipts of 44,259,386?`

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

CREATE TABLE "democrats" (
  "candidate" text,
  "contributions" real,
  "loans_received" real,
  "all_receipts" real,
  "operating_expenditures" real,
  "all_disbursements" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Operating Expenditures have Receipts of 44,259,386?`:
```sql
                SELECT COUNT("operating_expenditures") FROM "democrats" WHERE "all_receipts"='44,259,386';
```
## Task
Generate a SQL query to answer the following question:
`How many wins were there in 2004-05?`

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

CREATE TABLE "most_valuable_player_award_winners" (
  "season" text,
  "winner" text,
  "team" text,
  "position" text,
  "win_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins were there in 2004-05?`:
```sql
                SELECT "win_num" FROM "most_valuable_player_award_winners" WHERE "season"='2004-05';
```
## Task
Generate a SQL query to answer the following question:
`How many times did jim vivona win?`

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

CREATE TABLE "most_valuable_player_award_winners" (
  "season" text,
  "winner" text,
  "team" text,
  "position" text,
  "win_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did jim vivona win?`:
```sql
                SELECT COUNT("win_num") FROM "most_valuable_player_award_winners" WHERE "winner"='jim vivona';
```
## Task
Generate a SQL query to answer the following question:
`Which position was morristown minutemen in?`

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

CREATE TABLE "most_valuable_player_award_winners" (
  "season" text,
  "winner" text,
  "team" text,
  "position" text,
  "win_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which position was morristown minutemen in?`:
```sql
                SELECT "position" FROM "most_valuable_player_award_winners" WHERE "team"='morristown minutemen';
```
## Task
Generate a SQL query to answer the following question:
`Which season was harrisburg lunatics in?`

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

CREATE TABLE "most_valuable_player_award_winners" (
  "season" text,
  "winner" text,
  "team" text,
  "position" text,
  "win_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which season was harrisburg lunatics in?`:
```sql
                SELECT "season" FROM "most_valuable_player_award_winners" WHERE "team"='harrisburg lunatics';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest rank with less than 2 wings, more than 26 events, and less than $1,831,211?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest rank with less than 2 wings, more than 26 events, and less than $1,831,211?`:
```sql
                SELECT MIN("rank") FROM "leaders" WHERE "wins"<2 AND "earnings"<'1,831,211' AND "events">26;
```
## Task
Generate a SQL query to answer the following question:
`What is the most wins with a rank of 5 and less than $1,537,571 in earnings?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most wins with a rank of 5 and less than $1,537,571 in earnings?`:
```sql
                SELECT MAX("wins") FROM "leaders" WHERE "rank"=5 AND "earnings">'1,537,571';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue for Round f?`

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

CREATE TABLE "football_league_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue for Round f?`:
```sql
                SELECT "venue" FROM "football_league_cup" WHERE "round"='f';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the Result 1-0?`

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

CREATE TABLE "football_league_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the Result 1-0?`:
```sql
                SELECT "date" FROM "football_league_cup" WHERE "result"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance on 10 november 2004?`

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

CREATE TABLE "football_league_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance on 10 november 2004?`:
```sql
                SELECT AVG("attendance") FROM "football_league_cup" WHERE "date"='10 november 2004';
```
## Task
Generate a SQL query to answer the following question:
`What is the size of the crowd when the home team is Fitzroy?`

### 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 is the size of the crowd when the home team is Fitzroy?`:
```sql
                SELECT COUNT("crowd") FROM "round_9" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`How many laps did riccardo patrese do when he had a time/retird of + 1 lap?`

### 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 `How many laps did riccardo patrese do when he had a time/retird of + 1 lap?`:
```sql
                SELECT COUNT("laps") FROM "race" WHERE "time_retired"='+ 1 lap' AND "driver"='riccardo patrese';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode for jenny bicks and cindy chupack nominees in 2004`

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

CREATE TABLE "wga" (
  "year" real,
  "category" text,
  "nominee_s" text,
  "episode" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episode for jenny bicks and cindy chupack nominees in 2004`:
```sql
                SELECT "episode" FROM "wga" WHERE "year"=2004 AND "nominee_s"='jenny bicks and cindy chupack';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode for year more than 1999`

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

CREATE TABLE "wga" (
  "year" real,
  "category" text,
  "nominee_s" text,
  "episode" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episode for year more than 1999`:
```sql
                SELECT "episode" FROM "wga" WHERE "year">1999;
```
## Task
Generate a SQL query to answer the following question:
`What was the home team's score at the game held at Junction Oval?`

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

CREATE TABLE "round_19" (
  "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's score at the game held at Junction Oval?`:
```sql
                SELECT "home_team_score" FROM "round_19" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score at the game held at MCG?`

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

CREATE TABLE "round_19" (
  "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 at the game held at MCG?`:
```sql
                SELECT "away_team_score" FROM "round_19" WHERE "venue"='mcg';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team at the game held at Arden Street Oval?`

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

CREATE TABLE "round_19" (
  "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 held at Arden Street Oval?`:
```sql
                SELECT "away_team" FROM "round_19" WHERE "venue"='arden street oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the size of the crowd at the game where Fitzroy was the home team?`

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

CREATE TABLE "round_19" (
  "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 size of the crowd at the game where Fitzroy was the home team?`:
```sql
                SELECT "crowd" FROM "round_19" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`Name the most bronze for silver more than 6 and total less than 127 with gold less than 11`

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

CREATE TABLE "singapore_at_the_2007_southeast_asian_ga" (
  "rank" text,
  "sport" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most bronze for silver more than 6 and total less than 127 with gold less than 11`:
```sql
                SELECT MAX("bronze") FROM "singapore_at_the_2007_southeast_asian_ga" WHERE "silver">6 AND "total"<127 AND "gold"<11;
```
## Task
Generate a SQL query to answer the following question:
`Name the highest silver for table tennis and bronze more than 0`

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

CREATE TABLE "singapore_at_the_2007_southeast_asian_ga" (
  "rank" text,
  "sport" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the highest silver for table tennis and bronze more than 0`:
```sql
                SELECT MAX("silver") FROM "singapore_at_the_2007_southeast_asian_ga" WHERE "sport"='table tennis' AND "bronze">0;
```
## Task
Generate a SQL query to answer the following question:
`Which kickoff had an attendance of 58,120?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "kickoff_a" text,
  "game_site" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which kickoff had an attendance of 58,120?`:
```sql
                SELECT "kickoff_a" FROM "schedule" WHERE "attendance"='58,120';
```
## Task
Generate a SQL query to answer the following question:
`What week number did November 19, 1989 games fall on?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "kickoff_a" text,
  "game_site" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What week number did November 19, 1989 games fall on?`:
```sql
                SELECT "week" FROM "schedule" WHERE "date"='november 19, 1989';
```
## Task
Generate a SQL query to answer the following question:
`Which game site(s) had record of 2-2?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "kickoff_a" text,
  "game_site" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game site(s) had record of 2-2?`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "record"='2-2';
```
## Task
Generate a SQL query to answer the following question:
`Which game had a kickoff at 1:00 and a record of 3-7?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "kickoff_a" text,
  "game_site" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game had a kickoff at 1:00 and a record of 3-7?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "kickoff_a"='1:00' AND "record"='3-7';
```
## Task
Generate a SQL query to answer the following question:
`Which game had an attendance of 56,271?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "kickoff_a" text,
  "game_site" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game had an attendance of 56,271?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"='56,271';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the driver for ford cosworth dfv 3.0 v8 and chassis of ts19 ts20`

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

CREATE TABLE "drivers_and_constructors" (
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyres" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the driver for ford cosworth dfv 3.0 v8 and chassis of ts19 ts20`:
```sql
                SELECT "driver" FROM "drivers_and_constructors" WHERE "engine"='ford cosworth dfv 3.0 v8' AND "chassis"='ts19 ts20';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the constructor for alberto colombo and chassis of a1`

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

CREATE TABLE "drivers_and_constructors" (
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyres" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the constructor for alberto colombo and chassis of a1`:
```sql
                SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='alberto colombo' AND "chassis"='a1';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the constructor for clay regazzoni`

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

CREATE TABLE "drivers_and_constructors" (
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyres" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the constructor for clay regazzoni`:
```sql
                SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='clay regazzoni';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the chassis for team tissot ensign and driver of brett lunger`

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

CREATE TABLE "drivers_and_constructors" (
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyres" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the chassis for team tissot ensign and driver of brett lunger`:
```sql
                SELECT "chassis" FROM "drivers_and_constructors" WHERE "entrant"='team tissot ensign' AND "driver"='brett lunger';
```
## Task
Generate a SQL query to answer the following question:
`I want the tyres for hans binder`

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

CREATE TABLE "drivers_and_constructors" (
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyres" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want the tyres for hans binder`:
```sql
                SELECT "tyres" FROM "drivers_and_constructors" WHERE "driver"='hans binder';
```
## Task
Generate a SQL query to answer the following question:
`I want the constructor for divina galica rounds of 1-2`

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

CREATE TABLE "drivers_and_constructors" (
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyres" text,
  "driver" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want the constructor for divina galica rounds of 1-2`:
```sql
                SELECT "constructor" FROM "drivers_and_constructors" WHERE "rounds"='1-2' AND "driver"='divina galica';
```
## Task
Generate a SQL query to answer the following question:
`Who is the vacator for the February 1, 1971 date of successor's formal installation?`

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

CREATE TABLE "senate" (
  "state_class" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_of_successor_s_formal_installation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the vacator for the February 1, 1971 date of successor's formal installation?`:
```sql
                SELECT "vacator" FROM "senate" WHERE "date_of_successor_s_formal_installation"='february 1, 1971';
```
## Task
Generate a SQL query to answer the following question:
`What is the state of the senator with a November 14, 1972 date of successor's formal installation?`

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

CREATE TABLE "senate" (
  "state_class" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_of_successor_s_formal_installation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the state of the senator with a November 14, 1972 date of successor's formal installation?`:
```sql
                SELECT "state_class" FROM "senate" WHERE "date_of_successor_s_formal_installation"='november 14, 1972';
```
## Task
Generate a SQL query to answer the following question:
`What team did the Red Sox play against on June 3?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team did the Red Sox play against on June 3?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "date"='june 3';
```
## Task
Generate a SQL query to answer the following question:
`What was the Record at the game that had an attendance of 21,191?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Record at the game that had an attendance of 21,191?`:
```sql
                SELECT "record" FROM "game_log" WHERE "attendance"='21,191';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the game on June 17?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the game on June 17?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='june 17';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st ship delivery date of 6 ways?`

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

CREATE TABLE "yards_on_the_west_coast" (
  "yard_name" text,
  "location_city_state" text,
  "1st_ship_delivery_date" text,
  "total_number_of_ways" text,
  "total_vessels_built" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st ship delivery date of 6 ways?`:
```sql
                SELECT "1st_ship_delivery_date" FROM "yards_on_the_west_coast" WHERE "total_number_of_ways"='6 ways';
```
## Task
Generate a SQL query to answer the following question:
`What is the total vessels built in Wilmington, California?`

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

CREATE TABLE "yards_on_the_west_coast" (
  "yard_name" text,
  "location_city_state" text,
  "1st_ship_delivery_date" text,
  "total_number_of_ways" text,
  "total_vessels_built" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total vessels built in Wilmington, California?`:
```sql
                SELECT "total_vessels_built" FROM "yards_on_the_west_coast" WHERE "location_city_state"='wilmington, california';
```
## Task
Generate a SQL query to answer the following question:
`What was the final round result of Mohammad Reza Samadi?`

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

CREATE TABLE "boxing" (
  "athlete" text,
  "event" text,
  "quarterfinal" text,
  "semifinal" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final round result of Mohammad Reza Samadi?`:
```sql
                SELECT "final" FROM "boxing" WHERE "athlete"='mohammad reza samadi';
```
## Task
Generate a SQL query to answer the following question:
`If the Home team score was 19.15 (129), what was the Away team's score that game?`

### 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 `If the Home team score was 19.15 (129), what was the Away team's score that game?`:
```sql
                SELECT "away_team_score" FROM "round_16" WHERE "home_team_score"='19.15 (129)';
```
## Task
Generate a SQL query to answer the following question:
`When the Home team of footscray is playing, what's the Home team score?`

### 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 the Home team of footscray is playing, what's the Home team score?`:
```sql
                SELECT "home_team_score" FROM "round_16" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`If the Away team scored 18.8 (116), what was the Home team's score?`

### 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 `If the Away team scored 18.8 (116), what was the Home team's score?`:
```sql
                SELECT "home_team_score" FROM "round_16" WHERE "away_team_score"='18.8 (116)';
```
## Task
Generate a SQL query to answer the following question:
`What was the title of the song that peaked the charts at #1 with track 20?`

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

CREATE TABLE "disc_four" (
  "track" real,
  "recorded" text,
  "catalogue" text,
  "release_date" text,
  "chart_peak" text,
  "song_title" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the title of the song that peaked the charts at #1 with track 20?`:
```sql
                SELECT "song_title" FROM "disc_four" WHERE "chart_peak"='#1' AND "track"=20;
```
## Task
Generate a SQL query to answer the following question:
`What is the time from the song called Treat Me Nice?`

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

CREATE TABLE "disc_four" (
  "track" real,
  "recorded" text,
  "catalogue" text,
  "release_date" text,
  "chart_peak" text,
  "song_title" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time from the song called Treat Me Nice?`:
```sql
                SELECT "time" FROM "disc_four" WHERE "song_title"='treat me nice';
```
## Task
Generate a SQL query to answer the following question:
`What was Random House's copyright information?`

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

CREATE TABLE "official_callanetics_books" (
  "year" real,
  "title" text,
  "publisher" text,
  "release_date" text,
  "copyright_information" text,
  "isbn" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was Random House's copyright information?`:
```sql
                SELECT "copyright_information" FROM "official_callanetics_books" WHERE "publisher"='random house';
```
## Task
Generate a SQL query to answer the following question:
`What was release date in 1992 with the ISBN #0?`

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

CREATE TABLE "official_callanetics_books" (
  "year" real,
  "title" text,
  "publisher" text,
  "release_date" text,
  "copyright_information" text,
  "isbn" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was release date in 1992 with the ISBN #0?`:
```sql
                SELECT "release_date" FROM "official_callanetics_books" WHERE "isbn"=0 AND "year"=1992;
```
## Task
Generate a SQL query to answer the following question:
`What club team has 216 overall?`

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

CREATE TABLE "1996_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What club team has 216 overall?`:
```sql
                SELECT "club_team" FROM "1996_draft_picks" WHERE "overall"=216;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest round played by Chris Phillips?`

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

CREATE TABLE "1996_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest round played by Chris Phillips?`:
```sql
                SELECT MAX("round") FROM "1996_draft_picks" WHERE "player"='chris phillips';
```
## Task
Generate a SQL query to answer the following question:
`What player attended Graceland College?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player attended Graceland College?`:
```sql
                SELECT "player" FROM "round_four" WHERE "college"='graceland';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest pick number of the CFL's Toronto Argonauts?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest pick number of the CFL's Toronto Argonauts?`:
```sql
                SELECT MAX("pick_num") FROM "round_four" WHERE "cfl_team"='toronto argonauts';
```
## Task
Generate a SQL query to answer the following question:
`Which pick number attended McMaster College?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which pick number attended McMaster College?`:
```sql
                SELECT "pick_num" FROM "round_four" WHERE "college"='mcmaster';
```
## Task
Generate a SQL query to answer the following question:
`Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood?`

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

CREATE TABLE "october" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood?`:
```sql
                SELECT "visitor" FROM "october" WHERE "decision"='osgood' AND "home"='edmonton';
```