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 "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 Series, when Date is "June 7"?". [/INST] SELECT "series" FROM "game_log" WHERE "date"='june 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, "series" text );. Question: "What is High Assists, when High Rebounds is "Dwight Howard , Rashard Lewis (10)"?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "high_rebounds"='dwight howard , rashard lewis (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: "What is the highest Game, when High Assists is "Hedo TΓΌrkoΔlu (7)"?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "high_assists"='hedo tΓΌrkoΔlu (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 "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );. Question: "What Game had a Score of 101β92?". [/INST] SELECT AVG("game") FROM "season_schedule" WHERE "score"='101β92';</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 "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );. Question: "What is the Score of the Game with a Record of 13β12?". [/INST] SELECT "score" FROM "season_schedule" WHERE "record"='13β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 "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );. Question: "What is the Streak on December 30?". [/INST] SELECT "streak" FROM "season_schedule" WHERE "date"='december 30';</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, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the date of game 9?". [/INST] SELECT "date" FROM "regular_season" 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 "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who had the most assists in the game that led to a 3-7 record?". [/INST] SELECT "high_assists" FROM "regular_season" WHERE "record"='3-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, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );. Question: "What is the location of the game with a 6-11-8 record?". [/INST] SELECT "location" FROM "game_log" WHERE "record"='6-11-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, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );. Question: "What game has a 6-12-8 record?". [/INST] SELECT "game" FROM "game_log" WHERE "record"='6-12-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 "2005_06_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "points" text );. Question: "What is Points, when Points For is "562"?". [/INST] SELECT "points" FROM "2005_06_table" WHERE "points_for"='562';</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 "2005_06_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "points" text );. Question: "What is Drawn, when Played is "Correct as of 2006-06-10"?". [/INST] SELECT "drawn" FROM "2005_06_table" WHERE "played"='correct as of 2006-06-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 "2005_06_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "points" text );. Question: "What is Drawn, when Points Against is "686"?". [/INST] SELECT "drawn" FROM "2005_06_table" WHERE "points_against"='686';</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 "2005_06_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "points" text );. Question: "What is Points Against, when Drawn is "2", and when Points Of is "32"?". [/INST] SELECT "points_against" FROM "2005_06_table" WHERE "drawn"='2' AND "points"='32';</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 "2005_06_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "points" text );. Question: "What is Lost, when Drawn is "2", and when Points is "36"?". [/INST] SELECT "lost" FROM "2005_06_table" WHERE "drawn"='2' AND "points"='36';</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 "2005_06_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "points" text );. Question: "What is Points For, when Points is "63"?". [/INST] SELECT "points_for" FROM "2005_06_table" WHERE "points"='63';</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 game number that was played on November 15?". [/INST] SELECT MIN("game") 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 "cup_winners_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text, "attendance" real );. Question: "What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg?". [/INST] SELECT MIN("attendance") FROM "cup_winners_cup" WHERE "h_a"='h' AND "round"='semi-finals second leg';</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 "cup_winners_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text, "attendance" real );. Question: "What is the opponent name when the H/A is h with more than 28,411 in attendance and Sharpe 28' is the scorer?". [/INST] SELECT "opponents" FROM "cup_winners_cup" WHERE "h_a"='h' AND "attendance">'28,411' AND "scorers"='sharpe 28''';</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 "cup_winners_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text, "attendance" real );. Question: "What is the attendance number in the final round?". [/INST] SELECT SUM("attendance") FROM "cup_winners_cup" WHERE "round"='final';</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 "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );. Question: "What bridge in Sheridan county was built in 1915?". [/INST] SELECT "name" FROM "references" WHERE "county"='sheridan' AND "built"='1915';</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 "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );. Question: "What is the listed for the bridge at Daniel in Sublette county?". [/INST] SELECT "listed" FROM "references" WHERE "county"='sublette' AND "location"='daniel';</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 "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );. Question: "In what year was the bridge in Lovell built?". [/INST] SELECT "built" FROM "references" WHERE "location"='lovell';</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 "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );. Question: "What is the county of the bridge in Boulder?". [/INST] SELECT "county" FROM "references" WHERE "location"='boulder';</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, "opponent" text, "score" text, "location" text, "record" text );. Question: "Which opponent has a score of 84-88 (ot)?". [/INST] SELECT "opponent" FROM "game_log" WHERE "score"='84-88 (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, "opponent" text, "score" text, "location" text, "record" text );. Question: "How many games have a score of 85-92?". [/INST] SELECT COUNT("game") FROM "game_log" WHERE "score"='85-92';</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, "opponent" text, "score" text, "location" text, "record" text );. Question: "What is the earliest game with a score of 99-89?". [/INST] SELECT MIN("game") FROM "game_log" WHERE "score"='99-89';</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, "opponent" text, "score" text, "location" text, "record" text );. Question: "What game has a score of 89-91?". [/INST] SELECT AVG("game") FROM "game_log" WHERE "score"='89-91';</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, "opponent" text, "score" text, "location" text, "record" text );. Question: "On what date did a game higher than 10 have a score of 99-89?". [/INST] SELECT "date" FROM "game_log" WHERE "game">10 AND "score"='99-89';</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, "opponent" text, "score" text, "location" text, "record" text );. Question: "On what date did Fleetcenter have a game lower than 9 with a score of 104-94?". [/INST] SELECT "date" FROM "game_log" WHERE "location"='fleetcenter' AND "game"<9 AND "score"='104-94';</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 "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What is Place, when Score is less than 70?". [/INST] SELECT "place" FROM "first_round" WHERE "score"<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 "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What is To Par, when Country is "United States", when Place is "T4", and when Player is "Frank Boynton"?". [/INST] SELECT "to_par" FROM "first_round" WHERE "country"='united states' AND "place"='t4' AND "player"='frank boynton';</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 "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What is To Par, when Country is "United States", when Place is "T4", and when Player is "Arnold Palmer"?". [/INST] SELECT "to_par" FROM "first_round" WHERE "country"='united states' AND "place"='t4' AND "player"='arnold palmer';</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 "the_modes" ( "mode" text, "d_part_de_la_main_gauche" text, "accord_du_1st_string" text, "2nd_string" text, "3rd_string" text );. Question: "For the 2nd string of Ra what is the Depart de la main gauche?". [/INST] SELECT "d_part_de_la_main_gauche" FROM "the_modes" WHERE "2nd_string"='ra';</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 "the_modes" ( "mode" text, "d_part_de_la_main_gauche" text, "accord_du_1st_string" text, "2nd_string" text, "3rd_string" text );. Question: "For a 1st string of si Accord du and a 2nd string of mi what is the 3rd string?". [/INST] SELECT "3rd_string" FROM "the_modes" WHERE "accord_du_1st_string"='si' AND "2nd_string"='mi';</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 "the_modes" ( "mode" text, "d_part_de_la_main_gauche" text, "accord_du_1st_string" text, "2nd_string" text, "3rd_string" text );. Question: "What is the mode of the Depart de la main gauche of 1st case and a la or mi 3rd string?". [/INST] SELECT "mode" FROM "the_modes" WHERE "d_part_de_la_main_gauche"='1st case' AND "3rd_string"='la or mi';</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 "the_modes" ( "mode" text, "d_part_de_la_main_gauche" text, "accord_du_1st_string" text, "2nd_string" text, "3rd_string" text );. Question: "What is the Depart de la main gauche of the do Mode?". [/INST] SELECT "d_part_de_la_main_gauche" FROM "the_modes" WHERE "mode"='do';</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 "the_modes" ( "mode" text, "d_part_de_la_main_gauche" text, "accord_du_1st_string" text, "2nd_string" text, "3rd_string" text );. Question: "For the 2nd string of Do and an Accord du 1st string of FA what is the Depart de la main gauche?". [/INST] SELECT "d_part_de_la_main_gauche" FROM "the_modes" WHERE "2nd_string"='do' AND "accord_du_1st_string"='fa';</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 "men" ( "rank" real, "name" text, "nation" text, "points" real, "placings" real );. Question: "Which Rank has a Name of john curry, and Points larger than 338.43?". [/INST] SELECT MAX("rank") FROM "men" WHERE "name"='john curry' AND "points">338.43;</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 "men" ( "rank" real, "name" text, "nation" text, "points" real, "placings" real );. Question: "How many Placings have Points smaller than 330.84, and a Name of silvo svajger?". [/INST] SELECT COUNT("placings") FROM "men" WHERE "points"<330.84 AND "name"='silvo svajger';</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 "men" ( "rank" real, "name" text, "nation" text, "points" real, "placings" real );. Question: "Which Placings have a Nation of west germany, and Points larger than 303.72?". [/INST] SELECT SUM("placings") FROM "men" WHERE "nation"='west germany' AND "points">303.72;</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 "men" ( "rank" real, "name" text, "nation" text, "points" real, "placings" real );. Question: "Which Nation has Points of 300.38?". [/INST] SELECT "nation" FROM "men" WHERE "points"=300.38;</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 "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "Which player finished at +10?". [/INST] SELECT "player" FROM "made_the_cut" WHERE "to_par"='+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, "opponent" text, "score" text, "record" text );. Question: "Who is the opponent before game 5 with a 0-1-0 record?". [/INST] SELECT "opponent" FROM "game_log" WHERE "game"<5 AND "record"='0-1-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 "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );. Question: "What is the score for the opponent Vancouver Canucks?". [/INST] SELECT "score" FROM "game_log" WHERE "opponent"='vancouver canucks';</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, "opponent" text, "score" text, "record" text );. Question: "What date is the record 4-3-0?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='4-3-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 "class_e_4_6_0" ( "class" text, "wheel_arrangement" text, "fleet_number_s" text, "year_made" text, "quantity_made" text, "quantity_preserved" text );. Question: "What is the fleet number with a 4-6-0 wheel arrangement made in 1890?". [/INST] SELECT "fleet_number_s" FROM "class_e_4_6_0" WHERE "wheel_arrangement"='4-6-0' AND "year_made"='1890';</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 "class_e_4_6_0" ( "class" text, "wheel_arrangement" text, "fleet_number_s" text, "year_made" text, "quantity_made" text, "quantity_preserved" text );. Question: "What is the wheel arrangement made in 1890?". [/INST] SELECT "wheel_arrangement" FROM "class_e_4_6_0" WHERE "year_made"='1890';</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 "class_e_4_6_0" ( "class" text, "wheel_arrangement" text, "fleet_number_s" text, "year_made" text, "quantity_made" text, "quantity_preserved" text );. Question: "What is the quantity preserved of the e-1 class?". [/INST] SELECT "quantity_preserved" FROM "class_e_4_6_0" WHERE "class"='e-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 "class_e_4_6_0" ( "class" text, "wheel_arrangement" text, "fleet_number_s" text, "year_made" text, "quantity_made" text, "quantity_preserved" text );. Question: "What is the wheel arrangement with 1 quantity preserved?". [/INST] SELECT "wheel_arrangement" FROM "class_e_4_6_0" WHERE "quantity_preserved"='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 "class_e_4_6_0" ( "class" text, "wheel_arrangement" text, "fleet_number_s" text, "year_made" text, "quantity_made" text, "quantity_preserved" text );. Question: "What is the quantity made of the e-22 class, which has a quantity preserved of 0?". [/INST] SELECT "quantity_made" FROM "class_e_4_6_0" WHERE "quantity_preserved"='0' AND "class"='e-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 "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the sum of Total, when Rank is 8, and when Bronze is less than 1?". [/INST] SELECT SUM("total") FROM "medal_table" WHERE "rank"='8' AND "bronze"<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 "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the lowest Bronze, when Gold is less than 0?". [/INST] SELECT MIN("bronze") FROM "medal_table" WHERE "gold"<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 "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the average Bronze, when Total is 7, and when Silver is greater than 1?". [/INST] SELECT AVG("bronze") FROM "medal_table" WHERE "total"=7 AND "silver">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 "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the sum of Total, when Silver is 0, and when Gold is 1?". [/INST] SELECT SUM("total") FROM "medal_table" WHERE "silver"=0 AND "gold"=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 "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the highest Total, when Gold is 1, when Nation is Hungary, and when Bronze is less than 0?". [/INST] SELECT MAX("total") FROM "medal_table" WHERE "gold"=1 AND "nation"='hungary' AND "bronze"<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 "filmography" ( "year" real, "film" text, "role" text, "director" text, "studio" text );. Question: "What is the Year of the Film Belle of the Nineties?". [/INST] SELECT "year" FROM "filmography" WHERE "film"='belle of the nineties';</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 "filmography" ( "year" real, "film" text, "role" text, "director" text, "studio" text );. Question: "What is the Year of the Film Klondike Annie?". [/INST] SELECT SUM("year") FROM "filmography" WHERE "film"='klondike annie';</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 "filmography" ( "year" real, "film" text, "role" text, "director" text, "studio" text );. Question: "What is the Studio of the Film with Director Gregory Ratoff after 1933?". [/INST] SELECT "studio" FROM "filmography" WHERE "year">1933 AND "director"='gregory ratoff';</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 "discography" ( "title" text, "details" text, "track_title" text, "label" text, "year" real );. Question: "Which label has a year older than 2004 and a 2xcd detail as well as the sonic seducer cold hands seduction vol. 69 title?". [/INST] SELECT "label" FROM "discography" WHERE "year">2004 AND "details"='2xcd' AND "title"='sonic seducer cold hands seduction vol. 69';</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 "discography" ( "title" text, "details" text, "track_title" text, "label" text, "year" real );. Question: "Which details has the out of line label and the year of 2005?". [/INST] SELECT "details" FROM "discography" WHERE "label"='out of line' AND "year"=2005;</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 "discography" ( "title" text, "details" text, "track_title" text, "label" text, "year" real );. Question: "What average year contains the title of machineries of joy vol. 4?". [/INST] SELECT AVG("year") FROM "discography" WHERE "title"='machineries of joy vol. 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 "discography" ( "title" text, "details" text, "track_title" text, "label" text, "year" real );. Question: "Which track title has a year lesser thsn 2005?". [/INST] SELECT "track_title" FROM "discography" WHERE "year"<2005;</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 "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "Which college has a pick less than 25, an overall greater than 159, a round less than 10, and wr as the position?". [/INST] SELECT "college" FROM "washington_redskins_draft_history" WHERE "pick"<25 AND "overall">159 AND "round"<10 AND "position"='wr';</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 "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What is the average overall that has a pick less than 20, North Carolina as the college, with a round less than 8?". [/INST] SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "pick"<20 AND "college"='north carolina' AND "round"<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 "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "How many overalls have a pick greater than 19, with florida as the college?". [/INST] SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "pick">19 AND "college"='florida';</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 "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What college has an overall less than 243, and tony green as the name?". [/INST] SELECT "college" FROM "washington_redskins_draft_history" WHERE "overall"<243 AND "name"='tony green';</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 "jarno_tapers" ( "taper" text, "large_end" real, "small_end" real, "length" real, "taper_ft" real, "taper_in" real, "angle_from_center" real );. Question: "Which Large end has a Taper/ft smaller than 0.6000000000000001?". [/INST] SELECT COUNT("large_end") FROM "jarno_tapers" WHERE "taper_ft"<0.6000000000000001;</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 "jarno_tapers" ( "taper" text, "large_end" real, "small_end" real, "length" real, "taper_ft" real, "taper_in" real, "angle_from_center" real );. Question: "Which Taper/ft that has a Large end smaller than 0.5, and a Taper of #2?". [/INST] SELECT MAX("taper_ft") FROM "jarno_tapers" WHERE "large_end"<0.5 AND "taper"='#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 "jarno_tapers" ( "taper" text, "large_end" real, "small_end" real, "length" real, "taper_ft" real, "taper_in" real, "angle_from_center" real );. Question: "Which Taper/in that has a Small end larger than 0.7000000000000001, and a Taper of #19, and a Large end larger than 2.375?". [/INST] SELECT MIN("taper_in") FROM "jarno_tapers" WHERE "small_end">0.7000000000000001 AND "taper"='#19' AND "large_end">2.375;</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 "jarno_tapers" ( "taper" text, "large_end" real, "small_end" real, "length" real, "taper_ft" real, "taper_in" real, "angle_from_center" real );. Question: "Which Length has a Taper of #15, and a Large end larger than 1.875?". [/INST] SELECT MAX("length") FROM "jarno_tapers" WHERE "taper"='#15' AND "large_end">1.875;</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 "jarno_tapers" ( "taper" text, "large_end" real, "small_end" real, "length" real, "taper_ft" real, "taper_in" real, "angle_from_center" real );. Question: "Which Angle from center/Β° has a Taper/ft smaller than 0.6000000000000001?". [/INST] SELECT COUNT("angle_from_center") FROM "jarno_tapers" WHERE "taper_ft"<0.6000000000000001;</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 "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );. Question: "What driver had the highest grid position with a time of +0.283?". [/INST] SELECT MAX("grid") FROM "supersport_race_classification" WHERE "time"='+0.283';</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 "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );. Question: "What is the most number of laps run by Ilario Dionisi?". [/INST] SELECT MAX("laps") FROM "supersport_race_classification" WHERE "rider"='ilario dionisi';</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 "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );. Question: "What is the total of laps run by the driver with a grid under 17 and a time of +5.088?". [/INST] SELECT SUM("laps") FROM "supersport_race_classification" WHERE "time"='+5.088' AND "grid"<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 "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );. Question: "What is the driver with the laps under 16, grid of 10, a bike of Yamaha YZF-R6, and ended with an accident?". [/INST] SELECT "rider" FROM "supersport_race_classification" WHERE "laps"<16 AND "time"='accident' AND "bike"='yamaha yzf-r6' AND "grid"=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 "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "Who scored more than 72?". [/INST] SELECT "player" FROM "first_round" WHERE "score">72;</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 "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What is the top score for tsuneyuki nakajima?". [/INST] SELECT MAX("score") FROM "first_round" WHERE "player"='tsuneyuki nakajima';</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 "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What is the low score for TO par +2 in japan?". [/INST] SELECT MIN("score") FROM "first_round" WHERE "to_par"='+2' AND "country"='japan';</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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );. Question: "What is Anders Forsbrand's Place?". [/INST] SELECT "place" FROM "second_round" WHERE "player"='anders forsbrand';</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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );. Question: "What is the T8 Place Player?". [/INST] SELECT "player" FROM "second_round" WHERE "place"='t8';</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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );. Question: "What is the To par of the Player with a Score of 70-71=141?". [/INST] SELECT AVG("to_par") FROM "second_round" WHERE "score"='70-71=141';</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 "doubles" ( "year" real, "championship" text, "partner" text, "opponents_in_the_final" text, "score" text );. Question: "Which Partner has Opponents in the final of john bromwich frank sedgman?". [/INST] SELECT "partner" FROM "doubles" WHERE "opponents_in_the_final"='john bromwich frank sedgman';</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 "doubles" ( "year" real, "championship" text, "partner" text, "opponents_in_the_final" text, "score" text );. Question: "Which Opponents in the final have a Score of 4β6, 6β4, 2β6, 4β6?". [/INST] SELECT "opponents_in_the_final" FROM "doubles" WHERE "score"='4β6, 6β4, 2β6, 4β6';</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 "doubles" ( "year" real, "championship" text, "partner" text, "opponents_in_the_final" text, "score" text );. Question: "Which Year has a Score of 5β7, 4β6, 6β3, 1β6?". [/INST] SELECT "year" FROM "doubles" WHERE "score"='5β7, 4β6, 6β3, 1β6';</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 "doubles" ( "year" real, "championship" text, "partner" text, "opponents_in_the_final" text, "score" text );. Question: "Which Championship has a Score of 2β6, 4β6, 4β6?". [/INST] SELECT "championship" FROM "doubles" WHERE "score"='2β6, 4β6, 4β6';</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 "doubles" ( "year" real, "championship" text, "partner" text, "opponents_in_the_final" text, "score" text );. Question: "Which Score has Opponents in the final of john bromwich frank sedgman?". [/INST] SELECT "score" FROM "doubles" WHERE "opponents_in_the_final"='john bromwich frank sedgman';</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 "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "Which Opponent has a Date of november 17, 1963?". [/INST] SELECT "opponent" FROM "season_schedule" WHERE "date"='november 17, 1963';</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 "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "Which Opponent has a Result of l 14β10?". [/INST] SELECT "opponent" FROM "season_schedule" WHERE "result"='l 14β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 "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "Which Result has a Week smaller than 11, and Attendance of 17,568?". [/INST] SELECT "result" FROM "season_schedule" WHERE "week"<11 AND "attendance"='17,568';</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 "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "Which Opponent has a Result of w 19β10?". [/INST] SELECT "opponent" FROM "season_schedule" WHERE "result"='w 19β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 "league_statistics" ( "number" real, "name" text, "position" text, "matches" real, "goals" real, "penalties" real );. Question: "What is the average goals for Essi Sainio?". [/INST] SELECT AVG("goals") FROM "league_statistics" WHERE "name"='essi sainio';</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 "doubles" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text );. Question: "Who were the champions in 1988?". [/INST] SELECT "champion" FROM "doubles" WHERE "year"=1988;</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 "doubles" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text );. Question: "Who was the runner-up in 1989?". [/INST] SELECT "runner_up" FROM "doubles" WHERE "year"=1989;</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 "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text );. Question: "What is the lowest December, when Score is "4 - 4"?". [/INST] SELECT MIN("december") FROM "schedule_and_results" WHERE "score"='4 - 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 "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text );. Question: "What is Record, when Game is "24"?". [/INST] SELECT "record" FROM "schedule_and_results" WHERE "game"=24;</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 "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text );. Question: "What is Opponent, when Game is "37"?". [/INST] SELECT "opponent" FROM "schedule_and_results" WHERE "game"=37;</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 "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );. Question: "How many spectators attended the game on 11/09/1935?". [/INST] SELECT "attendance" FROM "schedule" WHERE "date"='11/09/1935';</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 "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );. Question: "Who was the opponent against which the result was w20-0?". [/INST] SELECT "opponent" FROM "schedule" WHERE "result"='w20-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 "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );. Question: "On which date was the result w20-0?". [/INST] SELECT "date" FROM "schedule" WHERE "result"='w20-0';</s> |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.