output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT COUNT("record") FROM "game_log" WHERE "high_assists"='Devin Harris (6)';
## Task Generate a SQL query to answer the following question: `How many record data were written when Devin Harris (6) was 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 `How many record data were written when Devin Harris (6) was High Assists?`: ```sql
SELECT COUNT("game") FROM "game_log" WHERE "date"='January 5';
## Task Generate a SQL query to answer the following question: `How many games were held on January 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 `How many games were held on January 5?`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "team"='Houston';
## Task Generate a SQL query to answer the following question: `Who had highest assists at the game against Houston?` ### 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 the game against Houston?`: ```sql
SELECT "date" FROM "game_log" WHERE "game"=23;
## Task Generate a SQL query to answer the following question: `what is the date of the game 23?` ### 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 of the game 23?`: ```sql
SELECT "team" FROM "game_log" WHERE "high_points"='Anthony Morrow (24)';
## Task Generate a SQL query to answer the following question: `If the high points were by Anthony Morrow (24), what was the 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 `If the high points were by Anthony Morrow (24), what was the team?`: ```sql
SELECT COUNT("game") FROM "game_log" WHERE "high_rebounds"='Derrick Favors (8)';
## Task Generate a SQL query to answer the following question: `In how many games were the high rebounds made by Derrick Favors (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 `In how many games were the high rebounds made by Derrick Favors (8)?`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "location_attendance"='Quicken Loans Arena 20,562';
## Task Generate a SQL query to answer the following question: `If the location attendance was Quicken Loans Arena 20,562, who had 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 `If the location attendance was Quicken Loans Arena 20,562, who had the High Assists?`: ```sql
SELECT MIN("game") FROM "game_log" WHERE "location_attendance"='Prudential Center 15,086';
## Task Generate a SQL query to answer the following question: `Which game number was located in Prudential Center 15,086?` ### 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 game number was located in Prudential Center 15,086?`: ```sql
SELECT COUNT("score") FROM "game_log" WHERE "high_assists"='Terrence Williams (9)';
## Task Generate a SQL query to answer the following question: `In how many games did Terrence Williams (9) have 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 `In how many games did Terrence Williams (9) have High assists?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='Gilbert Arenas (9)';
## Task Generate a SQL query to answer the following question: `What is the location and attendance of the game when gilbert arenas (9) had 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 `What is the location and attendance of the game when gilbert arenas (9) had the high assists?`: ```sql
SELECT "date" FROM "game_log" WHERE "record"='18–12';
## Task Generate a SQL query to answer the following question: `What is the date where the record was 18–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 `What is the date where the record was 18–12?`: ```sql
SELECT "date" FROM "game_log" WHERE "high_assists"='Jameer Nelson (10)';
## Task Generate a SQL query to answer the following question: `What is the date when jameer nelson (10) had 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 `What is the date when jameer nelson (10) had the high assists?`: ```sql
SELECT "record" FROM "game_log" WHERE "high_points"='Jameer Nelson (19)';
## Task Generate a SQL query to answer the following question: `What is the record when jameer nelson (19) 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 is the record when jameer nelson (19) had the high points?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "date"='March 9';
## Task Generate a SQL query to answer the following question: `What was the location and attendance on March 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 `What was the location and attendance on March 9?`: ```sql
SELECT COUNT("team") FROM "game_log" WHERE "game"=13;
## Task Generate a SQL query to answer the following question: `How many games were numbered 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 `How many games were numbered 13?`: ```sql
SELECT "record" FROM "game_log" WHERE "team"='Minnesota';
## Task Generate a SQL query to answer the following question: `What was the team's record when they played 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 was the team's record when they played minnesota?`: ```sql
SELECT "record" FROM "game_log" WHERE "date"='November 10';
## Task Generate a SQL query to answer the following question: `What was the team's record on november 10?` ### 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 team's record on november 10?`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "date"='March 26';
## Task Generate a SQL query to answer the following question: `Who had the high assists on March 26?` ### 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 March 26?`: ```sql
SELECT "record" FROM "game_log" WHERE "team"='Milwaukee';
## Task Generate a SQL query to answer the following question: `What was the season record when the team played 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 was the season record when the team played against Milwaukee?`: ```sql
SELECT "high_points" FROM "game_log" WHERE "game"=81;
## Task Generate a SQL query to answer the following question: `Who had the high points in game is 81?` ### 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 points in game is 81?`: ```sql
SELECT MIN("game") FROM "game_log" WHERE "date"='April 8';
## Task Generate a SQL query to answer the following question: `What game number was played on april 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 game number was played on april 8?`: ```sql
SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 8';
## Task Generate a SQL query to answer the following question: `Who had the high rebounds on april 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 rebounds on april 8?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "game"=75;
## Task Generate a SQL query to answer the following question: `Where did they play and how many attended game number 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 `Where did they play and how many attended game number 75?`: ```sql
SELECT "high_rebounds" FROM "game_log" WHERE "team"='Boston';
## Task Generate a SQL query to answer the following question: `Who did the high rebounds in the game 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 `Who did the high rebounds in the game against Boston?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "team"='Detroit';
## Task Generate a SQL query to answer the following question: `Where was the game against Detroit 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 against Detroit played?`: ```sql
SELECT "date" FROM "game_log" WHERE "game"=3;
## Task Generate a SQL query to answer the following question: `What was the date of game #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 `What was the date of game #3?`: ```sql
SELECT "team" FROM "game_log" WHERE "date"='May 6';
## Task Generate a SQL query to answer the following question: `What was the name of the opposing team on the May 6 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, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the name of the opposing team on the May 6 game?`: ```sql
SELECT COUNT("2010_11") FROM "world_sugar_consumption_1000_metric_tons" WHERE "country"='Brazil';
## Task Generate a SQL query to answer the following question: `How many data were given on 2010/2011 in Brazil?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "world_sugar_consumption_1000_metric_tons" ( "country" text, "2007_08" real, "2008_09" real, "2009_10" real, "2010_11" real, "2011_12" real, "2012_13" real ); ### SQL Given the database schema, here is the SQL query that answers `How many data were given on 2010/2011 in Brazil?`: ```sql
SELECT MAX("overall_goals_scored") FROM "stadiums" WHERE "stadium"='Moses Mabhida Stadium';
## Task Generate a SQL query to answer the following question: `how many overall goals were scored at moses mabhida stadium?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stadiums" ( "stadium" text, "city" text, "capacity" real, "matches_played" real, "overall_attendance" real, "average_attendance_per_match" real, "average_attendance_as_pct_of_capacity" text, "overall_goals_scored" real, "average_goals_scored_per_match" text, "elevation" text ); ### SQL Given the database schema, here is the SQL query that answers `how many overall goals were scored at moses mabhida stadium?`: ```sql
SELECT COUNT("matches_played") FROM "stadiums" WHERE "average_goals_scored_per_match"='1.25';
## Task Generate a SQL query to answer the following question: `how many matches were played that average goals scored 1.25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stadiums" ( "stadium" text, "city" text, "capacity" real, "matches_played" real, "overall_attendance" real, "average_attendance_per_match" real, "average_attendance_as_pct_of_capacity" text, "overall_goals_scored" real, "average_goals_scored_per_match" text, "elevation" text ); ### SQL Given the database schema, here is the SQL query that answers `how many matches were played that average goals scored 1.25?`: ```sql
SELECT MIN("overall_attendance") FROM "stadiums" WHERE "overall_goals_scored"=19;
## Task Generate a SQL query to answer the following question: `what is the minimum overall attendance where the goals scored were 19?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stadiums" ( "stadium" text, "city" text, "capacity" real, "matches_played" real, "overall_attendance" real, "average_attendance_per_match" real, "average_attendance_as_pct_of_capacity" text, "overall_goals_scored" real, "average_goals_scored_per_match" text, "elevation" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the minimum overall attendance where the goals scored were 19?`: ```sql
SELECT "elevation" FROM "stadiums" WHERE "city"='Port Elizabeth';
## Task Generate a SQL query to answer the following question: `what is the elevation for port elizabeth?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stadiums" ( "stadium" text, "city" text, "capacity" real, "matches_played" real, "overall_attendance" real, "average_attendance_per_match" real, "average_attendance_as_pct_of_capacity" text, "overall_goals_scored" real, "average_goals_scored_per_match" text, "elevation" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the elevation for port elizabeth?`: ```sql
SELECT "average_attendance_per_match" FROM "stadiums" WHERE "elevation"='1500 m';
## Task Generate a SQL query to answer the following question: `what is the average attendance per match wheree the elevation is 1500 m?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stadiums" ( "stadium" text, "city" text, "capacity" real, "matches_played" real, "overall_attendance" real, "average_attendance_per_match" real, "average_attendance_as_pct_of_capacity" text, "overall_goals_scored" real, "average_goals_scored_per_match" text, "elevation" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the average attendance per match wheree the elevation is 1500 m?`: ```sql
SELECT "record" FROM "game_log" WHERE "date"='November 19';
## Task Generate a SQL query to answer the following question: `What is the record for the date november 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 `What is the record for the date november 19?`: ```sql
SELECT "high_points" FROM "game_log" WHERE "score"='W 90–77 (OT)';
## Task Generate a SQL query to answer the following question: `Name the high points for w 90–77 (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 w 90–77 (ot)`: ```sql
SELECT "team" FROM "game_log" WHERE "date"='December 18';
## Task Generate a SQL query to answer the following question: `Name the team for 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 `Name the team for december 18`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "team"='Detroit';
## Task Generate a SQL query to answer the following question: `Who had the high assists against detroit?` ### 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 against detroit?`: ```sql
SELECT "team" FROM "game_log" WHERE "date"='March 27';
## Task Generate a SQL query to answer the following question: `Who was the other team on march 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 `Who was the other team on march 27?`: ```sql
SELECT MIN("game") FROM "game_log" WHERE "record"='46–24';
## Task Generate a SQL query to answer the following question: `what was the game number where the record was 46–24?` ### 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 where the record was 46–24?`: ```sql
SELECT MIN("game") FROM "game_log" WHERE "date"='March 27';
## Task Generate a SQL query to answer the following question: `What was the game number on march 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 was the game number on march 27?`: ```sql
SELECT MAX("game") FROM "game_log";
## Task Generate a SQL query to answer the following question: `What is the largest 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 largest game number?`: ```sql
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='December 8';
## Task Generate a SQL query to answer the following question: `How many high rebounds took place on December 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 `How many high rebounds took place on December 8?`: ```sql
SELECT "high_points" FROM "game_log" WHERE "date"='December 10';
## Task Generate a SQL query to answer the following question: `What are December 10's 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 December 10's high points?`: ```sql
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "location_attendance"='Philips Arena 20,024';
## Task Generate a SQL query to answer the following question: `How many entries are shown for high rebounds for the philips arena 20,024 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 `How many entries are shown for high rebounds for the philips arena 20,024 game?`: ```sql
SELECT "team" FROM "game_log" WHERE "score"='W 94–88 (OT)';
## Task Generate a SQL query to answer the following question: `Who was the opponent for the game with a score of w 94–88 (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 was the opponent for the game with a score of w 94–88 (ot)?`: ```sql
SELECT "record" FROM "game_log" WHERE "location_attendance"='American Airlines Arena 19,825';
## Task Generate a SQL query to answer the following question: `What was the record for the location and attendance of american airlines arena 19,825?` ### 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 for the location and attendance of american airlines arena 19,825?`: ```sql
SELECT "high_points" FROM "game_log" WHERE "date"='April 8';
## Task Generate a SQL query to answer the following question: `What were the high points on April 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 were the high points on April 8?`: ```sql
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "game"=80;
## Task Generate a SQL query to answer the following question: `How many different items appear in the high rebounds column in game 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 `How many different items appear in the high rebounds column in game 80?`: ```sql
SELECT "date" FROM "game_log" WHERE "team"='Boston';
## Task Generate a SQL query to answer the following question: `What was the date when Boston was the 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 was the date when Boston was the team?`: ```sql
SELECT MAX("game") FROM "game_log" WHERE "date"='October 13';
## Task Generate a SQL query to answer the following question: `Which game was played on October 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 `Which game was played on October 13?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "date"='October 18';
## Task Generate a SQL query to answer the following question: `What is the location and attendance on October 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 is the location and attendance on October 18?`: ```sql
SELECT "team" FROM "game_log" WHERE "game"=6;
## Task Generate a SQL query to answer the following question: `Who was the opposing team in game 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 `Who was the opposing team in game 6?`: ```sql
SELECT MIN("game") FROM "game_log";
## Task Generate a SQL query to answer the following question: `What game in the season does this list start?` ### 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 game in the season does this list start?`: ```sql
SELECT "score" FROM "game_log" WHERE "team"='Detroit';
## Task Generate a SQL query to answer the following question: `What was the team's score against detroit?` ### 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 team's score against detroit?`: ```sql
SELECT COUNT("game") FROM "game_log" WHERE "date"='March 12';
## Task Generate a SQL query to answer the following question: `How many games were held 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 `How many games were held on March 12?`: ```sql
SELECT "score" FROM "game_log" WHERE "high_rebounds"='Tim Duncan (12)';
## Task Generate a SQL query to answer the following question: `What was the team score when Tim Duncan (12) 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 team score when Tim Duncan (12) got the high rebounds?`: ```sql
SELECT "high_rebounds" FROM "game_log" WHERE "game"=1;
## Task Generate a SQL query to answer the following question: `Who was the high rebounder on game 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, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the high rebounder on game 1?`: ```sql
SELECT "score" FROM "game_log" WHERE "series"='2–3';
## Task Generate a SQL query to answer the following question: `What was the score for series 2–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 `What was the score for series 2–3?`: ```sql
SELECT "directed_by" FROM "table1_27714573_1" WHERE "u_s_viewers_millions"='20.5';
## Task Generate a SQL query to answer the following question: `who are the directors of the episode that had 20.5 millions of north american viewers? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714573_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `who are the directors of the episode that had 20.5 millions of north american viewers? `: ```sql
SELECT "u_s_viewers_millions" FROM "table1_27714573_1" WHERE "directed_by"='Michael Lembeck';
## Task Generate a SQL query to answer the following question: `how many millions of north american viewers had the episode whose director was Michael Lembeck? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714573_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `how many millions of north american viewers had the episode whose director was Michael Lembeck? `: ```sql
SELECT "written_by" FROM "table1_27714573_1" WHERE "production_code_s"=225560;
## Task Generate a SQL query to answer the following question: `who are the writers of the episode whose production code(s) is 225560? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714573_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `who are the writers of the episode whose production code(s) is 225560? `: ```sql
SELECT "written_by" FROM "table1_27714573_1" WHERE "title"='\"The One on the Last Night\"';
## Task Generate a SQL query to answer the following question: `who are the writers of the episode called "The one on the last night"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714573_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `who are the writers of the episode called "The one on the last night"?`: ```sql
SELECT MAX("no_s_in_series") FROM "table1_27714985_1" WHERE "written_by"='Gregory S. Malins';
## Task Generate a SQL query to answer the following question: `What is the last episode in the series written by Gregory S. Malins?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714985_1" ( "no_s_in_series" real, "no_s_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the last episode in the series written by Gregory S. Malins?`: ```sql
SELECT "original_air_date" FROM "table1_27714985_1" WHERE "u_s_viewers_millions"='23.2';
## Task Generate a SQL query to answer the following question: `What was the broadcast date of episodes that were watched by 23.2 million viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714985_1" ( "no_s_in_series" real, "no_s_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the broadcast date of episodes that were watched by 23.2 million viewers?`: ```sql
SELECT "original_air_date" FROM "table1_27714985_1" WHERE "title"='\"The One Where Chandler Doesn''t Like Dogs\"';
## Task Generate a SQL query to answer the following question: `What is the original air date of the episode titled "The one where Chandler doesn't like dogs"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714985_1" ( "no_s_in_series" real, "no_s_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the original air date of the episode titled "The one where Chandler doesn't like dogs"?`: ```sql
SELECT MAX("production_code_s") FROM "table1_27714985_1" WHERE "written_by"='Patty Lin';
## Task Generate a SQL query to answer the following question: `What is the maximum production code of an episode written by Patty Lin?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714985_1" ( "no_s_in_series" real, "no_s_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the maximum production code of an episode written by Patty Lin?`: ```sql
SELECT MIN("no_s_in_season") FROM "table1_27714985_1" WHERE "production_code_s"=226407;
## Task Generate a SQL query to answer the following question: `What is the episode number of the episode whose production code is 226407?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27714985_1" ( "no_s_in_series" real, "no_s_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code_s" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the episode number of the episode whose production code is 226407?`: ```sql
SELECT MAX("no_in_series") FROM "table1_27713890_1" WHERE "title"='\"The One Where Everybody Finds Out\"';
## Task Generate a SQL query to answer the following question: `What episode number in the series is "the one where everybody finds out"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27713890_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What episode number in the series is "the one where everybody finds out"?`: ```sql
SELECT MIN("no_in_series") FROM "table1_27713890_1" WHERE "u_s_viewers_millions"='24.8';
## Task Generate a SQL query to answer the following question: `Wha episode number in the series had 24.8 million u.s. viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27713890_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `Wha episode number in the series had 24.8 million u.s. viewers?`: ```sql
SELECT MAX("production_code") FROM "table1_27713890_1" WHERE "u_s_viewers_millions"='24.8';
## Task Generate a SQL query to answer the following question: `What is the production code that had 24.8 million u.s. viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27713890_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the production code that had 24.8 million u.s. viewers?`: ```sql
SELECT "original_air_date" FROM "table1_27713890_1" WHERE "title"='\"The One with All the Resolutions\"';
## Task Generate a SQL query to answer the following question: `What date did "the one with all the resolutions" originally air?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27713890_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What date did "the one with all the resolutions" originally air?`: ```sql
SELECT "production_code" FROM "table1_27713890_1" WHERE "u_s_viewers_millions"='23.9';
## Task Generate a SQL query to answer the following question: `What is the production code for the episode that had 23.9 million u.s. viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27713890_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the production code for the episode that had 23.9 million u.s. viewers?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "record"='10-1';
## Task Generate a SQL query to answer the following question: `Where was the game played where the record was 10-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 `Where was the game played where the record was 10-1?`: ```sql
SELECT "score" FROM "game_log" WHERE "game"=3;
## Task Generate a SQL query to answer the following question: `What was the score for game 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, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score for game 3?`: ```sql
SELECT COUNT("record") FROM "game_log" WHERE "date"='November 24';
## Task Generate a SQL query to answer the following question: `How many records are there for the game on november 24?` ### 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 are there for the game on november 24?`: ```sql
SELECT "date" FROM "game_log" WHERE "score"='W 116–93 (OT)';
## Task Generate a SQL query to answer the following question: `What date was the game with a score of w 116–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 `What date was the game with a score of w 116–93 (ot)?`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "score"='W 107–95 (OT)';
## Task Generate a SQL query to answer the following question: `Who had the high assists when the score was w 107–95 (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 had the high assists when the score was w 107–95 (ot)?`: ```sql
SELECT "directed_by" FROM "table1_27716091_1" WHERE "production_code"=227412;
## Task Generate a SQL query to answer the following question: `who put on the show where the numbers were 227412` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27716091_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `who put on the show where the numbers were 227412`: ```sql
SELECT "directed_by" FROM "table1_27716091_1" WHERE "production_code"=227424;
## Task Generate a SQL query to answer the following question: `who put on the show where the numbers were 227424` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_27716091_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `who put on the show where the numbers were 227424`: ```sql
SELECT "high_rebounds" FROM "game_log" WHERE "team"='@ Detroit';
## Task Generate a SQL query to answer the following question: `Who was the high rebounds of team @ Detroit?` ### 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 high rebounds of team @ Detroit?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "high_rebounds"='Andray Blatche (9)';
## Task Generate a SQL query to answer the following question: `What was the location attendance when Andray Blatche (9) got 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 location attendance when Andray Blatche (9) got high rebounds?`: ```sql
SELECT "record" FROM "game_log" WHERE "date"='March 6';
## Task Generate a SQL query to answer the following question: `What was the game record on March 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "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 on March 6?`: ```sql
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Jordan Crawford (27)';
## Task Generate a SQL query to answer the following question: `Who got high rebounds when Jordan Crawford (27) got 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 got high rebounds when Jordan Crawford (27) got high points?`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "score"='W 97–94 (OT)';
## Task Generate a SQL query to answer the following question: `Who's in the high assists with a w 97–94 (ot) score?` ### 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's in the high assists with a w 97–94 (ot) score?`: ```sql
SELECT MAX("game") FROM "game_log" WHERE "high_rebounds"='JaVale McGee (5)';
## Task Generate a SQL query to answer the following question: `What's the maximum game in the javale mcgee (5) 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 maximum game in the javale mcgee (5) high rebounds?`: ```sql
SELECT COUNT("score") FROM "game_log" WHERE "high_points"='Andray Blatche (17)';
## Task Generate a SQL query to answer the following question: `What's the score in andray blatche (17) 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 andray blatche (17) high points?`: ```sql
SELECT "high_rebounds" FROM "game_log" WHERE "location_attendance"='Verizon Center 9,263';
## Task Generate a SQL query to answer the following question: `Who's in the high rebounds in the verizon center 9,263 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's in the high rebounds in the verizon center 9,263 location attendance?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "team"='Milwaukee';
## Task Generate a SQL query to answer the following question: `What's the location attendance of the milwaukee 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 milwaukee team?`: ```sql
SELECT COUNT("team") FROM "game_log" WHERE "high_assists"='John Wall (9)' AND "score"='W 97–83 (OT)';
## Task Generate a SQL query to answer the following question: `What's the team number with John Wall (9) in high assists and a w 97–83 (ot) score?` ### 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 team number with John Wall (9) in high assists and a w 97–83 (ot) score?`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "game"=78;
## Task Generate a SQL query to answer the following question: `Who had the highest assists during game 78?` ### 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 during game 78?`: ```sql
SELECT "date" FROM "game_log" WHERE "high_assists"='John Wall (11)';
## Task Generate a SQL query to answer the following question: `What is the date where john wall (11) had 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 `What is the date where john wall (11) had the high assists?`: ```sql
SELECT "team" FROM "game_log" WHERE "date"='November 25';
## Task Generate a SQL query to answer the following question: `What is the team they played on november 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 is the team they played on november 25?`: ```sql
SELECT "record" FROM "game_log" WHERE "date"='November 25';
## Task Generate a SQL query to answer the following question: `What is the record for the game on november 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 is the record for the game on november 25?`: ```sql
SELECT "team" FROM "game_log" WHERE "high_points"='Andray Blatche , JaVale McGee (20)';
## Task Generate a SQL query to answer the following question: `Which team played them when andray blatche , javale mcgee (20) 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 `Which team played them when andray blatche , javale mcgee (20) had the high points?`: ```sql
SELECT "score" FROM "game_log" WHERE "high_points"='Andray Blatche , Al Thornton (20)';
## Task Generate a SQL query to answer the following question: `What was the score when andray blatche , al thornton (20) 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 score when andray blatche , al thornton (20) had the high points?`: ```sql
SELECT COUNT("game") FROM "game_log" WHERE "team"='Houston';
## Task Generate a SQL query to answer the following question: `How many games are shown against Houston?` ### 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 are shown against Houston?`: ```sql
SELECT COUNT("team") FROM "game_log" WHERE "game"=45;
## Task Generate a SQL query to answer the following question: `How many teams listed for game 45?` ### 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 teams listed for game 45?`: ```sql
SELECT "score" FROM "game_log" WHERE "team"='Washington';
## Task Generate a SQL query to answer the following question: `What was the score when the Celtics played Washington at home?` ### 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 Celtics played Washington at home?`: ```sql
SELECT "high_assists" FROM "game_log" WHERE "date"='April 8';
## Task Generate a SQL query to answer the following question: `Who had the most assists and how many did they have on April 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 most assists and how many did they have on April 8?`: ```sql
SELECT COUNT("record") FROM "game_log" WHERE "game"=61;
## Task Generate a SQL query to answer the following question: `Name the total number of record for 61` ### 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 total number of record for 61`: ```sql