output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "location_attendance" FROM "game_log" WHERE "team"='San Antonio'; |
## Task
Generate a SQL query to answer the following question:
`What was location and attendance for the game where the Celtics played San Antonio? `
### 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 location and attendance for the game where the Celtics played San Antonio? `:
```sql
|
SELECT "score" FROM "regular_season" WHERE "team"='Denver'; |
## Task
Generate a SQL query to answer the following question:
`Name the score for denver`
### 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 denver`:
```sql
|
SELECT "high_points" FROM "regular_season" WHERE "date"='April 8'; |
## Task
Generate a SQL query to answer the following question:
`Name the high points for april 8`
### 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 points for april 8`:
```sql
|
SELECT "location_attendance" FROM "regular_season" WHERE "team"='Charlotte'; |
## Task
Generate a SQL query to answer the following question:
`what was the location for charlotte?`
### 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 location for charlotte?`:
```sql
|
SELECT "high_points" FROM "regular_season" WHERE "date"='March 27'; |
## Task
Generate a SQL query to answer the following question:
`who had high points on march 27?`
### 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 had high points on march 27?`:
```sql
|
SELECT MIN("game") FROM "playoffs"; |
## Task
Generate a SQL query to answer the following question:
`What number was the first game?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "playoffs" (
"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 `What number was the first game?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "score"='W 101β93 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Name the record for w 101β93 (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 w 101β93 (ot)`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "game"=81; |
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for 81 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,
"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 81 game`:
```sql
|
SELECT "score" FROM "game_log" WHERE "team"='Indiana'; |
## Task
Generate a SQL query to answer the following question:
`Name the score for indiana`
### 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 indiana`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "team"='Dallas'; |
## Task
Generate a SQL query to answer the following question:
`What was the location and attendance of the game against Dallas?`
### 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 attendance of the game against Dallas?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "record"='14β7'; |
## Task
Generate a SQL query to answer the following question:
`Who had the high rebounds when the record was 14β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 `Who had the high rebounds when the record was 14β7?`:
```sql
|
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "game"=30; |
## Task
Generate a SQL query to answer the following question:
`How many people are listed for high rebounds on game 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,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people are listed for high rebounds on game 30?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "high_points"='Chris Paul (16)'; |
## Task
Generate a SQL query to answer the following question:
`What was the record when chris paul (16) had the 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 was the record when chris paul (16) had the high points?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "score"='L 84β96 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`What is the record when the score was l 84β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,
"record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record when the score was l 84β96 (ot)?`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "record"='16β11'; |
## Task
Generate a SQL query to answer the following question:
`Where was the game played when the record was 16β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,
"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 the game played when the record was 16β11?`:
```sql
|
SELECT "score" FROM "game_log" WHERE "team"='Miami'; |
## Task
Generate a SQL query to answer the following question:
`Name the score for miami`
### 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 miami`:
```sql
|
SELECT "high_assists" FROM "game_log" WHERE "score"='W 107β99 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Name the high assists for w 107β99 (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 high assists for w 107β99 (ot)`:
```sql
|
SELECT "ikavian" FROM "division_by_reflex" WHERE "ijekavian_development"='Δl β io'; |
## Task
Generate a SQL query to answer the following question:
`What's the Ikavian translation of the Ijekavian word with Δl β io Ijekavian development?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Ikavian translation of the Ijekavian word with Δl β io Ijekavian development?`:
```sql
|
SELECT "english" FROM "division_by_reflex" WHERE "ijekavian_development"='pr + long Δ β prije'; |
## Task
Generate a SQL query to answer the following question:
`What's the English translation of the Ijekavian word with pr + long Δ β prije Ijekavian development?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the English translation of the Ijekavian word with pr + long Δ β prije Ijekavian development?`:
```sql
|
SELECT "predecessor" FROM "division_by_reflex" WHERE "ekavian"='vreme'; |
## Task
Generate a SQL query to answer the following question:
`What's the predecessor of the Ekavian word vreme?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the predecessor of the Ekavian word vreme?`:
```sql
|
SELECT "ikavian" FROM "division_by_reflex" WHERE "ijekavian"='lijep'; |
## Task
Generate a SQL query to answer the following question:
`What's the Ikavian translation of the Ijekavian word lijep?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Ikavian translation of the Ijekavian word lijep?`:
```sql
|
SELECT "ijekavian" FROM "division_by_reflex" WHERE "ikavian"='grijati'; |
## Task
Generate a SQL query to answer the following question:
`What's the ijekavian translation of the ikavian word grijati?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the ijekavian translation of the ikavian word grijati?`:
```sql
|
SELECT COUNT("high_assists") FROM "game_log" WHERE "date"='December 21'; |
## Task
Generate a SQL query to answer the following question:
`Who had highest assists at game on December 21?`
### 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 had highest assists at game on December 21?`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "team"='Milwaukee'; |
## Task
Generate a SQL query to answer the following question:
`What location did the Mavericks play against Milwaukee?`
### 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 did the Mavericks play against Milwaukee?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "date"='June 9'; |
## Task
Generate a SQL query to answer the following question:
`What is the high rebound for June 9?`
### 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 `What is the high rebound for June 9?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "game"=5; |
## Task
Generate a SQL query to answer the following question:
`Who is the high rebound where game is 5?`
### 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 is the high rebound where game is 5?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "date"='April 1'; |
## Task
Generate a SQL query to answer the following question:
`What company plays on april 1?`
### 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 company plays on april 1?`:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "score"='L 110β112 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Name the high points for l 110β112 (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 high points for l 110β112 (ot)`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "score"='L 105β123 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for l 105β123 (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 105β123 (ot)`:
```sql
|
SELECT "date" FROM "game_log" WHERE "game"=29; |
## Task
Generate a SQL query to answer the following question:
`what date was 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 date was game 29?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "date"='January 9'; |
## Task
Generate a SQL query to answer the following question:
`Who did the team play on january 9?`
### 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 team play on january 9?`:
```sql
|
SELECT "high_assists" FROM "game_log" WHERE "game"=75; |
## Task
Generate a SQL query to answer the following question:
`Who had the highest assists in game 75?`
### 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 had the highest assists in game 75?`:
```sql
|
SELECT COUNT("location_attendance") FROM "game_log" WHERE "date"='April 8'; |
## Task
Generate a SQL query to answer the following question:
`How many locations did the game that was on April 8 take place at?`
### 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 locations did the game that was on April 8 take place at?`:
```sql
|
SELECT COUNT("record") FROM "game_log" WHERE "date"='October 6'; |
## Task
Generate a SQL query to answer the following question:
`what is the overall number of times when the calendar showed october 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,
"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 overall number of times when the calendar showed october 6`:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "date"='October 20'; |
## Task
Generate a SQL query to answer the following question:
`what is the most number where the calendar shows october 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 is the most number where the calendar shows october 20`:
```sql
|
SELECT "date" FROM "game_log" WHERE "game"=5; |
## Task
Generate a SQL query to answer the following question:
`what are the times where the play is 5`
### 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 are the times where the play is 5`:
```sql
|
SELECT "score" FROM "game_log" WHERE "date"='November 21'; |
## Task
Generate a SQL query to answer the following question:
`What was the score in the game on November 21? `
### 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 in the game on November 21? `:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "game"=11; |
## Task
Generate a SQL query to answer the following question:
`Who had the most points and how many did they have in game 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,
"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 had the most points and how many did they have in game 11?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "game"=29; |
## Task
Generate a SQL query to answer the following question:
`List records for 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 `List records for game 29.`:
```sql
|
SELECT "record" FROM "game_log" WHERE "high_points"='C. J. Miles (20)'; |
## Task
Generate a SQL query to answer the following question:
`What record has c. j. miles (20) in the 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 record has c. j. miles (20) in the high points?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "location_attendance"='Honda Center 15,625'; |
## Task
Generate a SQL query to answer the following question:
`Who in the high rebounds is in the honda center 15,625 location attendance?`
### 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 in the high rebounds is in the honda center 15,625 location attendance?`:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "team"='@ L.A. Clippers'; |
## Task
Generate a SQL query to answer the following question:
`Who is in the high points in the @ l.a. clippers team?`
### 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 is in the high points in the @ l.a. clippers team?`:
```sql
|
SELECT COUNT("score") FROM "game_log" WHERE "high_points"='Al Jefferson (24)'; |
## Task
Generate a SQL query to answer the following question:
`What's the score in al jefferson (24) 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 score in al jefferson (24) high points?`:
```sql
|
SELECT "score" FROM "game_log" WHERE "date"='October 7'; |
## Task
Generate a SQL query to answer the following question:
`What`s the score in October 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 `What`s the score in October 7.`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "team"='@ Portland'; |
## Task
Generate a SQL query to answer the following question:
`What's the location attendance of the @ portland team?`
### 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 location attendance of the @ portland team?`:
```sql
|
SELECT "high_assists" FROM "game_log" WHERE "date"='January 8'; |
## Task
Generate a SQL query to answer the following question:
`Who had the high assist total on january 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 `Who had the high assist total on january 8?`:
```sql
|
SELECT "high_assists" FROM "game_log" WHERE "game"=38; |
## Task
Generate a SQL query to answer the following question:
`Who had the high assists for game number 38?`
### 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 had the high assists for game number 38?`:
```sql
|
SELECT COUNT("high_points") FROM "game_log" WHERE "date"='January 7'; |
## Task
Generate a SQL query to answer the following question:
`How many games did they play on january 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 games did they play on january 7?`:
```sql
|
SELECT "date" FROM "game_log" WHERE "team"='Boston'; |
## Task
Generate a SQL query to answer the following question:
`What date did the Hawks play against Boston?`
### 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 did the Hawks play against Boston?`:
```sql
|
SELECT COUNT("high_assists") FROM "game_log" WHERE "high_rebounds"='Zaza Pachulia (6)'; |
## Task
Generate a SQL query to answer the following question:
`List the highest number of assists when zaza pachulia (6) had the most rebounds. `
### 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 `List the highest number of assists when zaza pachulia (6) had the most rebounds. `:
```sql
|
SELECT "team" FROM "game_log" WHERE "date"='October 21'; |
## Task
Generate a SQL query to answer the following question:
`Which team was the opponent on october 21?`
### 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 `Which team was the opponent on october 21?`:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "score"='L 85β94 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`Who corned the most points for the game that ended with a score of l 85β94 (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 `Who corned the most points for the game that ended with a score of l 85β94 (ot)?`:
```sql
|
SELECT "score" FROM "game_log" WHERE "high_points"='Josh Powell (13)'; |
## Task
Generate a SQL query to answer the following question:
`what was the final score of the game where josh powell (13) scored 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 `what was the final score of the game where josh powell (13) scored the most points?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "team"='@ Miami'; |
## Task
Generate a SQL query to answer the following question:
`What's the record of the @ miami team?`
### 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 @ miami team?`:
```sql
|
SELECT COUNT("record") FROM "game_log" WHERE "date"='January 2'; |
## Task
Generate a SQL query to answer the following question:
`How many records where in January 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 `How many records where in January 2?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Jamal Crawford (20)'; |
## Task
Generate a SQL query to answer the following question:
`What are the high rebounds in the jamal crawford (20) 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 are the high rebounds in the jamal crawford (20) high points?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "game"=45; |
## Task
Generate a SQL query to answer the following question:
`What are the high rebounds in the 45 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,
"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 are the high rebounds in the 45 game?`:
```sql
|
SELECT "date" FROM "game_log" WHERE "team"='New Orleans'; |
## Task
Generate a SQL query to answer the following question:
`What's the date of the new orleans team ?`
### 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 date of the new orleans team ?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "score"='W 110β87 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`What team has a score of w 110β87 (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 `What team has a score of w 110β87 (ot)?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "high_rebounds"='Marcus Camby (13)'; |
## Task
Generate a SQL query to answer the following question:
`What was the game record if Marcus Camby (13) got the high rebounds?`
### 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 game record if Marcus Camby (13) got the high rebounds?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "team"='Minnesota'; |
## Task
Generate a SQL query to answer the following question:
`Who did the high rebounds for the team 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 `Who did the high rebounds for the team Minnesota?`:
```sql
|
SELECT COUNT("score") FROM "game_log" WHERE "date"='January 19'; |
## Task
Generate a SQL query to answer the following question:
`How many scores where achieved on January 19?`
### 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 scores where achieved on January 19?`:
```sql
|
SELECT "lmp2_winning_driver" FROM "table1_27743641_2" WHERE "lmp1_winning_team"='No. 20 Oryx Dyson Racing'; |
## Task
Generate a SQL query to answer the following question:
`Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27743641_2" (
"season" real,
"lmp1_winning_team" text,
"lmp2_winning_driver" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?`:
```sql
|
SELECT "gt_winning_team" FROM "table1_27743641_2" WHERE "gtc_winning_team"='No. 54 Black Swan Racing'; |
## Task
Generate a SQL query to answer the following question:
`Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27743641_2" (
"season" real,
"lmp1_winning_team" text,
"lmp2_winning_driver" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?`:
```sql
|
SELECT "gt_winning_team" FROM "table1_27743641_2" WHERE "results"='Report'; |
## Task
Generate a SQL query to answer the following question:
`Who were the GT winning team when the results were "report"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27743641_2" (
"season" real,
"lmp1_winning_team" text,
"lmp2_winning_driver" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the GT winning team when the results were "report"?`:
```sql
|
SELECT "date" FROM "game_log" WHERE "high_assists"='Andre Miller (7)'; |
## Task
Generate a SQL query to answer the following question:
`what is the date the high assists was andre miller (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 `what is the date the high assists was andre miller (7)?`:
```sql
|
SELECT "date" FROM "game_log" WHERE "high_points"='LaMarcus Aldridge (36)'; |
## Task
Generate a SQL query to answer the following question:
`What is the date the high points was lamarcus aldridge (36)?`
### 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 date the high points was lamarcus aldridge (36)?`:
```sql
|
SELECT "score" FROM "game_log" WHERE "team"='Milwaukee'; |
## Task
Generate a SQL query to answer the following question:
`What is the score when the team is milwaukee?`
### 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 score when the team is milwaukee?`:
```sql
|
SELECT COUNT("date") FROM "game_log" WHERE "high_assists"='Andre Miller (7)'; |
## Task
Generate a SQL query to answer the following question:
`How many times was the high assists andre miller (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 times was the high assists andre miller (7)?`:
```sql
|
SELECT COUNT("date") FROM "game_log" WHERE "high_rebounds"='Marcus Camby (18)'; |
## Task
Generate a SQL query to answer the following question:
`How many times was the high rebounds by marcus camby (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 `How many times was the high rebounds by marcus camby (18)?`:
```sql
|
SELECT "date" FROM "game_log" WHERE "high_rebounds"='LaMarcus Aldridge (6)'; |
## Task
Generate a SQL query to answer the following question:
`What is the date the high rebounds were by lamarcus aldridge (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,
"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 date the high rebounds were by lamarcus aldridge (6)?`:
```sql
|
SELECT "high_assists" FROM "game_log" WHERE "game"=35; |
## Task
Generate a SQL query to answer the following question:
`Who had the most assists and how many did they have in game 35?`
### 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 had the most assists and how many did they have in game 35?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "date"='January 19'; |
## Task
Generate a SQL query to answer the following question:
`Who had the most rebounds and how many did they have on January 19? `
### 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 had the most rebounds and how many did they have on January 19? `:
```sql
|
SELECT "team" FROM "game_log" WHERE "date"='April 9'; |
## Task
Generate a SQL query to answer the following question:
`Which team played on April 9?`
### 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 `Which team played on April 9?`:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "date"='November 6'; |
## Task
Generate a SQL query to answer the following question:
`Which player scored the most points and how many were scored on November 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,
"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 `Which player scored the most points and how many were scored on November 6?`:
```sql
|
SELECT "high_assists" FROM "game_log" WHERE "date"='November 17'; |
## Task
Generate a SQL query to answer the following question:
`Who had the high assists on November 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,
"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 had the high assists on November 17?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "date"='March 12'; |
## Task
Generate a SQL query to answer the following question:
`Who had highest rebounds during game on March 12?`
### 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 had highest rebounds during game on March 12?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "team"='Indiana'; |
## Task
Generate a SQL query to answer the following question:
`What was the rocket's record when they played against Indiana?`
### 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 rocket's record when they played against Indiana?`:
```sql
|
SELECT COUNT("directed_by") FROM "table1_27755040_1" WHERE "title"='\"The One with Rachel''s Dream\"'; |
## Task
Generate a SQL query to answer the following question:
`How many people directed "the one with rachel's dream"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27755040_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people directed "the one with rachel's dream"?`:
```sql
|
SELECT COUNT("no_in_season") FROM "table1_27755040_1" WHERE "production_code"=175255; |
## Task
Generate a SQL query to answer the following question:
`How many episodes in the season had production code of 175255?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27755040_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes in the season had production code of 175255?`:
```sql
|
SELECT MAX("no_in_series") FROM "table1_27755040_1" WHERE "title"='\"The One with the Blind Dates\"'; |
## Task
Generate a SQL query to answer the following question:
`What episode number in the series is "the one with the blind dates"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_27755040_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series is "the one with the blind dates"?`:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "date"='March 25'; |
## Task
Generate a SQL query to answer the following question:
`What were the high points on March 25?`
### 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 points on March 25?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "date"='March 18'; |
## Task
Generate a SQL query to answer the following question:
`Who was the team on March 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 was the team on March 18?`:
```sql
|
SELECT "high_points" FROM "game_log" WHERE "team"='Washington'; |
## Task
Generate a SQL query to answer the following question:
`What was the high points when the team was Washington?`
### 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 the team was Washington?`:
```sql
|
SELECT MIN("game") FROM "game_log" WHERE "location_attendance"='The Palace of Auburn Hills 15,166'; |
## Task
Generate a SQL query to answer the following question:
`What was the game number when the location attendance was the Palace of Auburn Hills 15,166?`
### 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 game number when the location attendance was the Palace of Auburn Hills 15,166?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "date"='April 6'; |
## Task
Generate a SQL query to answer the following question:
`What team did they play on april 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,
"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 team did they play on april 6?`:
```sql
|
SELECT MAX("game") FROM "game_log" WHERE "date"='April 5'; |
## Task
Generate a SQL query to answer the following question:
`What numbered game did they play on april 5?`
### 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 numbered game did they play on april 5?`:
```sql
|
SELECT "game" FROM "game_log" WHERE "team"='Chicago'; |
## Task
Generate a SQL query to answer the following question:
`What numbered game did they play chicago?`
### 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 numbered game did they play chicago?`:
```sql
|
SELECT "high_assists" FROM "game_log" WHERE "team"='New Orleans'; |
## Task
Generate a SQL query to answer the following question:
`Who had the most assists agains New Orleans?`
### 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 had the most assists agains New Orleans?`:
```sql
|
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='December 19'; |
## Task
Generate a SQL query to answer the following question:
`For how many games on December 19 is there information on who scored the most rebounds?`
### 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 `For how many games on December 19 is there information on who scored the most rebounds?`:
```sql
|
SELECT "record" FROM "game_log" WHERE "high_rebounds"='Greg Monroe (8)'; |
## Task
Generate a SQL query to answer the following question:
`What's the record in the game where Greg Monroe (8) did the high rebounds?`
### 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 in the game where Greg Monroe (8) did the high rebounds?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Rodney Stuckey (16)'; |
## Task
Generate a SQL query to answer the following question:
`Who did the high rebounds in the game in which Rodney Stuckey (16) did the 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 `Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "high_points"='Austin Daye (16)'; |
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in the game in which Austin Daye (16) 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 `Who was the opponent in the game in which Austin Daye (16) did the most high points?`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='Will Bynum (5)'; |
## Task
Generate a SQL query to answer the following question:
`Where was the game in which Will Bynum (5) did the high assists 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 `Where was the game in which Will Bynum (5) did the high assists played?`:
```sql
|
SELECT "team" FROM "game_log" WHERE "high_assists"='Stephen Curry (7)' AND "high_points"='Monta Ellis (27)'; |
## Task
Generate a SQL query to answer the following question:
`What is the team when the high assists was stephen curry (7) and the high points was monta ellis (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 team when the high assists was stephen curry (7) and the high points was monta ellis (27)?`:
```sql
|
SELECT MAX("game") FROM "game_log"; |
## Task
Generate a SQL query to answer the following question:
`What is the highest game number?`
### 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?`:
```sql
|
SELECT "score" FROM "game_log" WHERE "team"='@ Dallas'; |
## Task
Generate a SQL query to answer the following question:
`What is the score when the team is @ dallas?`
### 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 score when the team is @ dallas?`:
```sql
|
SELECT "high_rebounds" FROM "game_log" WHERE "date"='January 14'; |
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for january 14`
### 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 january 14`:
```sql
|
SELECT COUNT("score") FROM "game_log" WHERE "date"='January 12'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of score for january 12`
### 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 score for january 12`:
```sql
|
SELECT "location_attendance" FROM "game_log" WHERE "high_points"='Austin Daye , Tracy McGrady , Tayshaun Prince (20)'; |
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for austin daye , tracy mcgrady , tayshaun prince (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 `Name the location attendance for austin daye , tracy mcgrady , tayshaun prince (20)`:
```sql
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.