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 "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text );. Question: "Who was the opponent at the game attended by 45,000?". [/INST] SELECT "opponentnum" FROM "schedule" WHERE "attendance"='45,000';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );. Question: "Which Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura?". [/INST] SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='factor x deficiency as seen in amyloid purpura';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );. Question: "Which Platelet count has a Condition of bernard-soulier syndrome?". [/INST] SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='bernard-soulier syndrome';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );. Question: "Which Prothrombin time has a Platelet count of unaffected, and a Bleeding time of unaffected, and a Partial thromboplastin time of normal or mildly prolonged?". [/INST] SELECT "prothrombin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='unaffected' AND "bleeding_time"='unaffected' AND "partial_thromboplastin_time"='normal or mildly prolonged';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );. Question: "Which Platelet count has a Condition of factor v deficiency?". [/INST] SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='factor v deficiency';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );. Question: "Which Condition has a Bleeding time of unaffected, and a Partial thromboplastin time of prolonged, and a Prothrombin time of unaffected?". [/INST] SELECT "condition" FROM "laboratory_findings_in_various_platelet_" WHERE "bleeding_time"='unaffected' AND "partial_thromboplastin_time"='prolonged' AND "prothrombin_time"='unaffected';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text );. Question: "What is hemophilia's bleeding time?". [/INST] SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='hemophilia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );. Question: "Which Bronze has a Year smaller than 1994, and a Silver of south korea?". [/INST] SELECT "bronze" FROM "team" WHERE "year"<1994 AND "silver"='south korea';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );. Question: "Which Location has a Silver of japan?". [/INST] SELECT "location" FROM "team" WHERE "silver"='japan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );. Question: "Which Year is the highest one that has a Bronze of south korea, and a Silver of philippines?". [/INST] SELECT MAX("year") FROM "team" WHERE "bronze"='south korea' AND "silver"='philippines';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );. Question: "How many years has Japan won silver?". [/INST] SELECT SUM("year") FROM "team" WHERE "silver"='japan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "What was the Indians record during the game that had 19,823 fans attending?". [/INST] SELECT "record" FROM "game_log" WHERE "attendance"='19,823';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "What date did the Indians have a record of 14-28?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='14-28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "In what Round was George Thomas Picked?". [/INST] SELECT AVG("round") FROM "atlanta_falcons_draft_history" WHERE "name"='george 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 "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What was the first Round with a Pick # greater than 1 and 140 Overall?". [/INST] SELECT MIN("round") FROM "atlanta_falcons_draft_history" WHERE "pick_num">1 AND "overall">140;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What is Aundray Bruce's Pick #?". [/INST] SELECT "pick_num" FROM "atlanta_falcons_draft_history" WHERE "name"='aundray bruce';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech?". [/INST] SELECT COUNT("round") FROM "atlanta_falcons_draft_history" WHERE "college"='virginia tech' AND "overall">306;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );. Question: "Which highest wins number had Kawasaki as a team, 95 points, and a year prior to 1981?". [/INST] SELECT MAX("wins") FROM "motorcycle_grand_prix_results" WHERE "team"='kawasaki' AND "points"=95 AND "year"<1981;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );. Question: "How many points numbers had a class of 250cc, a year prior to 1978, Yamaha as a team, and where wins was more than 0?". [/INST] SELECT COUNT("points") FROM "motorcycle_grand_prix_results" WHERE "class"='250cc' AND "year"<1978 AND "team"='yamaha' AND "wins">0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );. Question: "What is the mean year number where there are more than 0 wins, the class is 250cc, and the points are 95?". [/INST] SELECT AVG("year") FROM "motorcycle_grand_prix_results" WHERE "wins">0 AND "class"='250cc' AND "points"=95;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "What is the score on december 10?". [/INST] SELECT "score" FROM "december" WHERE "date"='december 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 "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "What is the date for the home detroit and visitor was chicago?". [/INST] SELECT "date" FROM "december" WHERE "home"='detroit' AND "visitor"='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 "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "Who is the visitor on december 3?". [/INST] SELECT "visitor" FROM "december" WHERE "date"='december 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 "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "Who is the visitor on the date december 31?". [/INST] SELECT "visitor" FROM "december" WHERE "date"='december 31';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007" ( "date" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text );. Question: "What is the location of the race on 11 November?". [/INST] SELECT "location" FROM "2007" WHERE "date"='11 november';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007" ( "date" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text );. Question: "Who is the winner of the race in Burkina Faso?". [/INST] SELECT "winner" FROM "2007" WHERE "location"='burkina faso';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "vcd" ( "release_date" text, "release_title" text, "country" text, "publisher" text, "format" text, "language" text, "subtitles" text, "notes" text );. Question: "What is the release date of Martial Law: Take Out?". [/INST] SELECT "release_date" FROM "vcd" WHERE "release_title"='martial law: take out';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "vcd" ( "release_date" text, "release_title" text, "country" text, "publisher" text, "format" text, "language" text, "subtitles" text, "notes" text );. Question: "Which publisher released Martial Law: Substitutes?". [/INST] SELECT "publisher" FROM "vcd" WHERE "release_title"='martial law: substitutes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "vcd" ( "release_date" text, "release_title" text, "country" text, "publisher" text, "format" text, "language" text, "subtitles" text, "notes" text );. Question: "Which country had a release of 1 VCD titled Martial Law: Substitutes?". [/INST] SELECT "country" FROM "vcd" WHERE "notes"='1 vcd' AND "release_title"='martial law: substitutes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "vcd" ( "release_date" text, "release_title" text, "country" text, "publisher" text, "format" text, "language" text, "subtitles" text, "notes" text );. Question: "Who was the publisher of Martial Law: Dead Ringers?". [/INST] SELECT "publisher" FROM "vcd" WHERE "release_title"='martial law: dead ringers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1990s_jets_11_9" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );. Question: "What is the name of the Loser when the winner was new england patriots, and a Location of giants stadium, and a Result of 30–28?". [/INST] SELECT "loser" FROM "1990s_jets_11_9" WHERE "winner"='new england patriots' AND "location"='giants stadium' AND "result"='30–28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1990s_jets_11_9" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );. Question: "What team was the lower when the winner was the new york jets, and a Year earlier than 1994, and a Result of 37–13?". [/INST] SELECT "loser" FROM "1990s_jets_11_9" WHERE "winner"='new york jets' AND "year"<1994 AND "result"='37–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 "1990s_jets_11_9" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );. Question: "What is the location when the new york jets lost earlier than 1997 and a Result of 31–28?". [/INST] SELECT "location" FROM "1990s_jets_11_9" WHERE "loser"='new york jets' AND "year"<1997 AND "result"='31–28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1990s_jets_11_9" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );. Question: "What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium?". [/INST] SELECT SUM("year") FROM "1990s_jets_11_9" WHERE "winner"='new york jets' AND "result"='24–17' AND "location"='giants stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "year" real, "type" text, "label" text, "catalog_num" text, "country" text );. Question: "What is the earliest year catalog # ual 24033 had an LP?". [/INST] SELECT MIN("year") FROM "release_history" WHERE "type"='lp' AND "catalog_num"='ual 24033';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_medalists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text );. Question: "Which Games had a Name of manuel felix diaz?". [/INST] SELECT "games" FROM "list_of_medalists" WHERE "name"='manuel felix diaz';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_medalists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text );. Question: "Which Medal had a Games of 2008 beijing, and a Sport of taekwondo?". [/INST] SELECT "medal" FROM "list_of_medalists" WHERE "games"='2008 beijing' AND "sport"='taekwondo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_medalists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text );. Question: "Which Medal had a Name of félix sánchez, and a Games of 2012 london?". [/INST] SELECT "medal" FROM "list_of_medalists" WHERE "name"='félix sánchez' AND "games"='2012 london';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_medalists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text );. Question: "Which Sport had an Event of men's 400 m hurdles?". [/INST] SELECT "sport" FROM "list_of_medalists" WHERE "event"='men''s 400 m hurdles';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_medalists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text );. Question: "What Medal had a Name of manuel felix diaz?". [/INST] SELECT "medal" FROM "list_of_medalists" WHERE "name"='manuel felix diaz';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_medalists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text );. Question: "Which Name had a Games of 2008 beijing, and a Medal of gold?". [/INST] SELECT "name" FROM "list_of_medalists" WHERE "games"='2008 beijing' AND "medal"='gold';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );. Question: "What is bedford's mascot?". [/INST] SELECT "mascot" FROM "indiana_high_school_athletics_conference" WHERE "location"='bedford';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Segment A of heather gems is what netflix episode?". [/INST] SELECT "netflix" FROM "season_17_2011" WHERE "segment_a"='heather gems';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Segment B of aerospace fuel lines is what netflix episode?". [/INST] SELECT "netflix" FROM "season_17_2011" WHERE "segment_b"='aerospace fuel lines';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Segment B of aerospace fuel lines has what segment A?". [/INST] SELECT "segment_a" FROM "season_17_2011" WHERE "segment_b"='aerospace fuel lines';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_17_2011" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );. Question: "Episode smaller than 210 had what segment c?". [/INST] SELECT "segment_c" FROM "season_17_2011" WHERE "episode"<210;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "collected_editions" ( "vol_num" real, "title" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "What's the Material collected for the 978-1401209674 ISBN?". [/INST] SELECT "material_collected" FROM "collected_editions" WHERE "isbn"='978-1401209674';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "collected_editions" ( "vol_num" real, "title" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "How many Volume Numbers have the title of Darkness Falls?". [/INST] SELECT SUM("vol_num") FROM "collected_editions" WHERE "title"='darkness falls';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "collected_editions" ( "vol_num" real, "title" text, "material_collected" text, "publication_date" text, "isbn" text );. Question: "What's the Lowest Volume Number that was published November 2004?". [/INST] SELECT MIN("vol_num") FROM "collected_editions" WHERE "publication_date"='november 2004';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1952" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "What Type of game has a Results¹ of 10:1?". [/INST] SELECT "type_of_game" FROM "1952" WHERE "results"='10: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 "1952" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹?". [/INST] SELECT "results" FROM "1952" WHERE "type_of_game"='friendly' AND "city"='belgrade' AND "date"='november 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 "1952" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "What is the name of the City with December 21 as a Date?". [/INST] SELECT "city" FROM "1952" WHERE "date"='december 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 "1952" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "What Type of game was played on Date of July 29?". [/INST] SELECT "type_of_game" FROM "1952" WHERE "date"='july 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 "1952" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text );. Question: "What is the Results¹ that was a friendly game and played on June 25?". [/INST] SELECT "results" FROM "1952" WHERE "type_of_game"='friendly' AND "date"='june 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 "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );. Question: "What is the version shown for the Length of 4:58?". [/INST] SELECT "version" FROM "official_versions" WHERE "length"='4:58';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );. Question: "What is the version shown for the Length of 5:20, and shows Remixed by —?". [/INST] SELECT "version" FROM "official_versions" WHERE "length"='5:20' AND "remixed_by"='—';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "Record of 19–16 occurred on what date?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='19–16';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "Loss of postponed (rain) rescheduled for may 10 had what record?". [/INST] SELECT "record" FROM "game_log" WHERE "loss"='postponed (rain) rescheduled for may 10';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "Opponent of @ braves, and a Loss of pelfrey (2–5) had what score?". [/INST] SELECT "score" FROM "game_log" WHERE "opponent"='@ braves' AND "loss"='pelfrey (2–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" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "Attendance of 30,335 had what record?". [/INST] SELECT "record" FROM "game_log" WHERE "attendance"='30,335';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "Record of 22–20 involved what score?". [/INST] SELECT "score" FROM "game_log" WHERE "record"='22–20';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );. Question: "Score of postponed (rain) rescheduled for June 27 had what loss?". [/INST] SELECT "loss" FROM "game_log" WHERE "score"='postponed (rain) rescheduled for june 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 "broadcast" ( "call_sign" text, "analog_channel" text, "digital_channel" text, "virtual_channel" text, "network" text, "station_ownership" text );. Question: "Station Ownership of eicb tv, and a Call sign of ktcj-ld is what virtual network?". [/INST] SELECT "virtual_channel" FROM "broadcast" WHERE "station_ownership"='eicb tv' AND "call_sign"='ktcj-ld';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "broadcast" ( "call_sign" text, "analog_channel" text, "digital_channel" text, "virtual_channel" text, "network" text, "station_ownership" text );. Question: "Call sign of k33ln-ld, and a Virtual channel of 33.5 is what network?". [/INST] SELECT "network" FROM "broadcast" WHERE "call_sign"='k33ln-ld' AND "virtual_channel"='33.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 "broadcast" ( "call_sign" text, "analog_channel" text, "digital_channel" text, "virtual_channel" text, "network" text, "station_ownership" text );. Question: "Digital channel of 32 belongs to what analog channel?". [/INST] SELECT "analog_channel" FROM "broadcast" WHERE "digital_channel"='32';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "broadcast" ( "call_sign" text, "analog_channel" text, "digital_channel" text, "virtual_channel" text, "network" text, "station_ownership" text );. Question: "Call sign of k43hb-ld is what virtual channel?". [/INST] SELECT "virtual_channel" FROM "broadcast" WHERE "call_sign"='k43hb-ld';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "broadcast" ( "call_sign" text, "analog_channel" text, "digital_channel" text, "virtual_channel" text, "network" text, "station_ownership" text );. Question: "Virtual channel of 16.5 has what call sign?". [/INST] SELECT "call_sign" FROM "broadcast" WHERE "virtual_channel"='16.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 "broadcast" ( "call_sign" text, "analog_channel" text, "digital_channel" text, "virtual_channel" text, "network" text, "station_ownership" text );. Question: "Network of nbc is what digital channel?". [/INST] SELECT "digital_channel" FROM "broadcast" WHERE "network"='nbc';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "participation_and_medals" ( "games" real, "first" real, "last" real, "gold" real, "bronze" real, "total" real, "best_finish_first_last" text );. Question: "What is the latest first year with 0 total medals and over 0 golds?". [/INST] SELECT MAX("first") FROM "participation_and_medals" WHERE "total">0 AND "gold">0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "participation_and_medals" ( "games" real, "first" real, "last" real, "gold" real, "bronze" real, "total" real, "best_finish_first_last" text );. Question: "How many bronzes associated with over 0 total medals, 3 golds, and over 6 games?". [/INST] SELECT AVG("bronze") FROM "participation_and_medals" WHERE "total">0 AND "gold"=3 AND "games">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 "participation_and_medals" ( "games" real, "first" real, "last" real, "gold" real, "bronze" real, "total" real, "best_finish_first_last" text );. Question: "What is the fewest number of medals associated with under 6 games and over 0 golds?". [/INST] SELECT MIN("total") FROM "participation_and_medals" WHERE "games"<6 AND "gold">0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "participation_and_medals" ( "games" real, "first" real, "last" real, "gold" real, "bronze" real, "total" real, "best_finish_first_last" text );. Question: "How many games are associated with over 0 golds and a first year before 2008?". [/INST] SELECT SUM("games") FROM "participation_and_medals" WHERE "gold">0 AND "first"<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 "top_scorers" ( "rank" real, "player" text, "goals" real, "games" real, "goal_ratio" real );. Question: "What is the largest value for goals in rank over 3 with goal ration of 0.54?". [/INST] SELECT MAX("goals") FROM "top_scorers" WHERE "rank">3 AND "goal_ratio"=0.54;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "top_scorers" ( "rank" real, "player" text, "goals" real, "games" real, "goal_ratio" real );. Question: "How many goal ratios have rank of 2 with more than 44 games?". [/INST] SELECT COUNT("goal_ratio") FROM "top_scorers" WHERE "rank"=2 AND "games">44;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "top_scorers" ( "rank" real, "player" text, "goals" real, "games" real, "goal_ratio" real );. Question: "How many games have 23 goals with a rank greater than 9?". [/INST] SELECT COUNT("games") FROM "top_scorers" WHERE "goals"=23 AND "rank">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 "top_scorers" ( "rank" real, "player" text, "goals" real, "games" real, "goal_ratio" real );. Question: "How many goals have a goal ration less than 0.8 with 56 games?". [/INST] SELECT COUNT("goals") FROM "top_scorers" WHERE "goal_ratio"<0.8 AND "games"=56;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "outcome" text, "event" text, "year" text, "venue" text, "opponent_in_the_final" text );. Question: "What Event has an Outcome of other open tournaments?". [/INST] SELECT "event" FROM "singles" WHERE "outcome"='other open tournaments';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "outcome" text, "event" text, "year" text, "venue" text, "opponent_in_the_final" text );. Question: "What is the Outcome of the Singles Event in London, England?". [/INST] SELECT "outcome" FROM "singles" WHERE "event"='singles' AND "venue"='london, 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 "singles" ( "outcome" text, "event" text, "year" text, "venue" text, "opponent_in_the_final" text );. Question: "What is the Opponent in final with an All England Open Outcome?". [/INST] SELECT "opponent_in_the_final" FROM "singles" WHERE "outcome"='all england 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" ( "outcome" text, "event" text, "year" text, "venue" text, "opponent_in_the_final" text );. Question: "Who was the Opponent in London, England with an Outcome of 1?". [/INST] SELECT "opponent_in_the_final" FROM "singles" WHERE "outcome"='1' AND "venue"='london, 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 "singles" ( "outcome" text, "event" text, "year" text, "venue" text, "opponent_in_the_final" text );. Question: "What is the Outcome when All England Open is the Opponent in the final?". [/INST] SELECT "outcome" FROM "singles" WHERE "opponent_in_the_final"='all england 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 "special_stages" ( "stage" text, "time" text, "name" text, "length" text, "winner" text );. Question: "What is the Name of the stage with a Length of 16.62km and Time of 15:10?". [/INST] SELECT "name" FROM "special_stages" WHERE "length"='16.62km' AND "time"='15: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 "special_stages" ( "stage" text, "time" text, "name" text, "length" text, "winner" text );. Question: "What is the Name of the stage with S. Loeb as the Winner with a Length of 13.04km and a Stage of SS12?". [/INST] SELECT "name" FROM "special_stages" WHERE "winner"='s. loeb' AND "length"='13.04km' AND "stage"='ss12';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "special_stages" ( "stage" text, "time" text, "name" text, "length" text, "winner" text );. Question: "What is the Name of the SS5 Stage?". [/INST] SELECT "name" FROM "special_stages" WHERE "stage"='ss5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "special_stages" ( "stage" text, "time" text, "name" text, "length" text, "winner" text );. Question: "What is the Name of the SS11 Stage?". [/INST] SELECT "name" FROM "special_stages" WHERE "stage"='ss11';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule_and_results" ( "game" real, "march" real, "opponent" text, "score" text, "record" text );. Question: "How many games ended in a record of 30-28-4, with a March more than 1?". [/INST] SELECT COUNT("game") FROM "schedule_and_results" WHERE "record"='30-28-4' AND "march">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 "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );. Question: "What competition has a result of W on June 30, 1966?". [/INST] SELECT "competition" FROM "brazil_national_team" WHERE "result"='w' AND "date"='june 30, 1966';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );. Question: "What is the result of the International Friendly competition on May 15, 1966?". [/INST] SELECT "result" FROM "brazil_national_team" WHERE "competition"='international friendly' AND "date"='may 15, 1966';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );. Question: "What is the result when the score is 4-0?". [/INST] SELECT "result" FROM "brazil_national_team" WHERE "score"='4-0';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_final_statistics" ( "rank" real, "airport" text, "code_iata_icao" text, "total_cargo_metric_tonnes" real, "pct_change" text );. Question: "What is the code for rank 10?". [/INST] SELECT "code_iata_icao" FROM "2008_final_statistics" WHERE "rank"=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 "2008_final_statistics" ( "rank" real, "airport" text, "code_iata_icao" text, "total_cargo_metric_tonnes" real, "pct_change" text );. Question: "What is the rank for ord/kord with more than 1,332,123 total cargo?". [/INST] SELECT MIN("rank") FROM "2008_final_statistics" WHERE "code_iata_icao"='ord/kord' AND "total_cargo_metric_tonnes">'1,332,123';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "judges_scoring_summary" ( "team" text, "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text, "week_8_final" text );. Question: "Name the week 6 when week 3 is 25 and week 7 is eliminated". [/INST] SELECT "week_6" FROM "judges_scoring_summary" WHERE "week_3"='25' AND "week_7"='eliminated';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "judges_scoring_summary" ( "team" text, "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text, "week_8_final" text );. Question: "Name the week 3 for team of mark/jennifer". [/INST] SELECT "week_3" FROM "judges_scoring_summary" WHERE "team"='mark/jennifer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "judges_scoring_summary" ( "team" text, "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text, "week_8_final" text );. Question: "Name the team for week 1 of 33". [/INST] SELECT "team" FROM "judges_scoring_summary" WHERE "week_1"='33';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "judges_scoring_summary" ( "team" text, "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text, "week_8_final" text );. Question: "Name the week 3 with week 6 of 31+40=71". [/INST] SELECT "week_3" FROM "judges_scoring_summary" WHERE "week_6"='31+40=71';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "judges_scoring_summary" ( "team" text, "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text, "week_8_final" text );. Question: "Name the week 3 of 36". [/INST] SELECT "week_1" FROM "judges_scoring_summary" WHERE "week_3"='36';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "judges_scoring_summary" ( "team" text, "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text, "week_8_final" text );. Question: "Name the team for week 1 of 28". [/INST] SELECT "team" FROM "judges_scoring_summary" WHERE "week_1"='28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "Who was the home team in the game having a visitor of Chicago?". [/INST] SELECT "home" FROM "april" WHERE "visitor"='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 "april" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "What is the date of the game that had a visitor of Chicago?". [/INST] SELECT "date" FROM "april" WHERE "visitor"='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 "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );. Question: "what album is 5:15 long". [/INST] SELECT "version" FROM "official_versions" WHERE "length"='5:15';</s>