cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the date for zi yan jie zheng opponent`

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

CREATE TABLE "doubles_15_8_7" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for zi yan jie zheng opponent`:
```sql
                SELECT "date" FROM "doubles_15_8_7" WHERE "opponents"='zi yan jie zheng';
```
## Task
Generate a SQL query to answer the following question:
`Name the partner for 14 october 2007`

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

CREATE TABLE "doubles_15_8_7" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the partner for 14 october 2007`:
```sql
                SELECT "partner" FROM "doubles_15_8_7" WHERE "date"='14 october 2007';
```
## Task
Generate a SQL query to answer the following question:
`Name the partner for opponents of alexandra dulgheru magdaléna rybáriková`

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

CREATE TABLE "doubles_15_8_7" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the partner for opponents of alexandra dulgheru magdaléna rybáriková`:
```sql
                SELECT "partner" FROM "doubles_15_8_7" WHERE "opponents"='alexandra dulgheru magdaléna rybáriková';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponents for 24 july 2011`

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

CREATE TABLE "doubles_15_8_7" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponents for 24 july 2011`:
```sql
                SELECT "opponents" FROM "doubles_15_8_7" WHERE "date"='24 july 2011';
```
## Task
Generate a SQL query to answer the following question:
`What is Ken Walter's lowest pick number with an overall pick number larger than 195?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Ken Walter's lowest pick number with an overall pick number larger than 195?`:
```sql
                SELECT MIN("pick_num") FROM "indianapolis_colts_draft_history" WHERE "name"='ken walter' AND "overall">195;
```
## Task
Generate a SQL query to answer the following question:
`What does Polyphenyl Ether of 3- and 4-ring oxythio look like?`

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

CREATE TABLE "table_2_physical_properties_of_polypheny" (
  "polyphenyl_ether" text,
  "appearance" text,
  "thermal_stability_f_c" text,
  "viscosity_c_st_at_100_f_38_c" real,
  "viscosity_c_st_at_210_f_99_c" real
);
### SQL
Given the database schema, here is the SQL query that answers `What does Polyphenyl Ether of 3- and 4-ring oxythio look like?`:
```sql
                SELECT "appearance" FROM "table_2_physical_properties_of_polypheny" WHERE "polyphenyl_ether"='3- and 4-ring oxythio';
```
## Task
Generate a SQL query to answer the following question:
`How long was the course from Naples to Foggia?`

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

CREATE TABLE "stage_results" (
  "date" text,
  "course" text,
  "distance" text,
  "winner" text,
  "race_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `How long was the course from Naples to Foggia?`:
```sql
                SELECT "distance" FROM "stage_results" WHERE "course"='naples to foggia';
```
## Task
Generate a SQL query to answer the following question:
`Name the score with opponent of milos raonic`

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

CREATE TABLE "singles_17_14_titles_3_runners_up" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the score with opponent of milos raonic`:
```sql
                SELECT "score" FROM "singles_17_14_titles_3_runners_up" WHERE "opponent"='milos raonic';
```
## Task
Generate a SQL query to answer the following question:
`Name the date with a hard surface and tournament of usa f5, brownsville`

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

CREATE TABLE "singles_17_14_titles_3_runners_up" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date with a hard surface and tournament of usa f5, brownsville`:
```sql
                SELECT "date" FROM "singles_17_14_titles_3_runners_up" WHERE "surface"='hard' AND "tournament"='usa f5, brownsville';
```
## Task
Generate a SQL query to answer the following question:
`Name the outcome with tournament of mexico f12, obregón`

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

CREATE TABLE "singles_17_14_titles_3_runners_up" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the outcome with tournament of mexico f12, obregón`:
```sql
                SELECT "outcome" FROM "singles_17_14_titles_3_runners_up" WHERE "tournament"='mexico f12, obregón';
```
## Task
Generate a SQL query to answer the following question:
`Name the tournament for march 25, 2012`

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

CREATE TABLE "singles_17_14_titles_3_runners_up" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tournament for march 25, 2012`:
```sql
                SELECT "tournament" FROM "singles_17_14_titles_3_runners_up" WHERE "date"='march 25, 2012';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score for the August 25, 1996 match?`

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

CREATE TABLE "singles_12_7_5" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score for the August 25, 1996 match?`:
```sql
                SELECT "score_in_the_final" FROM "singles_12_7_5" WHERE "date"='august 25, 1996';
```
## Task
Generate a SQL query to answer the following question:
`What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?`:
```sql
                SELECT AVG("year") FROM "complete_formula_one_world_championship_" WHERE "points"<6 AND "engine"='maserati straight-6';
```
## Task
Generate a SQL query to answer the following question:
`What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?`:
```sql
                SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "chassis"='maserati 250f' AND "year"<1957 AND "points"<6;
```
## Task
Generate a SQL query to answer the following question:
`What chassis has a year of 1951?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What chassis has a year of 1951?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year"=1951;
```
## Task
Generate a SQL query to answer the following question:
`What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "engine"='maserati straight-6' AND "entrant"='officine alfieri maserati' AND "points"<6;
```
## Task
Generate a SQL query to answer the following question:
`Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?`:
```sql
                SELECT MAX("lane") FROM "semifinal_1" WHERE "time"<49.67 AND "name"='michael klim' AND "rank"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest lane with Lorenzo Vismara and a time higher than 49.67?`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest lane with Lorenzo Vismara and a time higher than 49.67?`:
```sql
                SELECT MIN("lane") FROM "semifinal_1" WHERE "name"='lorenzo vismara' AND "time">49.67;
```
## Task
Generate a SQL query to answer the following question:
`Who was the visitor on January 24?`

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

CREATE TABLE "january" (
  "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 visitor on January 24?`:
```sql
                SELECT "visitor" FROM "january" WHERE "date"='january 24';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team on January 8?`

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

CREATE TABLE "january" (
  "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 home team on January 8?`:
```sql
                SELECT "home" FROM "january" WHERE "date"='january 8';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent when the Attendance was 38,150?`

### 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 `Who was the Opponent when the Attendance was 38,150?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "attendance"='38,150';
```
## Task
Generate a SQL query to answer the following question:
`Where is NCAA division ii Franklin Pierce University located at?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is NCAA division ii Franklin Pierce University located at?`:
```sql
                SELECT "location" FROM "former_members" WHERE "classification"='ncaa division ii' AND "institution"='franklin pierce university';
```
## Task
Generate a SQL query to answer the following question:
`Post University has what nickname?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Post University has what nickname?`:
```sql
                SELECT "nickname" FROM "former_members" WHERE "institution"='post university';
```
## Task
Generate a SQL query to answer the following question:
`The River Hawks belonged to what current conference?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `The River Hawks belonged to what current conference?`:
```sql
                SELECT "current_conference" FROM "former_members" WHERE "nickname"='river hawks';
```
## Task
Generate a SQL query to answer the following question:
`What is the nickname of the school located in Manchester, New Hampshire?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nickname of the school located in Manchester, New Hampshire?`:
```sql
                SELECT "nickname" FROM "former_members" WHERE "location"='manchester, new hampshire';
```
## Task
Generate a SQL query to answer the following question:
`What is the classification for the school in the NEC Conference located in New Britain, Connecticut?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the classification for the school in the NEC Conference located in New Britain, Connecticut?`:
```sql
                SELECT "classification" FROM "former_members" WHERE "current_conference"='nec' AND "location"='new britain, connecticut';
```
## Task
Generate a SQL query to answer the following question:
`What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?`:
```sql
                SELECT "institution" FROM "former_members" WHERE "classification"='ncaa division i' AND "current_conference"='nec' AND "nickname"='blue devils';
```
## Task
Generate a SQL query to answer the following question:
`What was the record at the home of the Montreal Maroons`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record at the home of the Montreal Maroons`:
```sql
                SELECT "record" FROM "game_log" WHERE "home"='montreal maroons';
```
## Task
Generate a SQL query to answer the following question:
`which school shows #/county of 29 hamilton?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `which school shows #/county of 29 hamilton?`:
```sql
                SELECT "school" FROM "membership" WHERE "num_county"='29 hamilton';
```
## Task
Generate a SQL query to answer the following question:
`what is the mascot for the enrollment 08-09 of 320?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the mascot for the enrollment 08-09 of 320?`:
```sql
                SELECT "mascot" FROM "membership" WHERE "enrollment_08_09"=320;
```
## Task
Generate a SQL query to answer the following question:
`what is the school in michigantown?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the school in michigantown?`:
```sql
                SELECT "school" FROM "membership" WHERE "location"='michigantown';
```
## Task
Generate a SQL query to answer the following question:
`Which episode number was associated with Vibhav Gautam?`

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

CREATE TABLE "contestants" (
  "name" text,
  "city_state" text,
  "country" text,
  "status" text,
  "status_date" text,
  "episode_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode number was associated with Vibhav Gautam?`:
```sql
                SELECT "episode_number" FROM "contestants" WHERE "name"='vibhav gautam';
```
## Task
Generate a SQL query to answer the following question:
`Which city/state was associated with a contestant whose status was 2nd runner-up?`

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

CREATE TABLE "contestants" (
  "name" text,
  "city_state" text,
  "country" text,
  "status" text,
  "status_date" text,
  "episode_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city/state was associated with a contestant whose status was 2nd runner-up?`:
```sql
                SELECT "city_state" FROM "contestants" WHERE "status"='2nd runner-up';
```
## Task
Generate a SQL query to answer the following question:
`Which contestant was associated with episode 34?`

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

CREATE TABLE "contestants" (
  "name" text,
  "city_state" text,
  "country" text,
  "status" text,
  "status_date" text,
  "episode_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which contestant was associated with episode 34?`:
```sql
                SELECT "name" FROM "contestants" WHERE "episode_number"='episode 34';
```
## Task
Generate a SQL query to answer the following question:
`What is the status of the city/state of Indor, Madhya Pradesh?`

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

CREATE TABLE "contestants" (
  "name" text,
  "city_state" text,
  "country" text,
  "status" text,
  "status_date" text,
  "episode_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status of the city/state of Indor, Madhya Pradesh?`:
```sql
                SELECT "status_date" FROM "contestants" WHERE "city_state"='indor, madhya pradesh';
```
## Task
Generate a SQL query to answer the following question:
`What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury?`

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

CREATE TABLE "1934" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury?`:
```sql
                SELECT "role" FROM "1934" WHERE "director"='r.n. bradbury' AND "title"='the trail beyond';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the movie The Star Packer?`

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

CREATE TABLE "1934" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the movie The Star Packer?`:
```sql
                SELECT "director" FROM "1934" WHERE "title"='the star packer';
```
## Task
Generate a SQL query to answer the following question:
`What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?`

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

CREATE TABLE "1934" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?`:
```sql
                SELECT "role" FROM "1934" WHERE "leading_lady"='sheila terry' AND "title"='the lawless frontier';
```
## Task
Generate a SQL query to answer the following question:
`In what movie did John Wayne play the role of Chris Morrell?`

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

CREATE TABLE "1934" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what movie did John Wayne play the role of Chris Morrell?`:
```sql
                SELECT "title" FROM "1934" WHERE "role"='chris morrell';
```
## Task
Generate a SQL query to answer the following question:
`What role did John Wayne play with Verna Hillie as the leading lady?`

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

CREATE TABLE "1934" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What role did John Wayne play with Verna Hillie as the leading lady?`:
```sql
                SELECT "role" FROM "1934" WHERE "leading_lady"='verna hillie';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the movie when John Wayne played the role of John Travers?`

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

CREATE TABLE "1934" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the movie when John Wayne played the role of John Travers?`:
```sql
                SELECT "director" FROM "1934" WHERE "role"='john travers';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for November 26, with the decision made by Prusek?`

### 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,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for November 26, with the decision made by Prusek?`:
```sql
                SELECT "record" FROM "november" WHERE "decision"='prusek' AND "date"='november 26';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis?`

### 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,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis?`:
```sql
                SELECT "record" FROM "november" WHERE "visitor"='columbus' AND "decision"='denis' AND "home"='phoenix';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for November 4, with a decision made by Denis?`

### 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,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for November 4, with a decision made by Denis?`:
```sql
                SELECT "record" FROM "november" WHERE "decision"='denis' AND "date"='november 4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification?`:
```sql
                SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "points_classification"='fabrizio guidi' AND "winner"='nicolaj bo larsen';
```
## Task
Generate a SQL query to answer the following question:
`What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov?`:
```sql
                SELECT "mountains_classification" FROM "classification_leadership_by_stage" WHERE "winner"='mario cipollini' AND "general_classification"='pavel tonkov';
```
## Task
Generate a SQL query to answer the following question:
`What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi?`:
```sql
                SELECT "stage" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='gewiss playbus' AND "points_classification"='fabrizio guidi' AND "winner"='fabiano fontanelli';
```
## Task
Generate a SQL query to answer the following question:
`What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?`:
```sql
                SELECT "stage" FROM "classification_leadership_by_stage" WHERE "points_classification"='silvio martinello' AND "general_classification"='davide rebellin';
```
## Task
Generate a SQL query to answer the following question:
`What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6?`:
```sql
                SELECT "trofeo_fast_team" FROM "classification_leadership_by_stage" WHERE "points_classification"='silvio martinello' AND "stage"='6';
```
## Task
Generate a SQL query to answer the following question:
`How many points did the Castres have?`

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

CREATE TABLE "table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did the Castres have?`:
```sql
                SELECT "points_for" FROM "table" WHERE "club"='castres';
```
## Task
Generate a SQL query to answer the following question:
`Who is the club that had 617 points and a draw of 0?`

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

CREATE TABLE "table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the club that had 617 points and a draw of 0?`:
```sql
                SELECT "club" FROM "table" WHERE "drawn"='0' AND "points_for"='617';
```
## Task
Generate a SQL query to answer the following question:
`What number of bonus points did Stade Français?`

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

CREATE TABLE "table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number of bonus points did Stade Français?`:
```sql
                SELECT "bonus_points" FROM "table" WHERE "club"='stade français';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent at the game when the record was 15–15?`

### 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 `Who was the opponent at the game when the record was 15–15?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='15–15';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent at the game attended by 23,203?`

### 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 `Who was the opponent at the game attended by 23,203?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "attendance"='23,203';
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the game when the record was 16–15?`

### 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 loss of the game when the record was 16–15?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='16–15';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance at the game that had a score of 16–7?`

### 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 attendance at the game that had a score of 16–7?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "score"='16–7';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game attended by 25,022?`

### 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 date of the game attended by 25,022?`:
```sql
                SELECT "date" FROM "game_log" WHERE "attendance"='25,022';
```
## Task
Generate a SQL query to answer the following question:
`Which record has an attendance larger than 28,459?`

### 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 `Which record has an attendance larger than 28,459?`:
```sql
                SELECT "record" FROM "game_log" WHERE "attendance">'28,459';
```
## Task
Generate a SQL query to answer the following question:
`When the record was 32-37 what was the score?`

### 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 `When the record was 32-37 what was the score?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='32-37';
```
## Task
Generate a SQL query to answer the following question:
`On the date of june 7 what was the score?`

### 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 `On the date of june 7 what was the score?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='june 7';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game when the record was 68-39?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game when the record was 68-39?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='68-39';
```
## Task
Generate a SQL query to answer the following question:
`What was the game of the game against the White Sox with a record of 81-48?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the game of the game against the White Sox with a record of 81-48?`:
```sql
                SELECT "date" FROM "game_log" WHERE "opponent"='white sox' AND "record"='81-48';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game when the record was 66-38?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game when the record was 66-38?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='66-38';
```
## Task
Generate a SQL query to answer the following question:
`What category was Brian D'arcy James nominated for?`

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

CREATE TABLE "original_broadway_production" (
  "year" real,
  "award_ceremony" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What category was Brian D'arcy James nominated for?`:
```sql
                SELECT "category" FROM "original_broadway_production" WHERE "nominee"='brian d''arcy james' AND "result"='nominated';
```
## Task
Generate a SQL query to answer the following question:
`What is the item "Moving to", when the Transfer fee is £300,000?`

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

CREATE TABLE "out" (
  "name" text,
  "country" text,
  "status" text,
  "moving_to" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the item "Moving to", when the Transfer fee is £300,000?`:
```sql
                SELECT "moving_to" FROM "out" WHERE "transfer_fee"='£300,000';
```
## Task
Generate a SQL query to answer the following question:
`What is the Country, when the Transfer fee is "loan", and when the Name is Lynch?`

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

CREATE TABLE "out" (
  "name" text,
  "country" text,
  "status" text,
  "moving_to" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Country, when the Transfer fee is "loan", and when the Name is Lynch?`:
```sql
                SELECT "country" FROM "out" WHERE "transfer_fee"='loan' AND "name"='lynch';
```
## Task
Generate a SQL query to answer the following question:
`What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale?`

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

CREATE TABLE "out" (
  "name" text,
  "country" text,
  "status" text,
  "moving_to" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale?`:
```sql
                SELECT "transfer_window" FROM "out" WHERE "transfer_fee"='free' AND "name"='dugdale';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name, when the Transfer fee is "loan"?`

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

CREATE TABLE "out" (
  "name" text,
  "country" text,
  "status" text,
  "moving_to" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name, when the Transfer fee is "loan"?`:
```sql
                SELECT "name" FROM "out" WHERE "transfer_fee"='loan';
```
## Task
Generate a SQL query to answer the following question:
`What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City?`

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

CREATE TABLE "out" (
  "name" text,
  "country" text,
  "status" text,
  "moving_to" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City?`:
```sql
                SELECT "transfer_window" FROM "out" WHERE "transfer_fee"='free' AND "moving_to"='norwich city';
```
## Task
Generate a SQL query to answer the following question:
`What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria?`

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

CREATE TABLE "out" (
  "name" text,
  "country" text,
  "status" text,
  "moving_to" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria?`:
```sql
                SELECT "transfer_fee" FROM "out" WHERE "transfer_window"='winter' AND "moving_to"='northwich victoria';
```
## Task
Generate a SQL query to answer the following question:
`What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?`:
```sql
                SELECT "constructor" FROM "race" WHERE "time_retired"='collision' AND "grid"='11';
```
## Task
Generate a SQL query to answer the following question:
`What shows as 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" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows as 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 number of laps 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" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of laps for Grid 3?`:
```sql
                SELECT "laps" FROM "race" WHERE "grid"='3';
```
## Task
Generate a SQL query to answer the following question:
`What company was the constructor when Nick Heidfeld was the driver/`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `What company was the constructor when Nick Heidfeld was the driver/`:
```sql
                SELECT "constructor" FROM "race" WHERE "driver"='nick heidfeld';
```
## Task
Generate a SQL query to answer the following question:
`What shows for laps when the Time/Retired was +1:08.577?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for laps when the Time/Retired was +1:08.577?`:
```sql
                SELECT "laps" FROM "race" WHERE "time_retired"='+1:08.577';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the constructor for Grid 1?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the constructor for Grid 1?`:
```sql
                SELECT "constructor" FROM "race" WHERE "grid"='1';
```
## Task
Generate a SQL query to answer the following question:
`When was Mushfiqur Rahim's test career?`

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

CREATE TABLE "see_also" (
  "player" text,
  "test_career" text,
  "tests" real,
  "catches" real,
  "stumpings" real,
  "total_dismissals" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was Mushfiqur Rahim's test career?`:
```sql
                SELECT "test_career" FROM "see_also" WHERE "player"='mushfiqur rahim';
```
## Task
Generate a SQL query to answer the following question:
`Name the sum of points for 1984`

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

CREATE TABLE "indycar_career_results" (
  "year" real,
  "team" text,
  "chassis" text,
  "engine" text,
  "rank" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sum of points for 1984`:
```sql
                SELECT SUM("points") FROM "indycar_career_results" WHERE "year"<1984;
```