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 "season_4" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real );. Question: "Name the narraed by for beluga shipping". [/INST] SELECT "narrated_by" FROM "season_4" WHERE "vessel_operator"='Beluga Shipping';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_4" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real );. Question: "Name the number of season for beluga shipping". [/INST] SELECT COUNT("no_in_season") FROM "season_4" WHERE "vessel_operator"='Beluga Shipping';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2618102_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "Name the least number in series for james quinn". [/INST] SELECT MIN("no_in_series") FROM "table1_2618102_1" WHERE "directed_by"='James Quinn';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2618102_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "Name the least number in season for brad markowitz, william n. fordes & rené balcer". [/INST] SELECT MIN("no_in_season") FROM "table1_2618102_1" WHERE "written_by"='Brad Markowitz, William N. Fordes & René Balcer';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location_all_in_minnesota" text, "founded" real, "type" text, "enrollment" real, "joined" text );. Question: "What institution is located in St. Peter? ". [/INST] SELECT "institution" FROM "current_members" WHERE "location_all_in_minnesota"='St. Peter';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location_all_in_minnesota" text, "founded" real, "type" text, "enrollment" real, "joined" text );. Question: "What is the enrollment for Augsburg college? ". [/INST] SELECT MIN("enrollment") FROM "current_members" WHERE "institution"='Augsburg College';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location_all_in_minnesota" text, "founded" real, "type" text, "enrollment" real, "joined" text );. Question: "What was the earliest date an institution was founded that joined in 1977? ". [/INST] SELECT MIN("founded") FROM "current_members" WHERE "joined"='1977';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" text, "nickname" text, "joined" text, "left" text, "football_conference" text, "primary_conference" text );. Question: "How many different types are allocated to the institution in Bridgewater, Massachusetts? ". [/INST] SELECT COUNT("type") FROM "former_members" WHERE "location"='Bridgewater, Massachusetts';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" text, "nickname" text, "joined" text, "left" text, "football_conference" text, "primary_conference" text );. Question: "What is the enrollment for the institution in Westfield, Massachusetts? ". [/INST] SELECT "enrollment" FROM "former_members" WHERE "location"='Westfield, Massachusetts';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" text, "nickname" text, "joined" text, "left" text, "football_conference" text, "primary_conference" text );. Question: "Which institutions primary conference is merged into the university of Massachusetts boston? ". [/INST] SELECT "institution" FROM "former_members" WHERE "primary_conference"='Merged into the University of Massachusetts Boston';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" text, "nickname" text, "joined" text, "left" text, "football_conference" text, "primary_conference" text );. Question: "What is the football conference for Henniker, New Hampshire>?". [/INST] SELECT "football_conference" FROM "former_members" WHERE "location"='Henniker, New Hampshire';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" text, "nickname" text, "joined" text, "left" text, "football_conference" text, "primary_conference" text );. Question: "What date did the institution that left in 2013 and that is nicknamed Corsairs, join? ". [/INST] SELECT "joined" FROM "former_members" WHERE "left"='2013' AND "nickname"='Corsairs';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26199484_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text );. Question: "Who wrote title number 38?". [/INST] SELECT "written_by" FROM "table1_26199484_1" WHERE "no"=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 "singles_16_12_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "Which match was the final score 7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)?". [/INST] SELECT "no" FROM "singles_16_12_4" WHERE "score_in_the_final"='7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–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 "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What is the blank ends when the skip is steve laycock?". [/INST] SELECT "blank_ends" FROM "round_robin_standings" WHERE "skip"='Steve Laycock';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What is the lowest ends won when w is 8?". [/INST] SELECT MIN("ends_won") FROM "round_robin_standings" WHERE "w"=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 "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "How many times is the ends lost 49?". [/INST] SELECT COUNT("l") FROM "round_robin_standings" WHERE "ends_lost"=49;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );. Question: "What is the pa when the skip is françois gagné?". [/INST] SELECT "pa" FROM "round_robin_standings" WHERE "skip"='François Gagné';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "registered_live_births_by_nationality_an" ( "year" real, "qatari_male" real, "qatari_female" real, "total_qatari" real, "non_qatari_male" real, "non_qatari_female" real, "total_non_qatar" real, "total_male" real, "total_female" real, "grand_total" real );. Question: "If the qatari male is 1104, what is the grand total?". [/INST] SELECT MAX("grand_total") FROM "registered_live_births_by_nationality_an" WHERE "qatari_male"=1104;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "registered_live_births_by_nationality_an" ( "year" real, "qatari_male" real, "qatari_female" real, "total_qatari" real, "non_qatari_male" real, "non_qatari_female" real, "total_non_qatar" real, "total_male" real, "total_female" real, "grand_total" real );. Question: "If the grand total is 5814, what is the total non qatar?". [/INST] SELECT "total_non_qatar" FROM "registered_live_births_by_nationality_an" WHERE "grand_total"=5814;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "registered_live_births_by_nationality_an" ( "year" real, "qatari_male" real, "qatari_female" real, "total_qatari" real, "non_qatari_male" real, "non_qatari_female" real, "total_non_qatar" real, "total_male" real, "total_female" real, "grand_total" real );. Question: "If the year is 2001, what are the non qatari female?". [/INST] SELECT "non_qatari_female" FROM "registered_live_births_by_nationality_an" WHERE "year"=2001;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "registered_live_births_by_nationality_an" ( "year" real, "qatari_male" real, "qatari_female" real, "total_qatari" real, "non_qatari_male" real, "non_qatari_female" real, "total_non_qatar" real, "total_male" real, "total_female" real, "grand_total" real );. Question: "If the qatari female is 918, what is the total number of females?". [/INST] SELECT "total_female" FROM "registered_live_births_by_nationality_an" WHERE "qatari_female"=918;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_9_5_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "How many outcomes occur for score in the final of 6–3, 6–4, 7–6 (13–11)?". [/INST] SELECT COUNT("outcome") FROM "singles_9_5_4" WHERE "score_in_the_final"='6–3, 6–4, 7–6 (13–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 "singles_9_5_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "How many outcomes occur on the date of January 31, 2010?". [/INST] SELECT COUNT("outcome") FROM "singles_9_5_4" WHERE "date"='January 31, 2010';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_9_5_4" ( "outcome" text, "no" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );. Question: "How many numbers correspond to the score in the final of 6–3, 6–4, 7–6 (13–11)?". [/INST] SELECT COUNT("no") FROM "singles_9_5_4" WHERE "score_in_the_final"='6–3, 6–4, 7–6 (13–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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );. Question: "How many championships are there when there are 6 points". [/INST] SELECT "series" FROM "career_summary" WHERE "points"='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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text );. Question: "When there are 2 wins, how many poles are?". [/INST] SELECT "poles" FROM "career_summary" WHERE "wins"=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 "table1_2623498_5" ( "episode_num" text, "season_episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );. Question: "What is the production code for episode #78?". [/INST] SELECT "prod_code" FROM "table1_2623498_5" WHERE "episode_num"='78';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2623498_5" ( "episode_num" text, "season_episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );. Question: "What is the number of titles written by Charleen Easton?". [/INST] SELECT COUNT("title") FROM "table1_2623498_5" WHERE "written_by"='Charleen Easton';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2623498_5" ( "episode_num" text, "season_episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );. Question: "What is the number of production codes for episode #73?". [/INST] SELECT COUNT("prod_code") FROM "table1_2623498_5" WHERE "episode_num"='73';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2623498_5" ( "episode_num" text, "season_episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );. Question: "What is the number of air dates titled "The Big Job"?'". [/INST] SELECT COUNT("original_air_date") FROM "table1_2623498_5" WHERE "title"='\"The Big Job\"';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );. Question: "where is Fisk University located? ". [/INST] SELECT "location" FROM "former_members" WHERE "institution"='Fisk University';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );. Question: "What is the nickname of the institution that was founded in 1857? ". [/INST] SELECT "nickname" FROM "former_members" WHERE "founded"=1857;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );. Question: "What is the enrollment for the institution nicknamed the panthers that left in 2012? ". [/INST] SELECT "enrollment" FROM "former_members" WHERE "left"='2012' AND "nickname"='Panthers';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text );. Question: "What is the institution whose current conference is gcac (naia)? ". [/INST] SELECT "institution" FROM "former_members" WHERE "current_conference"='GCAC (NAIA)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "How many original artists were there for the Group Performance?". [/INST] SELECT COUNT("original_artist") FROM "performances_results" WHERE "theme"='Group Performance';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What song was used resulting in the bottom 3?". [/INST] SELECT "song_choice" FROM "performances_results" WHERE "result"='Bottom 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 "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What is the theme for Audition week?". [/INST] SELECT "theme" FROM "performances_results" WHERE "week_num"='Audition';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "What was the results for top 12?". [/INST] SELECT "result" FROM "performances_results" WHERE "week_num"='Top 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 "performances_results" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "Who was the original artist for First Solo?". [/INST] SELECT "original_artist" FROM "performances_results" WHERE "theme"='First Solo';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );. Question: "Which episode is #4?". [/INST] SELECT "episode" FROM "performances" WHERE "order_num"='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 "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text );. Question: "What is every year for joined with the Ravens nickname?". [/INST] SELECT "joined" FROM "current_members" WHERE "nickname"='Ravens';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text );. Question: "What is every institution with a nickname of Ravens?". [/INST] SELECT "institution" FROM "current_members" WHERE "nickname"='Ravens';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26263954_1" ( "english" text, "japanese" text, "kana_spelling" text, "revised_hepburn" text, "kunrei_shiki" text, "nihon_shiki" text );. Question: "how many revised hepburn when english is roman characters". [/INST] SELECT "revised_hepburn" FROM "table1_26263954_1" WHERE "english"='Roman characters';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26263954_1" ( "english" text, "japanese" text, "kana_spelling" text, "revised_hepburn" text, "kunrei_shiki" text, "nihon_shiki" text );. Question: "when chiji is revised hepburn what are all the english". [/INST] SELECT "english" FROM "table1_26263954_1" WHERE "revised_hepburn"='chiji';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26263954_1" ( "english" text, "japanese" text, "kana_spelling" text, "revised_hepburn" text, "kunrei_shiki" text, "nihon_shiki" text );. Question: "how many number of english when kunrei-shiki is otya". [/INST] SELECT COUNT("english") FROM "table1_26263954_1" WHERE "kunrei_shiki"='otya';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26263954_1" ( "english" text, "japanese" text, "kana_spelling" text, "revised_hepburn" text, "kunrei_shiki" text, "nihon_shiki" text );. Question: "how many kana spelling when english is mount fuji ". [/INST] SELECT "kana_spelling" FROM "table1_26263954_1" WHERE "english"='Mount Fuji';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26263954_1" ( "english" text, "japanese" text, "kana_spelling" text, "revised_hepburn" text, "kunrei_shiki" text, "nihon_shiki" text );. Question: "when english is tea how many nihon-shiki". [/INST] SELECT "nihon_shiki" FROM "table1_26263954_1" WHERE "english"='tea';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26293875_3" ( "series_num" real, "season_num" real, "episode_title" text, "original_airdate" text, "prod_no" text );. Question: "What was the original airdate of the episode with production number 2x03?". [/INST] SELECT "original_airdate" FROM "table1_26293875_3" WHERE "prod_no"='2x03';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26293875_3" ( "series_num" real, "season_num" real, "episode_title" text, "original_airdate" text, "prod_no" text );. Question: "How many episodes had production number 2x13?". [/INST] SELECT COUNT("season_num") FROM "table1_26293875_3" WHERE "prod_no"='2x13';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26293875_3" ( "series_num" real, "season_num" real, "episode_title" text, "original_airdate" text, "prod_no" text );. Question: "What episode number was "Stumped Again / The Kick Stays in the Picture"?". [/INST] SELECT MIN("season_num") FROM "table1_26293875_3" WHERE "episode_title"='\"Stumped Again / The Kick Stays in the Picture\"';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26275503_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "How many different kickoffs happened when the oppenent was at Rhein Fire?". [/INST] SELECT COUNT("kickoff") FROM "table1_26275503_2" WHERE "opponent"='at Rhein Fire';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26275503_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "How many different kickoffs happened when the opponent was the Scottish Claymores". [/INST] SELECT COUNT("kickoff") FROM "table1_26275503_2" WHERE "opponent"='Scottish Claymores';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );. Question: "What is the lowest enrollment for Eastern Michigan University?". [/INST] SELECT MIN("enrollment") FROM "current_teams" WHERE "institution"='Eastern Michigan University';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );. Question: "What is Kent State University's team nickname?". [/INST] SELECT "team_nickname" FROM "current_teams" WHERE "institution"='Kent State University';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );. Question: "How many Kent State University's are there?". [/INST] SELECT COUNT("location") FROM "current_teams" WHERE "institution"='Kent State University';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );. Question: "How many school teams are nicknamed "Bulldogs".". [/INST] SELECT "location" FROM "current_teams" WHERE "team_nickname"='Bulldogs';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26375386_17" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "If the public is 4, what is the total?". [/INST] SELECT "total" FROM "table1_26375386_17" WHERE "public"=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 "table1_26375386_17" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "How many results where given for the vote percentage 3.1%?". [/INST] SELECT COUNT("result") FROM "table1_26375386_17" WHERE "vote_percentage"='3.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 "table1_26375386_17" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What couple had a vote percentage of 5.2%?". [/INST] SELECT "couple" FROM "table1_26375386_17" WHERE "vote_percentage"='5.2%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_26375386_18" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "What was the vote % of Heather and Matt?". [/INST] SELECT "vote_percentage" FROM "table1_26375386_18" WHERE "couple"='Heather and Matt';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26375386_18" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "Who was the couple on the bottom two?". [/INST] SELECT "couple" FROM "table1_26375386_18" WHERE "result"='Bottom two';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26375386_18" ( "rank" real, "couple" text, "judges" real, "public" real, "total" real, "vote_percentage" text, "result" text );. Question: "WHat was the max public with danniella and matthew?". [/INST] SELECT MAX("public") FROM "table1_26375386_18" WHERE "couple"='Danniella and Matthew';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings" ( "year" real, "timeslot" text, "network" text, "episodes" real, "viewers_in_millions_overall" text, "viewers_in_millions_target_group_14_49" text, "market_share_overall" text, "market_share_target_group_14_49" text );. Question: "If the overall viewers were 1.83 millions, what was the overall market share?". [/INST] SELECT "market_share_overall" FROM "ratings" WHERE "viewers_in_millions_overall"='1.83';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings" ( "year" real, "timeslot" text, "network" text, "episodes" real, "viewers_in_millions_overall" text, "viewers_in_millions_target_group_14_49" text, "market_share_overall" text, "market_share_target_group_14_49" text );. Question: "If the episode was number 234, what was it's timeslot?". [/INST] SELECT "timeslot" FROM "ratings" WHERE "episodes"=234;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings" ( "year" real, "timeslot" text, "network" text, "episodes" real, "viewers_in_millions_overall" text, "viewers_in_millions_target_group_14_49" text, "market_share_overall" text, "market_share_target_group_14_49" text );. Question: "What episode came out in the year 2007?". [/INST] SELECT "episodes" FROM "ratings" WHERE "year"=2007;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings" ( "year" real, "timeslot" text, "network" text, "episodes" real, "viewers_in_millions_overall" text, "viewers_in_millions_target_group_14_49" text, "market_share_overall" text, "market_share_target_group_14_49" text );. Question: "What was the timeslot for the episode in the year 2008?". [/INST] SELECT "timeslot" FROM "ratings" WHERE "year"=2008;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings" ( "year" real, "timeslot" text, "network" text, "episodes" real, "viewers_in_millions_overall" text, "viewers_in_millions_target_group_14_49" text, "market_share_overall" text, "market_share_target_group_14_49" text );. Question: "How many times was the viewer target group 0.63?". [/INST] SELECT COUNT("market_share_target_group_14_49") FROM "ratings" WHERE "viewers_in_millions_target_group_14_49"='0.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 "table1_26397277_3" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role_s" text, "brand_from" text );. Question: "Name the role for pick number 17". [/INST] SELECT "role_s" FROM "table1_26397277_3" WHERE "pick_num"=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 "table1_26397277_3" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role_s" text, "brand_from" text );. Question: "Name the brand for pick number 15". [/INST] SELECT "brand_to" FROM "table1_26397277_3" WHERE "pick_num"=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 "table1_26397277_3" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role_s" text, "brand_from" text );. Question: "Name the employee real name for raw and superstar". [/INST] SELECT "employee_real_name" FROM "table1_26397277_3" WHERE "brand_from"='Raw' AND "role_s"='Superstar';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26399982_2" ( "entered_a" text, "weeks_in_top_10" real, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_at_peak" real );. Question: "What smallest amount in the weeks at peak column?". [/INST] SELECT MIN("weeks_at_peak") FROM "table1_26399982_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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );. Question: "In which series did Lecor Sports participate?". [/INST] SELECT "series" FROM "career_summary" WHERE "team"='Lecor Sports';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );. Question: "How many times did he hold 12 poles?". [/INST] SELECT COUNT("f_laps") FROM "career_summary" WHERE "poles"=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 "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );. Question: "In how many races did he have 8 podium finishes?". [/INST] SELECT COUNT("races") FROM "career_summary" WHERE "podiums"=8;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );. Question: "how many seasons did he race in team Carlin?". [/INST] SELECT COUNT("podiums") FROM "career_summary" WHERE "team"='Carlin';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26427332_17" ( "contestant" text, "place" real, "age" real, "country" text, "federal_state" text, "city" text, "height" text, "measurements_in_cm" text );. Question: "How many entries are in the ranking for jacqueline kohl?". [/INST] SELECT COUNT("place") FROM "table1_26427332_17" WHERE "contestant"='Jacqueline Kohl';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26427332_17" ( "contestant" text, "place" real, "age" real, "country" text, "federal_state" text, "city" text, "height" text, "measurements_in_cm" text );. Question: "what measurement does the contestant from sindelfingen have?". [/INST] SELECT "measurements_in_cm" FROM "table1_26427332_17" WHERE "city"='Sindelfingen';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26427332_17" ( "contestant" text, "place" real, "age" real, "country" text, "federal_state" text, "city" text, "height" text, "measurements_in_cm" text );. Question: "for how many federal states is the city of lahnstein listed in the ranking?". [/INST] SELECT COUNT("federal_state") FROM "table1_26427332_17" WHERE "city"='Lahnstein';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26427332_17" ( "contestant" text, "place" real, "age" real, "country" text, "federal_state" text, "city" text, "height" text, "measurements_in_cm" text );. Question: "who are the participants from hanover?". [/INST] SELECT "contestant" FROM "table1_26427332_17" WHERE "city"='Hanover';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "district" real, "incumbent" text, "party" text, "elected" text, "status" text, "2010_candidates" text );. Question: "What is the highest numbred district that has brian w. thomas as an incumbent?". [/INST] SELECT MAX("district") FROM "election_results" WHERE "incumbent"='Brian W. Thomas';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "district" real, "incumbent" text, "party" text, "elected" text, "status" text, "2010_candidates" text );. Question: "What was the status of the election featuring incumbent margaret kaiser?". [/INST] SELECT "status" FROM "election_results" WHERE "incumbent"='Margaret Kaiser';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26429658_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "What is the episode number in the season titled "65 million years off"?". [/INST] SELECT "no_in_season" FROM "table1_26429658_1" WHERE "title"='\"65 Million Years Off\"';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26429658_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "How many episodes were directed by Arlene Sanford?". [/INST] SELECT COUNT("written_by") FROM "table1_26429658_1" WHERE "directed_by"='Arlene Sanford';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26429658_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "What was the title of the episode with a production code of 2010?". [/INST] SELECT "title" FROM "table1_26429658_1" WHERE "production_code"=2010;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26429658_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );. Question: "How many production codes had a US viewership of 4.43 million?". [/INST] SELECT COUNT("production_code") FROM "table1_26429658_1" WHERE "u_s_viewers_millions"='4.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 "itf_doubles" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );. Question: "How many times is the opponents in the final is beti sekulovski cindy watson?". [/INST] SELECT COUNT("score") FROM "itf_doubles" WHERE "opponents_in_the_final"='Beti Sekulovski Cindy Watson';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "itf_doubles" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );. Question: "Who is the partner when the opponents in the final is stephanie dubois olga savchuk?". [/INST] SELECT "partner" FROM "itf_doubles" WHERE "opponents_in_the_final"='Stephanie Dubois Olga Savchuk';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final" ( "draw" real, "song" text, "artist" text, "judging_panel_points" real, "televote_votes" real, "televote_points" real, "total" real, "result" text );. Question: "Which artist had a result of 4?". [/INST] SELECT "artist" FROM "final" WHERE "result"='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 "final" ( "draw" real, "song" text, "artist" text, "judging_panel_points" real, "televote_votes" real, "televote_points" real, "total" real, "result" text );. Question: "What is the minimum score given in judging panel points?". [/INST] SELECT MIN("judging_panel_points") FROM "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 "play_station_move_games" ( "title_and_source" text, "developer" text, "publisher" text, "first_released" text, "japan" text, "europe" text, "north_america" text, "exclusive" text, "move_only" text );. Question: "For the game whose developer was Ailive, is it a Move-only release?". [/INST] SELECT "move_only" FROM "play_station_move_games" WHERE "developer"='AiLive';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "play_station_move_games" ( "title_and_source" text, "developer" text, "publisher" text, "first_released" text, "japan" text, "europe" text, "north_america" text, "exclusive" text, "move_only" text );. Question: "How many titles/sources have a developer of Clover Studio?". [/INST] SELECT COUNT("title_and_source") FROM "play_station_move_games" WHERE "developer"='Clover Studio';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "play_station_move_games" ( "title_and_source" text, "developer" text, "publisher" text, "first_released" text, "japan" text, "europe" text, "north_america" text, "exclusive" text, "move_only" text );. Question: "What is the title and source for the game developed by Hydravision Entertainment?". [/INST] SELECT "title_and_source" FROM "play_station_move_games" WHERE "developer"='Hydravision Entertainment';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2655016_9" ( "season_num" real, "series_num" real, "episode_title" text, "original_air_date" text, "nick_prod_num" text );. Question: "What is the series # on airdate September 21, 2002?". [/INST] SELECT "series_num" FROM "table1_2655016_9" WHERE "original_air_date"='September 21, 2002';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2655016_9" ( "season_num" real, "series_num" real, "episode_title" text, "original_air_date" text, "nick_prod_num" text );. Question: "what is the series number of the "harry bladder special"?". [/INST] SELECT "series_num" FROM "table1_2655016_9" WHERE "episode_title"='\"Harry Bladder Special\"';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_26565917_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "what was the name of episode 5?". [/INST] SELECT "title" FROM "table1_26565917_2" WHERE "no_in_season"=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 "table1_26565917_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "when did 14.55 people watch?". [/INST] SELECT "original_air_date" FROM "table1_26565917_2" WHERE "u_s_viewers_millions"='14.55';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );. Question: "What is the smallest top 10 figure?". [/INST] SELECT MIN("top_10") FROM "nascar_nationwide_series";</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );. Question: "What is the earliest year on the chart?". [/INST] SELECT MIN("year") FROM "nascar_nationwide_series";</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );. Question: "Which team had $15,785 in winnings?". [/INST] SELECT "team_s" FROM "nascar_nationwide_series" WHERE "winnings"='$15,785';</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.