cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What are the terps points for the nov. 25/05 game?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "terps_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the terps points for the nov. 25/05 game?`:
```sql
                SELECT "terps_points" FROM "season_schedule" WHERE "date"='Nov. 25/05';
```
## Task
Generate a SQL query to answer the following question:
`Where were games played when the record was 9-1?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "terps_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where were games played when the record was 9-1?`:
```sql
                SELECT "location" FROM "season_schedule" WHERE "record"='9-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of terps points in games where the opponent made 53 points?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "terps_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of terps points in games where the opponent made 53 points?`:
```sql
                SELECT MAX("terps_points") FROM "season_schedule" WHERE "opp_points"=53;
```
## Task
Generate a SQL query to answer the following question:
`Where was the game on jan. 16/06 played?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "terps_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game on jan. 16/06 played?`:
```sql
                SELECT "location" FROM "season_schedule" WHERE "date"='Jan. 16/06';
```
## Task
Generate a SQL query to answer the following question:
`Name the high points for 21-45 record`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "arena_attendance" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high points for 21-45 record`:
```sql
                SELECT COUNT("high_points") FROM "game_log" WHERE "record"='21-45';
```
## Task
Generate a SQL query to answer the following question:
`Name the visitor for march 23`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "arena_attendance" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the visitor for march 23`:
```sql
                SELECT "visitor" FROM "game_log" WHERE "date"='March 23';
```
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for td garden 18,624`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "arena_attendance" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high rebounds for td garden 18,624`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "arena_attendance"='TD Garden 18,624';
```
## Task
Generate a SQL query to answer the following question:
`Name the record for march 16`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "arena_attendance" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the record for march 16`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='March 16';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number for score  l 110-112`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "team" text,
  "score" text,
  "location_attendance" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number for score  l 110-112`:
```sql
                SELECT COUNT("num") FROM "game_log" WHERE "score"='L 110-112';
```
## Task
Generate a SQL query to answer the following question:
`Name the team for  w 125-115 score`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "team" text,
  "score" text,
  "location_attendance" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the team for  w 125-115 score`:
```sql
                SELECT "team" FROM "game_log" WHERE "score"='W 125-115';
```
## Task
Generate a SQL query to answer the following question:
`Name the high assists for american airlines center 19,585`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "team" text,
  "score" text,
  "location_attendance" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high assists for american airlines center 19,585`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "location_attendance"='American Airlines Center 19,585';
```
## Task
Generate a SQL query to answer the following question:
`Who has the high points when 3-2 is the series?`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has the high points when 3-2 is the series?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "series"='3-2';
```
## Task
Generate a SQL query to answer the following question:
`Who has the high assists when 0-1 is the series?`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has the high assists when 0-1 is the series?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "series"='0-1';
```
## Task
Generate a SQL query to answer the following question:
`How many high rebounds are in series 3-3?`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many high rebounds are in series 3-3?`:
```sql
                SELECT COUNT("high_rebounds") FROM "game_log" WHERE "series"='3-3';
```
## Task
Generate a SQL query to answer the following question:
`How many games are on the date of April 30?`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games are on the date of April 30?`:
```sql
                SELECT MIN("game") FROM "game_log" WHERE "date"='April 30';
```
## Task
Generate a SQL query to answer the following question:
`Who did the high points in the game played on December 18?`

### 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 `Who did the high points in the game played on December 18?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "date"='December 18';
```
## Task
Generate a SQL query to answer the following question:
`Who did the high points in the game played on December 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,
  "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 `Who did the high points in the game played on December 2?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "date"='December 2';
```
## Task
Generate a SQL query to answer the following question:
`What's the record of the game in which Carlos Delfino (17) did the most high points?`

### 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 `What's the record of the game in which Carlos Delfino (17) did the most high points?`:
```sql
                SELECT "record" FROM "game_log" WHERE "high_points"='Carlos Delfino (17)';
```
## Task
Generate a SQL query to answer the following question:
`Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists?`

### 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 `Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='Brandon Jennings (8)';
```
## Task
Generate a SQL query to answer the following question:
`Which player has 18-50 .360 field goals?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "field_goals" text,
  "three_pointers" text,
  "free_throws" text,
  "assists" real,
  "steals" real,
  "rebounds" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player has 18-50 .360 field goals?`:
```sql
                SELECT "player" FROM "player_stats" WHERE "field_goals"='18-50 .360';
```
## Task
Generate a SQL query to answer the following question:
`What is the most assists for points 129-3.9?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "field_goals" text,
  "three_pointers" text,
  "free_throws" text,
  "assists" real,
  "steals" real,
  "rebounds" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most assists for points 129-3.9?`:
```sql
                SELECT MAX("assists") FROM "player_stats" WHERE "points"='129-3.9';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for irish points being 89`

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

CREATE TABLE "schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "irish_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for irish points being 89`:
```sql
                SELECT "date" FROM "schedule" WHERE "irish_points"=89;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of location for 22-1`

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

CREATE TABLE "schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "irish_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of location for 22-1`:
```sql
                SELECT COUNT("location") FROM "schedule" WHERE "record"='22-1';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for 2-27-10`

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

CREATE TABLE "schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "irish_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponent for 2-27-10`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='2-27-10';
```
## Task
Generate a SQL query to answer the following question:
`Name the max irish points for eastern michigan`

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

CREATE TABLE "schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "irish_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the max irish points for eastern michigan`:
```sql
                SELECT MAX("irish_points") FROM "schedule" WHERE "opponent"='Eastern Michigan';
```
## Task
Generate a SQL query to answer the following question:
`Name the irish points for 23-1 record`

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

CREATE TABLE "schedule" (
  "date" text,
  "location" text,
  "opponent" text,
  "irish_points" real,
  "opp_points" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the irish points for 23-1 record`:
```sql
                SELECT "irish_points" FROM "schedule" WHERE "record"='23-1';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of high rebounds for l 92–96 (ot)`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of high rebounds for l 92–96 (ot)`:
```sql
                SELECT COUNT("high_rebounds") FROM "game_log" WHERE "score"='L 92–96 (OT)';
```
## Task
Generate a SQL query to answer the following question:
`what ist he date of game 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,
  "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 `what ist he date of game 29?`:
```sql
                SELECT "date" FROM "game_log" WHERE "game"=29;
```
## Task
Generate a SQL query to answer the following question:
`what is the location attendance for game 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,
  "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 `what is the location attendance for game 27?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"=27;
```
## Task
Generate a SQL query to answer the following question:
`what is the total number of high rebounds for minnesota?`

### 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 `what is the total number of high rebounds for minnesota?`:
```sql
                SELECT COUNT("high_rebounds") FROM "game_log" WHERE "team"='Minnesota';
```
## Task
Generate a SQL query to answer the following question:
`What were the high rebounds on April 4?`

### 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 `What were the high rebounds on April 4?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 4';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the game was 80?`

### 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 `What was the score when the game was 80?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=80;
```
## Task
Generate a SQL query to answer the following question:
`What date was the record 11-67?`

### 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 `What date was the record 11-67?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='11-67';
```
## Task
Generate a SQL query to answer the following question:
`How many high rebounds were there on April 7?`

### 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 `How many high rebounds were there on April 7?`:
```sql
                SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='April 7';
```
## Task
Generate a SQL query to answer the following question:
`What was the high points when rebounds were Terrence Williams (8)?`

### 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 `What was the high points when rebounds were Terrence Williams (8)?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='Terrence Williams (8)';
```
## Task
Generate a SQL query to answer the following question:
`When the record was 2-29 who had the most assists?`

### 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 the record was 2-29 who had the most assists?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "record"='2-29';
```
## Task
Generate a SQL query to answer the following question:
`When we played Houston who had the most points?`

### 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 we played Houston who had the most points?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "team"='Houston';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of high points for ford 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,
  "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 `Name the number of high points for ford center`:
```sql
                SELECT COUNT("high_points") FROM "game_log" WHERE "location_attendance"='Ford Center';
```
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for american airlines 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,
  "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 `Name the high rebounds for american airlines center`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "location_attendance"='American Airlines Center';
```
## Task
Generate a SQL query to answer the following question:
`Name the record for  l 90–100 (ot)`

### 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 `Name the record for  l 90–100 (ot)`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='L 90–100 (OT)';
```
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for  l 83–106 (ot)`

### 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 `Name the location attendance for  l 83–106 (ot)`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "score"='L 83–106 (OT)';
```
## Task
Generate a SQL query to answer the following question:
`Name the score for 49-31`

### 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 `Name the score for 49-31`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='49-31';
```
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for minnesota`

### 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 `Name the location attendance for minnesota`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='Minnesota';
```
## Task
Generate a SQL query to answer the following question:
`What location had a record of 20-12, and how many people attended?`

### 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 `What location had a record of 20-12, and how many people attended?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "record"='20-12';
```
## Task
Generate a SQL query to answer the following question:
`What was the total score for january 18?`

### 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 `What was the total score for january 18?`:
```sql
                SELECT COUNT("score") FROM "game_log" WHERE "date"='January 18';
```
## Task
Generate a SQL query to answer the following question:
`Where was game 41 held, and how many people attended?`

### 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 `Where was game 41 held, and how many people attended?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"=41;
```
## Task
Generate a SQL query to answer the following question:
`What was the date for the record 23-13?`

### 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 `What was the date for the record 23-13?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='23-13';
```
## Task
Generate a SQL query to answer the following question:
`What was the high point for January 20?`

### 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 `What was the high point for January 20?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "date"='January 20';
```
## Task
Generate a SQL query to answer the following question:
`What was the location and how many attended when Golden State 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,
  "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 `What was the location and how many attended when Golden State played? `:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='Golden State';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest game number where the team was 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 `What is the highest game number where the team was Cleveland? `:
```sql
                SELECT MAX("game") FROM "game_log" WHERE "team"='Cleveland';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest numbered nightly rank for any episode? `

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

CREATE TABLE "australian_ratings" (
  "order" real,
  "episode" text,
  "original_airdate" text,
  "timeslot" text,
  "viewers_100000s" text,
  "nightly_rank" real,
  "weekly_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest numbered nightly rank for any episode? `:
```sql
                SELECT MAX("nightly_rank") FROM "australian_ratings";
```
## Task
Generate a SQL query to answer the following question:
`How many attended on december 2?`

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

CREATE TABLE "regular_season" (
  "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 `How many attended on december 2?`:
```sql
                SELECT COUNT("location_attendance") FROM "regular_season" WHERE "date"='December 2';
```
## Task
Generate a SQL query to answer the following question:
`Who was he opponent on december 11?`

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

CREATE TABLE "regular_season" (
  "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 `Who was he opponent on december 11?`:
```sql
                SELECT "team" FROM "regular_season" WHERE "date"='December 11';
```
## Task
Generate a SQL query to answer the following question:
`What was the score against houston?`

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

CREATE TABLE "regular_season" (
  "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 `What was the score against houston?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "team"='Houston';
```
## Task
Generate a SQL query to answer the following question:
`when did the @ indiana game take place?`

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

CREATE TABLE "regular_season" (
  "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 @ indiana game take place?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "team"='@ Indiana';
```
## Task
Generate a SQL query to answer the following question:
`Name the score for madison square garden 18,828`

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

CREATE TABLE "regular_season" (
  "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 `Name the score for madison square garden 18,828`:
```sql
                SELECT "score" FROM "regular_season" WHERE "location_attendance"='Madison Square Garden 18,828';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of date for dallas`

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

CREATE TABLE "regular_season" (
  "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 `Name the number of date for dallas`:
```sql
                SELECT COUNT("date") FROM "regular_season" WHERE "team"='Dallas';
```
## Task
Generate a SQL query to answer the following question:
`Name the high assists for january 15`

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

CREATE TABLE "regular_season" (
  "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 `Name the high assists for january 15`:
```sql
                SELECT "high_assists" FROM "regular_season" WHERE "date"='January 15';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the episode that aired originally on November 10, 1998?`

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

CREATE TABLE "table1_228973_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the episode that aired originally on November 10, 1998?`:
```sql
                SELECT "title" FROM "table1_228973_5" WHERE "original_air_date"='November 10, 1998';
```
## Task
Generate a SQL query to answer the following question:
`What episode number in the series originally aired on April 27, 1999?`

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

CREATE TABLE "table1_228973_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series originally aired on April 27, 1999?`:
```sql
                SELECT MAX("no_in_series") FROM "table1_228973_5" WHERE "original_air_date"='April 27, 1999';
```
## Task
Generate a SQL query to answer the following question:
`How many people wrote episode 68 in the series?`

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

CREATE TABLE "table1_228973_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people wrote episode 68 in the series?`:
```sql
                SELECT COUNT("written_by") FROM "table1_228973_5" WHERE "no_in_series"=68;
```
## Task
Generate a SQL query to answer the following question:
`How many writers were there for episode named "embassy"?`

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

CREATE TABLE "table1_228973_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many writers were there for episode named "embassy"?`:
```sql
                SELECT COUNT("written_by") FROM "table1_228973_5" WHERE "title"='\"Embassy\"';
```
## Task
Generate a SQL query to answer the following question:
`What date did "dungaree justice" originally air?`

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

CREATE TABLE "table1_228973_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did "dungaree justice" originally air?`:
```sql
                SELECT "original_air_date" FROM "table1_228973_5" WHERE "title"='\"Dungaree Justice\"';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode that originally aired on February 16, 1999?`

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

CREATE TABLE "table1_228973_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode that originally aired on February 16, 1999?`:
```sql
                SELECT "directed_by" FROM "table1_228973_5" WHERE "original_air_date"='February 16, 1999';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode titled "Two Towns"?`

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

CREATE TABLE "table1_228973_11" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode titled "Two Towns"?`:
```sql
                SELECT "directed_by" FROM "table1_228973_11" WHERE "title"='\"Two Towns\"';
```
## Task
Generate a SQL query to answer the following question:
`The episode which originally aired on February 11, 2005 had which episode # of the season?`

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

CREATE TABLE "table1_228973_11" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `The episode which originally aired on February 11, 2005 had which episode # of the season?`:
```sql
                SELECT "no_in_season" FROM "table1_228973_11" WHERE "original_air_date"='February 11, 2005';
```
## Task
Generate a SQL query to answer the following question:
`The episode which originally aired on December 17, 2004  was written by whom?`

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

CREATE TABLE "table1_228973_11" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `The episode which originally aired on December 17, 2004  was written by whom?`:
```sql
                SELECT "written_by" FROM "table1_228973_11" WHERE "original_air_date"='December 17, 2004';
```
## Task
Generate a SQL query to answer the following question:
`David James Elliott directed which episode number within the series?`

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

CREATE TABLE "table1_228973_11" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `David James Elliott directed which episode number within the series?`:
```sql
                SELECT "no_in_series" FROM "table1_228973_11" WHERE "directed_by"='David James Elliott';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode which originally aired February 4, 2005?`

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

CREATE TABLE "table1_228973_11" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode which originally aired February 4, 2005?`:
```sql
                SELECT "directed_by" FROM "table1_228973_11" WHERE "original_air_date"='February 4, 2005';
```
## Task
Generate a SQL query to answer the following question:
`when was the premiere of the episode called "force recon"?`

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

CREATE TABLE "table1_228973_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `when was the premiere of the episode called "force recon"?`:
```sql
                SELECT "original_air_date" FROM "table1_228973_3" WHERE "title"='\"Force Recon\"';
```
## Task
Generate a SQL query to answer the following question:
`which is the number of the season episode whose premiere was in january 3, 1997?`

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

CREATE TABLE "table1_228973_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `which is the number of the season episode whose premiere was in january 3, 1997?`:
```sql
                SELECT COUNT("no_in_season") FROM "table1_228973_3" WHERE "original_air_date"='January 3, 1997';
```
## Task
Generate a SQL query to answer the following question:
`which is the number of the season episode whose writer is R. Scott Gemmill and the Director is Ray Austin?`

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

CREATE TABLE "table1_228973_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `which is the number of the season episode whose writer is R. Scott Gemmill and the Director is Ray Austin?`:
```sql
                SELECT "no_in_season" FROM "table1_228973_3" WHERE "written_by"='R. Scott Gemmill' AND "directed_by"='Ray Austin';
```
## Task
Generate a SQL query to answer the following question:
`what is the name of the episode whose number of the series episode was 31?`

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

CREATE TABLE "table1_228973_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name of the episode whose number of the series episode was 31?`:
```sql
                SELECT "title" FROM "table1_228973_3" WHERE "no_in_series"=31;
```
## Task
Generate a SQL query to answer the following question:
`When 129 is the number in the series who is the writer?`

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

CREATE TABLE "table1_228973_7" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 129 is the number in the series who is the writer?`:
```sql
                SELECT "written_by" FROM "table1_228973_7" WHERE "no_in_series"=129;
```
## Task
Generate a SQL query to answer the following question:
`When "past tense" is the title who is the writer?`

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

CREATE TABLE "table1_228973_7" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When "past tense" is the title who is the writer?`:
```sql
                SELECT "written_by" FROM "table1_228973_7" WHERE "title"='\"Past Tense\"';
```
## Task
Generate a SQL query to answer the following question:
`How manu original airdates have "a cellar full of silence" as the title?`

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

CREATE TABLE "table1_2289806_1" (
  "episode_num" real,
  "prod_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How manu original airdates have "a cellar full of silence" as the title?`:
```sql
                SELECT COUNT("originalairdate") FROM "table1_2289806_1" WHERE "title"='\"A Cellar Full of Silence\"';
```
## Task
Generate a SQL query to answer the following question:
`How many product # have episode 1?`

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

CREATE TABLE "table1_2289806_1" (
  "episode_num" real,
  "prod_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many product # have episode 1?`:
```sql
                SELECT MAX("prod_num") FROM "table1_2289806_1" WHERE "episode_num"=1;
```