cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`When did the Portland Trail Blazers play against Cleveland?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the Portland Trail Blazers play against Cleveland?`:
```sql
                SELECT "date" FROM "game_log" WHERE "team"='Cleveland';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest series number of the episode "The New Day"?`

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

CREATE TABLE "table1_23287683_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest series number of the episode "The New Day"?`:
```sql
                SELECT MAX("series_num") FROM "table1_23287683_1" WHERE "title"='\"The New Day\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were directed by Sarah Pia Anderson?`

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

CREATE TABLE "table1_23287683_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were directed by Sarah Pia Anderson?`:
```sql
                SELECT COUNT("title") FROM "table1_23287683_1" WHERE "directed_by"='Sarah Pia Anderson';
```
## Task
Generate a SQL query to answer the following question:
`List all season numbers with production codes of 5m21.`

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

CREATE TABLE "table1_23287683_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `List all season numbers with production codes of 5m21.`:
```sql
                SELECT "season_num" FROM "table1_23287683_1" WHERE "production_code"='5M21';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode "Woman"?`

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

CREATE TABLE "table1_23287683_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode "Woman"?`:
```sql
                SELECT "directed_by" FROM "table1_23287683_1" WHERE "title"='\"Woman\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes had a series number of 95?`

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

CREATE TABLE "table1_23287683_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes had a series number of 95?`:
```sql
                SELECT COUNT("title") FROM "table1_23287683_1" WHERE "series_num"=95;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of season for production code 3m17`

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

CREATE TABLE "table1_23286722_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of season for production code 3m17`:
```sql
                SELECT COUNT("season_num") FROM "table1_23286722_1" WHERE "production_code"='3M17';
```
## Task
Generate a SQL query to answer the following question:
`Name the directed by season # 2`

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

CREATE TABLE "table1_23286722_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the directed by season # 2`:
```sql
                SELECT "directed_by" FROM "table1_23286722_1" WHERE "season_num"=2;
```
## Task
Generate a SQL query to answer the following question:
`Name the directed by for "blue christmas"`

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

CREATE TABLE "table1_23286722_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the directed by for "blue christmas"`:
```sql
                SELECT "directed_by" FROM "table1_23286722_1" WHERE "title"='\"Blue Christmas\"';
```
## Task
Generate a SQL query to answer the following question:
`Name least series number for writers david e. kelley & jill goldsmith`

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

CREATE TABLE "table1_23286722_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name least series number for writers david e. kelley & jill goldsmith`:
```sql
                SELECT MIN("series_num") FROM "table1_23286722_1" WHERE "written_by"='David E. Kelley & Jill Goldsmith';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes are numbered 12x03?`

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

CREATE TABLE "table1_23292220_13" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes are numbered 12x03?`:
```sql
                SELECT COUNT("first_broadcast") FROM "table1_23292220_13" WHERE "episode"='12x03';
```
## Task
Generate a SQL query to answer the following question:
`Who was on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt?`

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

CREATE TABLE "table1_23292220_13" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt?`:
```sql
                SELECT "jons_team" FROM "table1_23292220_13" WHERE "seans_team"='Matthew Crosby and Kimberly Wyatt';
```
## Task
Generate a SQL query to answer the following question:
`What was the episode that had Jack Dee and Stacey Solomon on Sean's team?`

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

CREATE TABLE "table1_23292220_13" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the episode that had Jack Dee and Stacey Solomon on Sean's team?`:
```sql
                SELECT "episode" FROM "table1_23292220_13" WHERE "seans_team"='Jack Dee and Stacey Solomon';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team?`

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

CREATE TABLE "table1_23292220_13" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team?`:
```sql
                SELECT "scores" FROM "table1_23292220_13" WHERE "seans_team"='Louie Spence and Joe Wilkinson';
```
## Task
Generate a SQL query to answer the following question:
`What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team?`

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

CREATE TABLE "table1_23292220_13" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team?`:
```sql
                SELECT "scores" FROM "table1_23292220_13" WHERE "seans_team"='Russell Kane and Louise Redknapp';
```
## Task
Generate a SQL query to answer the following question:
`In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves?`

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

CREATE TABLE "series_3" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves?`:
```sql
                SELECT "episode" FROM "series_3" WHERE "seans_team"='Krishnan Guru-Murthy and Vic Reeves';
```
## Task
Generate a SQL query to answer the following question:
`What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay?`

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

CREATE TABLE "series_3" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay?`:
```sql
                SELECT "first_broadcast" FROM "series_3" WHERE "daves_team"='Dave Johns and Sally Lindsay';
```
## Task
Generate a SQL query to answer the following question:
`What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas?`

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

CREATE TABLE "series_3" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas?`:
```sql
                SELECT "first_broadcast" FROM "series_3" WHERE "seans_team"='Peter Serafinowicz and Johnny Vegas';
```
## Task
Generate a SQL query to answer the following question:
`In how many episodes was Dave's team made up of David Walliams and Louis Walsh?`

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

CREATE TABLE "series_3" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `In how many episodes was Dave's team made up of David Walliams and Louis Walsh?`:
```sql
                SELECT COUNT("episode") FROM "series_3" WHERE "daves_team"='David Walliams and Louis Walsh';
```
## Task
Generate a SQL query to answer the following question:
`Which episode has boy george and lee mack on dave's team?`

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

CREATE TABLE "series_4" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode has boy george and lee mack on dave's team?`:
```sql
                SELECT "episode" FROM "series_4" WHERE "daves_team"='Boy George and Lee Mack';
```
## Task
Generate a SQL query to answer the following question:
`How many daves team entries are there on 27 october 2006?`

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

CREATE TABLE "series_4" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many daves team entries are there on 27 october 2006?`:
```sql
                SELECT COUNT("daves_team") FROM "series_4" WHERE "first_broadcast"='27 October 2006';
```
## Task
Generate a SQL query to answer the following question:
`Which episode has ulrika jonsson and michael mcintyre on sean's team?`

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

CREATE TABLE "series_4" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode has ulrika jonsson and michael mcintyre on sean's team?`:
```sql
                SELECT "episode" FROM "series_4" WHERE "seans_team"='Ulrika Jonsson and Michael McIntyre';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the episode with john barrowman and vic reeves on sean's team?`

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

CREATE TABLE "series_4" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the episode with john barrowman and vic reeves on sean's team?`:
```sql
                SELECT "scores" FROM "series_4" WHERE "seans_team"='John Barrowman and Vic Reeves';
```
## Task
Generate a SQL query to answer the following question:
`What was the first broadcast date of episode 4x03?`

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

CREATE TABLE "series_4" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "daves_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first broadcast date of episode 4x03?`:
```sql
                SELECT "first_broadcast" FROM "series_4" WHERE "episode"='4x03';
```
## Task
Generate a SQL query to answer the following question:
`Name the first broadcast for trisha goddard and glenn wool`

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

CREATE TABLE "series_5" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the first broadcast for trisha goddard and glenn wool`:
```sql
                SELECT "first_broadcast" FROM "series_5" WHERE "jasons_team"='Trisha Goddard and Glenn Wool';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of scores for 5x06`

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

CREATE TABLE "series_5" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of scores for 5x06`:
```sql
                SELECT COUNT("scores") FROM "series_5" WHERE "episode"='5x06';
```
## Task
Generate a SQL query to answer the following question:
`Name the first broadcast for tina malone and joe wilkinson`

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

CREATE TABLE "series_15" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the first broadcast for tina malone and joe wilkinson`:
```sql
                SELECT "first_broadcast" FROM "series_15" WHERE "seans_team"='Tina Malone and Joe Wilkinson';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of jons team for 15x10`

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

CREATE TABLE "series_15" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of jons team for 15x10`:
```sql
                SELECT COUNT("jons_team") FROM "series_15" WHERE "episode"='15x10';
```
## Task
Generate a SQL query to answer the following question:
`Name the scores for  chris ramsey and carol vorderman`

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

CREATE TABLE "series_15" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the scores for  chris ramsey and carol vorderman`:
```sql
                SELECT "scores" FROM "series_15" WHERE "seans_team"='Chris Ramsey and Carol Vorderman';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of jons team for 15x07`

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

CREATE TABLE "series_15" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of jons team for 15x07`:
```sql
                SELECT COUNT("jons_team") FROM "series_15" WHERE "episode"='15x07';
```
## Task
Generate a SQL query to answer the following question:
`Name all of Jason's teams that appeared on episode 6x02?`

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

CREATE TABLE "series_6" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name all of Jason's teams that appeared on episode 6x02?`:
```sql
                SELECT "jasons_team" FROM "series_6" WHERE "episode"='6x02';
```
## Task
Generate a SQL query to answer the following question:
`In how many episodes were Vanessa Feltz and Lee Mack the team for Sean? `

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

CREATE TABLE "series_6" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `In how many episodes were Vanessa Feltz and Lee Mack the team for Sean? `:
```sql
                SELECT COUNT("episode") FROM "series_6" WHERE "seans_team"='Vanessa Feltz and Lee Mack';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's team.`

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

CREATE TABLE "series_6" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's team.`:
```sql
                SELECT "episode" FROM "series_6" WHERE "jasons_team"='Duncan James and Johnny Vegas';
```
## Task
Generate a SQL query to answer the following question:
`What round does Duncan Tappy drive in?`

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

CREATE TABLE "2009_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_3" text,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What round does Duncan Tappy drive in?`:
```sql
                SELECT MAX("sf_round") FROM "2009_season" WHERE "driver"='Duncan Tappy';
```
## Task
Generate a SQL query to answer the following question:
`How many racing points did England get?`

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

CREATE TABLE "2009_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_3" text,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many racing points did England get?`:
```sql
                SELECT MAX("race_total_pts") FROM "2009_season" WHERE "country"='England';
```
## Task
Generate a SQL query to answer the following question:
`How many are the Race 2 points when Race 1 was 12?`

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

CREATE TABLE "2009_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_3" text,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many are the Race 2 points when Race 1 was 12?`:
```sql
                SELECT "race_2_pts" FROM "2009_season" WHERE "race_1_pts"=12;
```
## Task
Generate a SQL query to answer the following question:
`How many millions of people in the US saw the episode number 226?`

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

CREATE TABLE "table1_23294081_11" (
  "no" real,
  "num" real,
  "original_airdate" text,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of people in the US saw the episode number 226?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_23294081_11" WHERE "no"=226;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest episode number?`

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

CREATE TABLE "table1_23294081_11" (
  "no" real,
  "num" real,
  "original_airdate" text,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest episode number?`:
```sql
                SELECT MAX("no") FROM "table1_23294081_11";
```
## Task
Generate a SQL query to answer the following question:
`Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2?`

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

CREATE TABLE "table1_23294081_11" (
  "no" real,
  "num" real,
  "original_airdate" text,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2?`:
```sql
                SELECT "performer_1" FROM "table1_23294081_11" WHERE "performer_2"='Heather Anne Campbell' AND "num"=7;
```
## Task
Generate a SQL query to answer the following question:
`What's the number of the episode seen by 2.99 millions of people in the US, where performer 2 was Heather Anne Campbell?`

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

CREATE TABLE "table1_23294081_11" (
  "no" real,
  "num" real,
  "original_airdate" text,
  "performer_1" text,
  "performer_2" text,
  "performer_3" text,
  "performer_4" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the number of the episode seen by 2.99 millions of people in the US, where performer 2 was Heather Anne Campbell?`:
```sql
                SELECT MIN("num") FROM "table1_23294081_11" WHERE "performer_2"='Heather Anne Campbell' AND "u_s_viewers_millions"='2.99';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode for vic reeves and claudia winkleman`

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

CREATE TABLE "series_7" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episode for vic reeves and claudia winkleman`:
```sql
                SELECT "episode" FROM "series_7" WHERE "seans_team"='Vic Reeves and Claudia Winkleman';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of scores for episode 7x05`

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

CREATE TABLE "series_7" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of scores for episode 7x05`:
```sql
                SELECT COUNT("scores") FROM "series_7" WHERE "episode"='7x05';
```
## Task
Generate a SQL query to answer the following question:
`Name the seans team being 13 november 2008`

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

CREATE TABLE "series_7" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the seans team being 13 november 2008`:
```sql
                SELECT "seans_team" FROM "series_7" WHERE "first_broadcast"='13 November 2008';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of seans team being 7x04`

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

CREATE TABLE "series_7" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of seans team being 7x04`:
```sql
                SELECT COUNT("seans_team") FROM "series_7" WHERE "episode"='7x04';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of scores for 7x10`

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

CREATE TABLE "series_7" (
  "episode" text,
  "first_broadcast" text,
  "seans_team" text,
  "jasons_team" text,
  "scores" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of scores for 7x10`:
```sql
                SELECT COUNT("scores") FROM "series_7" WHERE "episode"='7x10';
```
## Task
Generate a SQL query to answer the following question:
`How many dates have a total points for race of 180?`

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

CREATE TABLE "2008_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many dates have a total points for race of 180?`:
```sql
                SELECT COUNT("date") FROM "2008_season" WHERE "race_total_pts"=180;
```
## Task
Generate a SQL query to answer the following question:
`What is every points value for race 1 if the total race points is 180?`

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

CREATE TABLE "2008_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is every points value for race 1 if the total race points is 180?`:
```sql
                SELECT "race_1_pts" FROM "2008_season" WHERE "race_total_pts"=180;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of total race points for the country of Belgium?`

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

CREATE TABLE "2008_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of total race points for the country of Belgium?`:
```sql
                SELECT MIN("race_total_pts") FROM "2008_season" WHERE "country"='Belgium';
```
## Task
Generate a SQL query to answer the following question:
`Who is every driver for the location of Estoril Circuit?`

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

CREATE TABLE "2008_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is every driver for the location of Estoril Circuit?`:
```sql
                SELECT "driver" FROM "2008_season" WHERE "location"='Estoril Circuit';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest value for SF round for the country of England?`

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

CREATE TABLE "2008_season" (
  "sf_round" real,
  "country" text,
  "location" text,
  "date" text,
  "driver" text,
  "race_1_pts" real,
  "race_2_pts" real,
  "race_total_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest value for SF round for the country of England?`:
```sql
                SELECT MAX("sf_round") FROM "2008_season" WHERE "country"='England';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface for the year 2001?`

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

CREATE TABLE "singles_6_2_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" 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 is the surface for the year 2001?`:
```sql
                SELECT "surface" FROM "singles_6_2_titles_4_runner_ups" WHERE "year"=2001;
```
## Task
Generate a SQL query to answer the following question:
`What was the score on October 29?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score on October 29?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='October 29';
```
## Task
Generate a SQL query to answer the following question:
`How many opponents were there with the record of 3-2-2?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many opponents were there with the record of 3-2-2?`:
```sql
                SELECT COUNT("opponent") FROM "game_log" WHERE "record"='3-2-2';
```
## Task
Generate a SQL query to answer the following question:
`What was the record on October 17?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record on October 17?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='October 17';
```
## Task
Generate a SQL query to answer the following question:
`What date did they play agains the New York Rangers?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date did they play agains the New York Rangers?`:
```sql
                SELECT "date" FROM "game_log" WHERE "opponent"='New York Rangers';
```
## Task
Generate a SQL query to answer the following question:
`How many points were there scored on October 27?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points were there scored on October 27?`:
```sql
                SELECT MAX("points") FROM "game_log" WHERE "date"='October 27';
```
## Task
Generate a SQL query to answer the following question:
`How many different scores are there for the game with 10-3-4 record?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many different scores are there for the game with 10-3-4 record?`:
```sql
                SELECT COUNT("score") FROM "game_log" WHERE "record"='10-3-4';
```
## Task
Generate a SQL query to answer the following question:
`When was the game with 13-5-6 record played?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was the game with 13-5-6 record played?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='13-5-6';
```
## Task
Generate a SQL query to answer the following question:
`What's the minimal number of points scored in any game?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the minimal number of points scored in any game?`:
```sql
                SELECT MIN("points") FROM "game_log";
```
## Task
Generate a SQL query to answer the following question:
`How many different games against Florida Panthers were played in Verizon Center?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many different games against Florida Panthers were played in Verizon Center?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "opponent"='Florida Panthers' AND "location"='Verizon Center';
```
## Task
Generate a SQL query to answer the following question:
`What was the record in the November 7 game?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record in the November 7 game?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='November 7';
```
## Task
Generate a SQL query to answer the following question:
`How many times was there a record of 49-15-11?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was there a record of 49-15-11?`:
```sql
                SELECT COUNT("attendance") FROM "game_log" WHERE "record"='49-15-11';
```
## Task
Generate a SQL query to answer the following question:
`How many scores had a date of March 6?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many scores had a date of March 6?`:
```sql
                SELECT COUNT("score") FROM "game_log" WHERE "date"='March 6';
```
## Task
Generate a SQL query to answer the following question:
`If the date is 7-21-2006, who was the opponent?`

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

CREATE TABLE "singles_performances_18_10" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text,
  "outcome" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the date is 7-21-2006, who was the opponent?`:
```sql
                SELECT "opponent" FROM "singles_performances_18_10" WHERE "date"='7-21-2006';
```
## Task
Generate a SQL query to answer the following question:
`If the opponent is Kristian Pless, who was it against?`

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

CREATE TABLE "singles_performances_18_10" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text,
  "outcome" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the opponent is Kristian Pless, who was it against?`:
```sql
                SELECT "against" FROM "singles_performances_18_10" WHERE "opponent"='Kristian Pless';
```
## Task
Generate a SQL query to answer the following question:
`Who is the winning team when max busnelli is the winning driver?`

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

CREATE TABLE "race_calendar" (
  "round" real,
  "location" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the winning team when max busnelli is the winning driver?`:
```sql
                SELECT "winning_team" FROM "race_calendar" WHERE "winning_driver"='Max Busnelli';
```
## Task
Generate a SQL query to answer the following question:
`In which location is aci vallelunga circuit?`

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

CREATE TABLE "race_calendar" (
  "round" real,
  "location" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which location is aci vallelunga circuit?`:
```sql
                SELECT "location" FROM "race_calendar" WHERE "circuit"='ACI Vallelunga Circuit';
```
## Task
Generate a SQL query to answer the following question:
`Who held the pole position in misano world circuit?`

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

CREATE TABLE "race_calendar" (
  "round" real,
  "location" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who held the pole position in misano world circuit?`:
```sql
                SELECT "pole_position" FROM "race_calendar" WHERE "circuit"='Misano World Circuit';
```
## Task
Generate a SQL query to answer the following question:
`List the results for all games which involved the detroit red wings.`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `List the results for all games which involved the detroit red wings.`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='Detroit Red Wings';
```
## Task
Generate a SQL query to answer the following question:
`Calculate the highest points where the win,loss, tie ratio is  28-12-6`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Calculate the highest points where the win,loss, tie ratio is  28-12-6`:
```sql
                SELECT MAX("points") FROM "game_log" WHERE "record"='28-12-6';
```
## Task
Generate a SQL query to answer the following question:
`what are the previous performance details for games involving the montreal canadiens?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what are the previous performance details for games involving the montreal canadiens?`:
```sql
                SELECT "record" FROM "game_log" WHERE "opponent"='Montreal Canadiens';
```
## Task
Generate a SQL query to answer the following question:
`Which years did Michigan state university come in third place?`

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

CREATE TABLE "table1_2331549_1" (
  "year" real,
  "host_city" text,
  "host_school" text,
  "champion" text,
  "second_place" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which years did Michigan state university come in third place?`:
```sql
                SELECT "year" FROM "table1_2331549_1" WHERE "third_place"='Michigan State University';
```
## Task
Generate a SQL query to answer the following question:
`Who were the champions in years where michigan technological university was in third place?`

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

CREATE TABLE "table1_2331549_1" (
  "year" real,
  "host_city" text,
  "host_school" text,
  "champion" text,
  "second_place" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the champions in years where michigan technological university was in third place?`:
```sql
                SELECT "champion" FROM "table1_2331549_1" WHERE "third_place"='Michigan Technological University';
```
## Task
Generate a SQL query to answer the following question:
`What was the host city in years where the host school was école de technologie supérieure?`

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

CREATE TABLE "table1_2331549_1" (
  "year" real,
  "host_city" text,
  "host_school" text,
  "champion" text,
  "second_place" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the host city in years where the host school was école de technologie supérieure?`:
```sql
                SELECT "host_city" FROM "table1_2331549_1" WHERE "host_school"='École de technologie supérieure';
```
## Task
Generate a SQL query to answer the following question:
`Who came in second place when the champion was south dakota school of mines & technology?`

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

CREATE TABLE "table1_2331549_1" (
  "year" real,
  "host_city" text,
  "host_school" text,
  "champion" text,
  "second_place" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who came in second place when the champion was south dakota school of mines & technology?`:
```sql
                SELECT "second_place" FROM "table1_2331549_1" WHERE "champion"='South Dakota School of Mines & Technology';
```
## Task
Generate a SQL query to answer the following question:
`If the average is 45.65, what is the total number of innings?`

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

CREATE TABLE "most_career_runs" (
  "rank" real,
  "runs" real,
  "player" text,
  "matches" real,
  "innings" real,
  "not_out" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the average is 45.65, what is the total number of innings?`:
```sql
                SELECT COUNT("innings") FROM "most_career_runs" WHERE "average"='45.65';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player if the innings is 82?`

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

CREATE TABLE "most_career_runs" (
  "rank" real,
  "runs" real,
  "player" text,
  "matches" real,
  "innings" real,
  "not_out" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player if the innings is 82?`:
```sql
                SELECT "player" FROM "most_career_runs" WHERE "innings"=82;
```
## Task
Generate a SQL query to answer the following question:
`If the innings is 68, what is the average?`

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

CREATE TABLE "most_career_runs" (
  "rank" real,
  "runs" real,
  "player" text,
  "matches" real,
  "innings" real,
  "not_out" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the innings is 68, what is the average?`:
```sql
                SELECT "average" FROM "most_career_runs" WHERE "innings"=68;
```