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: "When 0-1 is the series who has the highest amount of assists?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "series"='0-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, "series" text );. Question: "When 5 is the game who has the highest amount of points?". [/INST] SELECT "high_points" FROM "game_log" WHERE "game"=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, "series" text );. Question: "When 1-1 is the series who is the team?". [/INST] SELECT "team" FROM "game_log" WHERE "series"='1-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, "series" text );. Question: "When george hill (29) has the highest amount of points what is the date?". [/INST] SELECT "date" FROM "game_log" WHERE "high_points"='George Hill (29)';</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 "regional_auditions" ( "episode_air_date" text, "audition_city" text, "first_audition_date" text, "audition_venue" text, "callback_date" text, "callback_venue" text, "guest_judge" text, "golden_tickets" real );. Question: "Name the audition city for hyatt regency chicago". [/INST] SELECT "audition_city" FROM "regional_auditions" WHERE "callback_venue"='Hyatt Regency Chicago';</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 "regional_auditions" ( "episode_air_date" text, "audition_city" text, "first_audition_date" text, "audition_venue" text, "callback_date" text, "callback_venue" text, "guest_judge" text, "golden_tickets" real );. Question: "Name the callback date for amway arena". [/INST] SELECT "callback_date" FROM "regional_auditions" WHERE "audition_venue"='Amway Arena';</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 "regional_auditions" ( "episode_air_date" text, "audition_city" text, "first_audition_date" text, "audition_venue" text, "callback_date" text, "callback_venue" text, "guest_judge" text, "golden_tickets" real );. Question: "Name the guest judge for first audition date being july 9, 2009". [/INST] SELECT COUNT("guest_judge") FROM "regional_auditions" WHERE "first_audition_date"='July 9, 2009';</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 "regional_auditions" ( "episode_air_date" text, "audition_city" text, "first_audition_date" text, "audition_venue" text, "callback_date" text, "callback_venue" text, "guest_judge" text, "golden_tickets" real );. Question: "Name the total number of golden tickets being rosen shingle creek resort". [/INST] SELECT COUNT("golden_tickets") FROM "regional_auditions" WHERE "callback_venue"='Rosen Shingle Creek Resort';</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 "regional_auditions" ( "episode_air_date" text, "audition_city" text, "first_audition_date" text, "audition_venue" text, "callback_date" text, "callback_venue" text, "guest_judge" text, "golden_tickets" real );. Question: "Name the golden ticket for invesco field". [/INST] SELECT "golden_tickets" FROM "regional_auditions" WHERE "audition_venue"='Invesco Field';</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 "results" ( "states" text, "no_of_mla_m_ps" real, "value_of_each_vote" real, "k_r_narayanan_votes" real, "k_r_narayanan_values" real, "t_n_seshan_votes" real, "t_n_seshan_values" real, "invalid_votes" real, "invalid_values" real );. Question: "Name the k. r. narayanan values for pondicherry". [/INST] SELECT "k_r_narayanan_values" FROM "results" WHERE "states"='Pondicherry';</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 "results" ( "states" text, "no_of_mla_m_ps" real, "value_of_each_vote" real, "k_r_narayanan_votes" real, "k_r_narayanan_values" real, "t_n_seshan_votes" real, "t_n_seshan_values" real, "invalid_votes" real, "invalid_values" real );. Question: "Name the kr narayanan votes for values being 936 for kr". [/INST] SELECT "k_r_narayanan_votes" FROM "results" WHERE "k_r_narayanan_values"=936;</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 "results" ( "states" text, "no_of_mla_m_ps" real, "value_of_each_vote" real, "k_r_narayanan_votes" real, "k_r_narayanan_values" real, "t_n_seshan_votes" real, "t_n_seshan_values" real, "invalid_votes" real, "invalid_values" real );. Question: "Name the most kr votes for value of each vote for 208". [/INST] SELECT MAX("k_r_narayanan_votes") FROM "results" WHERE "value_of_each_vote"=208;</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 "results" ( "states" text, "no_of_mla_m_ps" real, "value_of_each_vote" real, "k_r_narayanan_votes" real, "k_r_narayanan_values" real, "t_n_seshan_votes" real, "t_n_seshan_values" real, "invalid_votes" real, "invalid_values" real );. Question: "Name the number of tn seshan values for kr values is 478608". [/INST] SELECT COUNT("t_n_seshan_values") FROM "results" WHERE "k_r_narayanan_values"=478608;</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_22948559_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: "Name the production code for number in season being 21". [/INST] SELECT "production_code" FROM "table1_22948559_1" WHERE "no_in_season"='21';</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_22948559_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: "Name the production code by paul lieberstein". [/INST] SELECT "production_code" FROM "table1_22948559_1" WHERE "written_by"='Paul Lieberstein';</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 "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );. Question: "How many blockings occured in the game with 198 rebounds?". [/INST] SELECT MAX("blocks") FROM "player_stats" WHERE "rebounds"=198;</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 "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );. Question: "For how long did Jordan Coleman play?". [/INST] SELECT "minutes" FROM "player_stats" WHERE "player"='Jordan Coleman';</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 "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );. Question: "How much time, in minutes, did Chanel Chisholm play?". [/INST] SELECT COUNT("minutes") FROM "player_stats" WHERE "player"='Chanel Chisholm';</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 "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );. Question: "What is the lowest number of 3 pointers that occured in games with 52 steals?". [/INST] SELECT MIN("three_pointers") FROM "player_stats" WHERE "steals"=52;</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 "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );. Question: "What is the lowest number of games played by the player with 50 steals?". [/INST] SELECT MIN("games_played") FROM "player_stats" WHERE "steals"=50;</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 "ps_50_podium" ( "num" real, "name" text, "country" text, "1" real, "2" real, "3" real, "other_placings" real, "total" real, "first_appearance" real, "last_appearance" real, "federation" text );. Question: "What countries does the Rock come from?". [/INST] SELECT COUNT("country") FROM "ps_50_podium" WHERE "name"='The Rock';</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 "ps_50_podium" ( "num" real, "name" text, "country" text, "1" real, "2" real, "3" real, "other_placings" real, "total" real, "first_appearance" real, "last_appearance" real, "federation" text );. Question: "How many times has a wrestler whose federation was roh, wwe competed in this event?". [/INST] SELECT COUNT("other_placings") FROM "ps_50_podium" WHERE "federation"='ROH, WWE';</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 "ps_50_podium" ( "num" real, "name" text, "country" text, "1" real, "2" real, "3" real, "other_placings" real, "total" real, "first_appearance" real, "last_appearance" real, "federation" text );. Question: "What are the rank/s of Eddie Guerrero?". [/INST] SELECT "num" FROM "ps_50_podium" WHERE "name"='Eddie Guerrero';</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 "ps_50_podium" ( "num" real, "name" text, "country" text, "1" real, "2" real, "3" real, "other_placings" real, "total" real, "first_appearance" real, "last_appearance" real, "federation" text );. Question: "How many times has a wrestler from the country of England wrestled in this event?". [/INST] SELECT COUNT("2") FROM "ps_50_podium" WHERE "country"='England';</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_23235679_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "Name the original air date for " don't look a smith horse in the mouth "". [/INST] SELECT "original_air_date" FROM "table1_23235679_1" WHERE "title"='\" Don''t Look a Smith Horse in the Mouth \"';</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_23235679_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "Name who wrote number 88". [/INST] SELECT "written_by" FROM "table1_23235679_1" WHERE "no_in_series"=88;</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_23235679_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "Name who wrote 5ajn11". [/INST] SELECT "written_by" FROM "table1_23235679_1" WHERE "production_code"='5AJN11';</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_23235679_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );. Question: "Name who wrote the episode directed by pam cooke & jansen yee". [/INST] SELECT "written_by" FROM "table1_23235679_1" WHERE "directed_by"='Pam Cooke & Jansen Yee';</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 "singles_19_finals_15_titles_4_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "Name the number of year for 6β3, 6β2 hard surface". [/INST] SELECT COUNT("year") FROM "singles_19_finals_15_titles_4_runners_up" WHERE "score_in_the_final"='6β3, 6β2' AND "surface"='Hard';</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 "singles_19_finals_15_titles_4_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "Name the surface for philadelphia". [/INST] SELECT "surface" FROM "singles_19_finals_15_titles_4_runners_up" WHERE "championship"='Philadelphia';</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 "singles_19_finals_15_titles_4_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "Name the championship for clay and corrado barazzutti". [/INST] SELECT "championship" FROM "singles_19_finals_15_titles_4_runners_up" WHERE "surface"='Clay' AND "opponent_in_the_final"='Corrado Barazzutti';</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 "singles_19_finals_15_titles_4_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "Name the year for clay for boston and guillermo vilas". [/INST] SELECT "year" FROM "singles_19_finals_15_titles_4_runners_up" WHERE "surface"='Clay' AND "championship"='Boston' AND "opponent_in_the_final"='Guillermo Vilas';</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 "singles_19_finals_15_titles_4_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "Name the total number of opponent in the final for 6β2, 6β1, 6β3". [/INST] SELECT COUNT("opponent_in_the_final") FROM "singles_19_finals_15_titles_4_runners_up" WHERE "score_in_the_final"='6β2, 6β1, 6β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 "singles_16_finals_11_titles_5_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "What is every year where opponent in the final is John Mcenroe at Wimbledon?". [/INST] SELECT "year" FROM "singles_16_finals_11_titles_5_runners_up" WHERE "opponent_in_the_final"='John McEnroe' AND "championship"='Wimbledon';</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 "singles_16_finals_11_titles_5_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "What is every score in the final for opponent in final John Mcenroe at US Open?". [/INST] SELECT "score_in_the_final" FROM "singles_16_finals_11_titles_5_runners_up" WHERE "opponent_in_the_final"='John McEnroe' AND "championship"='US Open';</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 "singles_16_finals_11_titles_5_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "What is every surface with a score in the final of 6β4, 6β7 (1β7) , 6β7 (4β7) , 4β6?". [/INST] SELECT "surface" FROM "singles_16_finals_11_titles_5_runners_up" WHERE "score_in_the_final"='6β4, 6β7 (1β7) , 6β7 (4β7) , 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 "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 score in game 6?". [/INST] SELECT "score" FROM "game_log" WHERE "game"=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 "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 were the amount of rebounds in game 2?". [/INST] SELECT "high_rebounds" 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, "record" text );. Question: "On what date was the attendance at TD Garden 18,624?". [/INST] SELECT "date" FROM "game_log" WHERE "location_attendance"='TD Garden 18,624';</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 day was the record 14-27?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='14-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: "How many people got high points in game 35?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "game"=35;</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 highest points on January 2?". [/INST] SELECT "high_points" FROM "game_log" WHERE "date"='January 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, "record" text );. Question: "Who did the high rebounds in the game where Carl Landry (23) did the most high points?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Carl Landry (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 "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's the end score of the game where Shane Battier (8) did the high rebounds?". [/INST] SELECT "score" FROM "game_log" WHERE "high_rebounds"='Shane Battier (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: "Where was the game in which Carl Landry (25) did the most high points played?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_points"='Carl Landry (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: "Who had the most high assists with a record of 32-19?". [/INST] SELECT "high_assists" FROM "game_log" WHERE "record"='32-19';</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: "When did the Mavericks have a record of 32-19?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='32-19';</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: "List the stadium and number of people in attendance when the team record was 45-22.". [/INST] SELECT COUNT("location_attendance") FROM "game_log" WHERE "record"='45-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: "How many games had been played when the Mavericks had a 46-22 record?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "record"='46-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: "Name the date for score w 109β95 (ot)". [/INST] SELECT "date" FROM "game_log" WHERE "score"='W 109β95 (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: "Name the high points for pepsi center 19,155". [/INST] SELECT "high_points" FROM "game_log" WHERE "location_attendance"='Pepsi Center 19,155';</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: "If the record is 5-8, what is the team name?". [/INST] SELECT "team" FROM "game_log" WHERE "record"='5-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: "If the record is 5-5, what is the game maximum?". [/INST] SELECT MAX("game") FROM "game_log" WHERE "record"='5-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: "If the record is 6-8, what was the score?". [/INST] SELECT "score" FROM "game_log" WHERE "record"='6-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: "When was the game number 3 played?". [/INST] SELECT "date" 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, "record" text );. Question: "Where was the game in which Kevin Durant (25) did the most high points played?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_points"='Kevin Durant (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 was the record in the game in which Jeff Green (14) did the most high rebounds?". [/INST] SELECT "record" FROM "game_log" WHERE "high_rebounds"='Jeff Green (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: "Name the team for january 4". [/INST] SELECT "team" FROM "game_log" WHERE "date"='January 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: "Name the location attendance for january 18". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "date"='January 18';</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 least game for january 29". [/INST] SELECT MIN("game") FROM "game_log" WHERE "date"='January 29';</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 location attendance has russell westbrook (5) as high assists and nenad krstic (8) as high rebounds?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='Russell Westbrook (5)' AND "high_rebounds"='Nenad Krstic (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: "Who has high points when toyota center 15,095 is location attendance?". [/INST] SELECT "high_points" FROM "game_log" WHERE "location_attendance"='Toyota Center 15,095';</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 has high points when verizon center 17,152 is location attendance?". [/INST] SELECT "high_points" FROM "game_log" WHERE "location_attendance"='Verizon Center 17,152';</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 for the date of December 7?". [/INST] SELECT "score" FROM "game_log" WHERE "date"='December 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's the number of the game in which Carlos Boozer (8) did the high rebounds?". [/INST] SELECT "game" FROM "game_log" WHERE "high_rebounds"='Carlos Boozer (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: "When was the game in which Deron Williams (13) did the high assists played?". [/INST] SELECT "date" FROM "game_log" WHERE "high_assists"='Deron Williams (13)';</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 different high rebound results are there for the game number 26?". [/INST] SELECT COUNT("high_rebounds") FROM "game_log" WHERE "game"=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: "How many different players did the most high assists on the March 4 game?". [/INST] SELECT COUNT("high_assists") FROM "game_log" WHERE "date"='March 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 was the record at the game where Deron Williams (6) did the high assists?". [/INST] SELECT "record" FROM "game_log" WHERE "high_assists"='Deron Williams (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 "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: "Where was the March 24 game played?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "date"='March 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 "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 players did the most high points in the game with 39-22 record?". [/INST] SELECT COUNT("high_points") FROM "game_log" WHERE "record"='39-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 "series_8" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text );. Question: "What is the broadcast date where Jason's team is Rhod Gilbert and Shappi Khorsandi?". [/INST] SELECT "first_broadcast" FROM "series_8" WHERE "jasons_team"='Rhod Gilbert and Shappi Khorsandi';</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 "series_8" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text );. Question: "In how many episodes did Sean's team include Jeremy Clarkson and James McQuillan?". [/INST] SELECT COUNT("episode") FROM "series_8" WHERE "seans_team"='Jeremy Clarkson and James McQuillan';</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 "series_8" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text );. Question: "Who was on Jason's team for the 12 June 2009 episode?". [/INST] SELECT "jasons_team" FROM "series_8" WHERE "first_broadcast"='12 June 2009';</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 "series_8" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text );. Question: "Who was on Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne?". [/INST] SELECT "jasons_team" FROM "series_8" WHERE "seans_team"='Reginald D. Hunter and Kelly Osbourne';</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, "location" text, "irish_points" real, "opp_points" real, "record" text );. Question: "what is the record where the locaiton is tampa, fl and the opponent is louisville?". [/INST] SELECT "record" FROM "schedule" WHERE "location"='Tampa, FL' AND "opponent"='Louisville';</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, "location" text, "irish_points" real, "opp_points" real, "record" text );. Question: "what is the number of opponents where the location is syracuse, ny?". [/INST] SELECT COUNT("opponent") FROM "schedule" WHERE "location"='Syracuse, NY';</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, "location" text, "irish_points" real, "opp_points" real, "record" text );. Question: "what is the record where the opponent is central connecticut?". [/INST] SELECT "record" FROM "schedule" WHERE "opponent"='Central Connecticut';</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 "higher_order_b_format_channels" ( "horizontal_order" real, "height_order" real, "soundfield_type" text, "number_of_channels" real, "channels" text );. Question: "If the channels is wxyzrstuvpq, what is the horizontal order?". [/INST] SELECT "horizontal_order" FROM "higher_order_b_format_channels" WHERE "channels"='WXYZRSTUVPQ';</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 "higher_order_b_format_channels" ( "horizontal_order" real, "height_order" real, "soundfield_type" text, "number_of_channels" real, "channels" text );. Question: "If the height order is 1 and the soundfield type is mixed-order, what are all the channels?". [/INST] SELECT "channels" FROM "higher_order_b_format_channels" WHERE "soundfield_type"='mixed-order' AND "height_order"=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 "higher_order_b_format_channels" ( "horizontal_order" real, "height_order" real, "soundfield_type" text, "number_of_channels" real, "channels" text );. Question: "If the channels is wxyzuv, what is the number of channels?". [/INST] SELECT "number_of_channels" FROM "higher_order_b_format_channels" WHERE "channels"='WXYZUV';</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_23399481_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "When was the first broadcast of the episode titled "Truth Be Told"?". [/INST] SELECT "original_air_date" FROM "table1_23399481_4" WHERE "title"='\"Truth Be Told\"';</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_23399481_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "What are the titles of the episodes which had 1.10 million U.S. viewers?". [/INST] SELECT "title" FROM "table1_23399481_4" WHERE "u_s_viewers_in_millions"='1.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 "table1_23399481_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "What is the name of the episodes which had 1.22 million U.S. viewers?". [/INST] SELECT "title" FROM "table1_23399481_4" WHERE "u_s_viewers_in_millions"='1.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 "table1_23399481_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "How many millions of viewers did the episode written by Andrea Conway Kagey?". [/INST] SELECT "u_s_viewers_in_millions" FROM "table1_23399481_4" WHERE "written_by"='Andrea Conway Kagey';</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_23399481_4" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "What is the title of the episode/s written by Michael Gans & Richard Register?". [/INST] SELECT "title" FROM "table1_23399481_4" WHERE "written_by"='Michael Gans & Richard Register';</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 "average_chart" ( "average_ranking" real, "competitive_finish" real, "couple" text, "number_of_dances" real, "total_score" real, "average" text );. Question: "What is the total score when 7 is the average ranking?". [/INST] SELECT MAX("total_score") FROM "average_chart" WHERE "average_ranking"=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 "average_chart" ( "average_ranking" real, "competitive_finish" real, "couple" text, "number_of_dances" real, "total_score" real, "average" text );. Question: "Which couple has 295 as a total score?". [/INST] SELECT "couple" FROM "average_chart" WHERE "total_score"=295;</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 "average_chart" ( "average_ranking" real, "competitive_finish" real, "couple" text, "number_of_dances" real, "total_score" real, "average" text );. Question: "What is the average for the couple anh & luda?". [/INST] SELECT "average" FROM "average_chart" WHERE "couple"='Anh & Luda';</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 was the largest attended game?". [/INST] SELECT MAX("attendance") 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 "table1_23486853_7" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );. Question: "What scores happened on February 9?". [/INST] SELECT "score" FROM "table1_23486853_7" WHERE "date"='February 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 "table1_23486853_7" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );. Question: "What scores happened to be on February 9?". [/INST] SELECT "score" FROM "table1_23486853_7" WHERE "date"='February 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 "table1_23486853_7" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "attendance" real, "record" text, "points" real );. Question: "What scores happened on February 11?". [/INST] SELECT "score" FROM "table1_23486853_7" WHERE "date"='February 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 "table1_23499946_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "How many directed by have 2.80 as u.s. viewers (in millions)?". [/INST] SELECT COUNT("directed_by") FROM "table1_23499946_1" WHERE "u_s_viewers_in_millions"='2.80';</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_23499946_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "What is the title when 2.50 is u.s. viewers (in millions)? ". [/INST] SELECT "title" FROM "table1_23499946_1" WHERE "u_s_viewers_in_millions"='2.50';</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_23499946_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "How many u.s. viewers (in millions) have "dare devil" as the title?". [/INST] SELECT "u_s_viewers_in_millions" FROM "table1_23499946_1" WHERE "title"='\"Dare Devil\"';</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_23499946_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_millions" text );. Question: "What is the original air date when "poison ivy" is the title?". [/INST] SELECT "original_air_date" FROM "table1_23499946_1" WHERE "title"='\"Poison Ivy\"';</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 "2010_wimbledon_championships" ( "seed" real, "rank" real, "player" text, "points" real, "points_defending" text, "points_won" real, "new_points" real, "status" text );. Question: "Name the least new points for points defending is 1200". [/INST] SELECT MIN("new_points") FROM "2010_wimbledon_championships" WHERE "points_defending"='1200';</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 "2010_wimbledon_championships" ( "seed" real, "rank" real, "player" text, "points" real, "points_defending" text, "points_won" real, "new_points" real, "status" text );. Question: "Name the number of points defending for 1075". [/INST] SELECT COUNT("points_defending") FROM "2010_wimbledon_championships" WHERE "new_points"=1075;</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 "2010_wimbledon_championships" ( "seed" real, "rank" real, "player" text, "points" real, "points_defending" text, "points_won" real, "new_points" real, "status" text );. Question: "Name the points won for 1230". [/INST] SELECT "points_won" FROM "2010_wimbledon_championships" WHERE "points"=1230;</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.