text
stringlengths 411
1.74k
|
---|
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "podiums" real, "f_laps" real, "points" text, "final_placing" text );. Question: "In what season did Pons Racing compete?". [/INST] SELECT "season" FROM "career_summary" WHERE "team_name"='Pons Racing';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "podiums" real, "f_laps" real, "points" text, "final_placing" text );. Question: "What's the f/laps count for the team with 8 podiums?". [/INST] SELECT "f_laps" FROM "career_summary" WHERE "podiums"=8;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "podiums" real, "f_laps" real, "points" text, "final_placing" text );. Question: "In what season did Pons Racing compete?". [/INST] SELECT "season" FROM "career_summary" WHERE "team_name"='Pons Racing';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "stage" real, "start_of_stage" text, "distance_km" text, "category_of_climb" text, "stage_winner" text, "nationality" text, "yellow_jersey" text, "bend" real );. Question: "What is the lowest stage when the yellow jersey is Ronan Pensec?". [/INST] SELECT MIN("stage") FROM "winners" WHERE "yellow_jersey"='Ronan Pensec';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "stage" real, "start_of_stage" text, "distance_km" text, "category_of_climb" text, "stage_winner" text, "nationality" text, "yellow_jersey" text, "bend" real );. Question: "How many bends occur when the yellow jersey is Lance Armstrong and stage winner is Lance Armstrong?". [/INST] SELECT COUNT("bend") FROM "winners" WHERE "yellow_jersey"='Lance Armstrong' AND "stage_winner"='Lance Armstrong';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "stage" real, "start_of_stage" text, "distance_km" text, "category_of_climb" text, "stage_winner" text, "nationality" text, "yellow_jersey" text, "bend" real );. Question: "What is every yellow jersey entry for the distance 125?". [/INST] SELECT "yellow_jersey" FROM "winners" WHERE "distance_km"='125';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "stage" real, "start_of_stage" text, "distance_km" text, "category_of_climb" text, "stage_winner" text, "nationality" text, "yellow_jersey" text, "bend" real );. Question: "Who is every stage winner at the distance of 162.5?". [/INST] SELECT "stage_winner" FROM "winners" WHERE "distance_km"='162.5';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "stage" real, "start_of_stage" text, "distance_km" text, "category_of_climb" text, "stage_winner" text, "nationality" text, "yellow_jersey" text, "bend" real );. Question: "What is the lowest entry for bend when Federico Echave is the stage winner?". [/INST] SELECT MIN("bend") FROM "winners" WHERE "stage_winner"='Federico Echave';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "stage" real, "start_of_stage" text, "distance_km" text, "category_of_climb" text, "stage_winner" text, "nationality" text, "yellow_jersey" text, "bend" real );. Question: "How many entries for start of stage occur in the year 2006?". [/INST] SELECT COUNT("start_of_stage") FROM "winners" WHERE "year"='2006';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27588823_2" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "How much power does dwzf have?". [/INST] SELECT "power_k_w" FROM "table1_27588823_2" WHERE "callsign"='DWZF';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27588823_2" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "What is the branding for callsign dypv?". [/INST] SELECT "branding" FROM "table1_27588823_2" WHERE "callsign"='DYPV';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27588823_2" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "What is the branding for the station located in san jose del monte?". [/INST] SELECT "branding" FROM "table1_27588823_2" WHERE "location"='San Jose Del Monte';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27588823_2" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "How many call signs does the location masinloc, zambales have?". [/INST] SELECT COUNT("callsign") FROM "table1_27588823_2" WHERE "location"='Masinloc, Zambales';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27588823_2" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );. Question: "What is the frequency of the station located in polangui, albay?". [/INST] SELECT "frequency" FROM "table1_27588823_2" WHERE "location"='Polangui, Albay';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "leadership_classification" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classification" text );. Question: "If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification?". [/INST] SELECT "points_classification" FROM "leadership_classification" WHERE "general_classification"='Fabian Cancellara' AND "mountains_classification"='Mathias Frank';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "leadership_classification" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classification" text );. Question: "If the stage is smaller than 5.0, and the points classification is by Marco Marcato, who is the General classification by?". [/INST] SELECT "general_classification" FROM "leadership_classification" WHERE "points_classification"='Marco Marcato' AND "stage"<5.0;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "leadership_classification" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classification" text );. Question: "How many different people had a General Classification on Stage 5?". [/INST] SELECT COUNT("general_classification") FROM "leadership_classification" WHERE "stage"=5;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "leadership_classification" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classification" text );. Question: "How many times was Robert Gesink a winner?". [/INST] SELECT COUNT("mountains_classification") FROM "leadership_classification" WHERE "winner"='Robert Gesink';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "leadership_classification" ( "stage" real, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classification" text );. Question: "If the winner is Rui Costa, who made the mountains classification?". [/INST] SELECT "mountains_classification" FROM "leadership_classification" WHERE "winner"='Rui Costa';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );. Question: "What was Team 1 Junior's points?". [/INST] SELECT "points" FROM "round_of_16" WHERE "team_num1"='Junior';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );. Question: "What was the 2nd leg score if the team 1 is Deportivo Pasto?". [/INST] SELECT "2nd_leg" FROM "round_of_16" WHERE "team_num1"='Deportivo Pasto';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );. Question: "Who was the team 2 that played against team 1 Atlético la Sabana?". [/INST] SELECT "team_num2" FROM "round_of_16" WHERE "team_num1"='Atlético La Sabana';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "How many new points were earned by rk 26?". [/INST] SELECT "new_points" FROM "2012_australian_open" WHERE "rk"=26;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "How many points were won where new points was 1680?". [/INST] SELECT MIN("points_won") FROM "2012_australian_open" WHERE "new_points"=1680;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "What are the maximum points defended when points won are smaller than 720.0?". [/INST] SELECT MAX("points_defending") FROM "2012_australian_open" WHERE "points_won"<720.0;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "What are the total points for sd 15?". [/INST] SELECT MAX("points") FROM "2012_australian_open" WHERE "sd"=15;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" real, "points_won" real, "new_points" real, "status" text );. Question: "What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]?". [/INST] SELECT COUNT("sd") FROM "2012_australian_open" WHERE "status"='Quarterfinals lost to Novak Djokovic [1]';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" text, "points_won" real, "new_points" real, "status" text );. Question: "How many different counts for won points does Flavia Pennetta have?". [/INST] SELECT COUNT("points_won") FROM "2012_australian_open" WHERE "player"='Flavia Pennetta';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" text, "points_won" real, "new_points" real, "status" text );. Question: "What's Kaia Kanepi's Sd?". [/INST] SELECT MIN("sd") FROM "2012_australian_open" WHERE "player"='Kaia Kanepi';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_australian_open" ( "sd" real, "rk" real, "player" text, "points" real, "points_defending" text, "points_won" real, "new_points" real, "status" text );. Question: "What's the status of the player with 3041 points?". [/INST] SELECT "status" FROM "2012_australian_open" WHERE "points"=3041;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27657925_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "When 62 is the number in series who is the writer?". [/INST] SELECT "written_by" FROM "table1_27657925_1" WHERE "no_in_series"='62';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27657925_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "When steve holland is the writer what is the air date?". [/INST] SELECT "original_air_date" FROM "table1_27657925_1" WHERE "written_by"='Steve Holland';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27657925_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "When 231 is the production code what is the title?". [/INST] SELECT "title" FROM "table1_27657925_1" WHERE "production_code"='231';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27657925_1" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "When there are 5.2 million u.s. viewers how many numbers in series are there?". [/INST] SELECT COUNT("no_in_series") FROM "table1_27657925_1" WHERE "u_s_viewers_millions"='5.2';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "Name the total number of outgoing manager for villarreal b". [/INST] SELECT COUNT("outgoing_manager") FROM "managerial_changes" WHERE "team"='Villarreal B';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "Name the date of appointment for 26 may 2011". [/INST] SELECT COUNT("date_of_appointment") FROM "managerial_changes" WHERE "date_of_vacancy"='26 May 2011';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "Name the outgoing manager for esteban vigo". [/INST] SELECT COUNT("outgoing_manager") FROM "managerial_changes" WHERE "replaced_by"='Esteban Vigo';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "Name the number of team for 19th position". [/INST] SELECT COUNT("team") FROM "managerial_changes" WHERE "position_in_table"='19th';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "Name the manner of departure for luis enrique". [/INST] SELECT "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='Luis Enrique';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "record_in_uefa_competitions" ( "season" text, "competition" text, "stage" text, "result" text, "opponent" text, "scorers" text );. Question: "Who was the opponent in the Women's Cup 0 0 where Brancão Couto 0 is the scorer?". [/INST] SELECT "opponent" FROM "record_in_uefa_competitions" WHERE "competition"='Women''s Cup 0 0' AND "scorers"='Brancão Couto 0';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "record_in_uefa_competitions" ( "season" text, "competition" text, "stage" text, "result" text, "opponent" text, "scorers" text );. Question: "What is the result of the game where the opponent is Innsbrucker Kilmarnock CSK VVS Samara?". [/INST] SELECT "result" FROM "record_in_uefa_competitions" WHERE "opponent"='Innsbrucker Kilmarnock CSK VVS Samara';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "record_in_uefa_competitions" ( "season" text, "competition" text, "stage" text, "result" text, "opponent" text, "scorers" text );. Question: "How many seasons was the opponent Vamos Idaliou Krka Novo Mesto SV Neulengbach?". [/INST] SELECT COUNT("season") FROM "record_in_uefa_competitions" WHERE "opponent"='Vamos Idaliou Krka Novo Mesto SV Neulengbach';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "record_in_uefa_competitions" ( "season" text, "competition" text, "stage" text, "result" text, "opponent" text, "scorers" text );. Question: "Who were the scorers in the game with final score 0–4 7–1 0–3?". [/INST] SELECT "scorers" FROM "record_in_uefa_competitions" WHERE "result"='0–4 7–1 0–3';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27690037_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "Name the kickoff for rheinstadion". [/INST] SELECT "kickoff" FROM "table1_27690037_2" WHERE "game_site"='Rheinstadion';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had the high point total on october 20?". [/INST] SELECT "high_points" FROM "game_log" WHERE "date"='October 20';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What was the series record at after game 3?". [/INST] SELECT "series" FROM "game_log" WHERE "game"=3;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What was the location and attendance for game 2?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "game"=2;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had the most points and how many did they have on April 22? ". [/INST] SELECT "high_points" FROM "game_log" WHERE "date"='April 22';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had the most assists and how many did they have on October 5? ". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='October 5';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "on_disc" ( "song_title" text, "artist" text, "decade" text, "choreographer" text, "rating" text, "difficulty_out_of_7" real, "character" text, "dc2_character" text, "dc3_venue" text, "crew" text );. Question: "List all artists with choreographer Marcos Aguirre and a simple rating.". [/INST] SELECT "artist" FROM "on_disc" WHERE "choreographer"='Marcos Aguirre' AND "rating"='Simple';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics_of_bud_walton_arena" ( "season" text, "overall_record" text, "sec_record" text, "overall_attendance" real, "average_attendance" real, "rank_nationally" text );. Question: "How many times was the overall attendance 17807?". [/INST] SELECT COUNT("overall_attendance") FROM "statistics_of_bud_walton_arena" WHERE "average_attendance"=17807;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics_of_bud_walton_arena" ( "season" text, "overall_record" text, "sec_record" text, "overall_attendance" real, "average_attendance" real, "rank_nationally" text );. Question: "What is the overall attendance in the places where the average attendance was 17148?". [/INST] SELECT "overall_attendance" FROM "statistics_of_bud_walton_arena" WHERE "average_attendance"=17148;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics_of_bud_walton_arena" ( "season" text, "overall_record" text, "sec_record" text, "overall_attendance" real, "average_attendance" real, "rank_nationally" text );. Question: "What season was the average attendance is 16043?". [/INST] SELECT "season" FROM "statistics_of_bud_walton_arena" WHERE "average_attendance"=16043;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics_of_bud_walton_arena" ( "season" text, "overall_record" text, "sec_record" text, "overall_attendance" real, "average_attendance" real, "rank_nationally" text );. Question: "What was the overall record in the season where average attendance was 16720?". [/INST] SELECT "overall_record" FROM "statistics_of_bud_walton_arena" WHERE "average_attendance"=16720;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Name the high assists for march 14". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='March 14';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had high assists in game number 9?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "game"=9;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had high assists in the game played at Oklahoma city arena 17,509?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "location_attendance"='Oklahoma City Arena 17,509';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Which team played on November 15?". [/INST] SELECT "team" FROM "game_log" WHERE "date"='November 15';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Which series had a score of l 103–112 (ot)?". [/INST] SELECT "series" FROM "game_log" WHERE "score"='L 103–112 (OT)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What was the location and attendance when lebron james (10) had the high assists?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='LeBron James (10)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "How many teams were there when chris bosh , lebron james (8) had the high rebounds?". [/INST] SELECT COUNT("team") FROM "game_log" WHERE "high_rebounds"='Chris Bosh , LeBron James (8)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Which location and what was the attendance when lebron james (10) had the high assists?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='LeBron James (10)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who led in assists on January 17, and with how many?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='January 17';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What was the score of the January 8 game?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='January 8';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What game number was on January 14?". [/INST] SELECT "game" FROM "game_log" WHERE "date"='January 14';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "what is the date of the game that the high assists is raymond felton (4)?". [/INST] SELECT "date" FROM "game_log" WHERE "high_assists"='Raymond Felton (4)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "How many games were on october 17?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "date"='October 17';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the record for the game against team @ Minnesota?". [/INST] SELECT "record" FROM "game_log" WHERE "team"='@ Minnesota';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the date the high points was by toney douglas (23)?". [/INST] SELECT "date" FROM "game_log" WHERE "high_points"='Toney Douglas (23)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_27713721_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 );. Question: "How many episodes had an audience of exactly 25.3 million viewers in the U.S.A.?". [/INST] SELECT COUNT("production_code") FROM "table1_27713721_1" WHERE "u_s_viewers_millions"='25.3';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had the high points when high assists is tim duncan (5)?". [/INST] SELECT "high_points" FROM "game_log" WHERE "high_assists"='Tim Duncan (5)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "what is the date when the location attendance is energysolutions arena 19,911?". [/INST] SELECT "date" FROM "game_log" WHERE "location_attendance"='EnergySolutions Arena 19,911';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "how many times is the team oklahoma city?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "team"='Oklahoma City';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "what is the game where the high points is by manu ginóbili (26)?". [/INST] SELECT "game" FROM "game_log" WHERE "high_points"='Manu Ginóbili (26)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "what is the location attendance when the record is 39–7?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "record"='39–7';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the maximum basketball game?". [/INST] SELECT MAX("game") FROM "game_log";</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "How many entries are shown for high points when the score was l 87–89 (ot)?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "score"='L 87–89 (OT)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What was the other team in game 11?". [/INST] SELECT "team" FROM "game_log" WHERE "game"=11;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who scored the high points for the game with record 9–3?". [/INST] SELECT "high_points" FROM "game_log" WHERE "record"='9–3';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Name the date for washington". [/INST] SELECT "date" FROM "regular_season" WHERE "team"='Washington';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Name the record for 23 game". [/INST] SELECT "record" FROM "regular_season" WHERE "game"=23;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Name the most game for december 1". [/INST] SELECT MAX("game") FROM "regular_season" WHERE "date"='December 1';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What was the score of the game against portland?". [/INST] SELECT "score" FROM "game_log" WHERE "team"='Portland';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had the high assist total on january 27?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='January 27';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the location and attendance of game 70?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "game"=70;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What team was the opponent when josh smith (8) had the high assists?". [/INST] SELECT "team" FROM "game_log" WHERE "high_assists"='Josh Smith (8)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the game number where josh smith (4) had the high assists?". [/INST] SELECT MIN("game") FROM "game_log" WHERE "high_assists"='Josh Smith (4)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the series number when al horford (10) had the high rebounds?". [/INST] SELECT "series" FROM "game_log" WHERE "high_rebounds"='Al Horford (10)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is every team with location attendance of Philips Arena 12,140?". [/INST] SELECT "team" FROM "game_log" WHERE "location_attendance"='Philips Arena 12,140';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "How many games were played on october 16?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "date"='October 16';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the score of game 4?". [/INST] SELECT "score" FROM "game_log" WHERE "game"=4;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the score of the game played on october 16?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='October 16';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the team played on october 5?". [/INST] SELECT "team" FROM "game_log" WHERE "date"='October 5';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "who had high assists on november 12?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "date"='November 12';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the date when the high points is michael beasley , martell webster (16)?". [/INST] SELECT "date" FROM "game_log" WHERE "high_points"='Michael Beasley , Martell Webster (16)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the game with the team indiana?". [/INST] SELECT "game" FROM "game_log" WHERE "team"='Indiana';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "Who had high rebounds when the date was march 25?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "date"='March 25';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the highest game with the score l 96–103 (ot)?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "score"='L 96–103 (OT)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "What is the team when the high points were by wesley johnson (20)?". [/INST] SELECT "team" FROM "game_log" WHERE "high_points"='Wesley Johnson (20)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 );. Question: "what is the record for date december 11?". [/INST] SELECT "record" FROM "game_log" WHERE "date"='December 11';</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.