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 "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "result" text );. Question: "What is the language of the film Rosie?". [/INST] SELECT "language_s" FROM "submissions" WHERE "original_title"='rosie';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "language_s" text, "result" text );. Question: "What was the title used for Rosie, the film nominated for the dutch language?". [/INST] SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "language_s"='dutch' AND "original_title"='rosie';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );. Question: "What year did Carolina Marin win the Women's singles?". [/INST] SELECT "year" FROM "previous_winners" WHERE "women_s_singles"='carolina marin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );. Question: "Who won the Mixed Doubles in 2007?". [/INST] SELECT "mixed_doubles" FROM "previous_winners" 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 "previous_winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );. Question: "Who won the Mixed doubles when Juliane Schenk won the Women's Singles?". [/INST] SELECT "mixed_doubles" FROM "previous_winners" WHERE "women_s_singles"='juliane schenk';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2003_ohio_state_buckeyes_football_team" ( "player" text, "round" real, "pick" real, "position" text, "nfl_club" text );. Question: "What is the average Round number of Player Adrien Clarke?". [/INST] SELECT AVG("round") FROM "2003_ohio_state_buckeyes_football_team" WHERE "player"='adrien clarke';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2003_ohio_state_buckeyes_football_team" ( "player" text, "round" real, "pick" real, "position" text, "nfl_club" text );. Question: "What is the highest round number of a Pick after 209.". [/INST] SELECT MAX("round") FROM "2003_ohio_state_buckeyes_football_team" WHERE "pick">209;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" real, "record" text );. Question: "What was the score when the Blue Jays had a record of 39-20?". [/INST] SELECT "score" FROM "game_log" WHERE "record"='39-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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Which player has a to par of e and a score of 67-73=140?". [/INST] SELECT "player" FROM "second_round" WHERE "to_par"='e' AND "score"='67-73=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 "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What country is Adam Scott from?". [/INST] SELECT "country" FROM "second_round" WHERE "player"='adam scott';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What is Canada's score?". [/INST] SELECT "score" FROM "second_round" WHERE "country"='canada';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Which country has a score of 70-66=136?". [/INST] SELECT "country" FROM "second_round" WHERE "score"='70-66=136';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Which player is from Sweden?". [/INST] SELECT "player" FROM "second_round" WHERE "country"='sweden';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scorers" ( "player" text, "tries" real, "goals" real, "field_goals" real, "points" real );. Question: "What is the total number of field goals of Denan Kemp, who has more than 4 tries, more than 32 points, and 0 goals?". [/INST] SELECT COUNT("field_goals") FROM "scorers" WHERE "tries">4 AND "points">32 AND "goals"=0 AND "player"='denan kemp';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scorers" ( "player" text, "tries" real, "goals" real, "field_goals" real, "points" real );. Question: "How many points did the player with 2 tries and more than 0 field goals have?". [/INST] SELECT SUM("points") FROM "scorers" WHERE "tries"=2 AND "field_goals">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 "scorers" ( "player" text, "tries" real, "goals" real, "field_goals" real, "points" real );. Question: "What is the number of goals Dave Taylor, who has more than 1 tries, has?". [/INST] SELECT SUM("goals") FROM "scorers" WHERE "player"='dave taylor' AND "tries">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 "scorers" ( "player" text, "tries" real, "goals" real, "field_goals" real, "points" real );. Question: "How many goals did the player with less than 4 points have?". [/INST] SELECT COUNT("goals") FROM "scorers" WHERE "points"<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 "scorers" ( "player" text, "tries" real, "goals" real, "field_goals" real, "points" real );. Question: "What is the lowest tries the player with more than 0 goals, 28 points, and more than 0 field goals have?". [/INST] SELECT MIN("tries") FROM "scorers" WHERE "goals">0 AND "points"=28 AND "field_goals">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 "former_members" ( "school" text, "location" text, "mascot" text, "county" text, "joined" text, "previous_conference" text, "left" text, "conference_joined" text );. Question: "When doeas Mascot of blue devils in Gary Froebel School?". [/INST] SELECT "joined" FROM "former_members" WHERE "mascot"='blue devils';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "school" text, "location" text, "mascot" text, "county" text, "joined" text, "previous_conference" text, "left" text, "conference_joined" text );. Question: "Which conference held at School of whiting?". [/INST] SELECT "previous_conference" FROM "former_members" WHERE "school"='whiting';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "external_links" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text );. Question: "What is the lifespan of Joseph Vance, a democratic-republican from Ohio?". [/INST] SELECT "lifespan" FROM "external_links" WHERE "state"='ohio' AND "representative"='joseph vance' AND "party"='democratic-republican';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "m_ps_1832_1885" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text );. Question: "What was the 2nd Party that had the 2nd Member John Barneby, when the 1st Party was Conservative?". [/INST] SELECT "2nd_party" FROM "m_ps_1832_1885" WHERE "2nd_member"='john barneby' AND "1st_party"='conservative';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "m_ps_1832_1885" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text );. Question: "What was the 2nd Party, when the 1st Member was John Hodgetts-Foley, and the 2nd Member was Hon. Frederick Gough-Calthorpe?". [/INST] SELECT "2nd_party" FROM "m_ps_1832_1885" WHERE "1st_member"='john hodgetts-foley' AND "2nd_member"='hon. frederick gough-calthorpe';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "m_ps_1832_1885" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text );. Question: "What was the 1st Party when the 1st Member was William Congreve Russell?". [/INST] SELECT "1st_party" FROM "m_ps_1832_1885" WHERE "1st_member"='william congreve russell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "m_ps_1832_1885" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text );. Question: "What was the 1st Member when the 1st Party had its representation reduced to one member?". [/INST] SELECT "1st_member" FROM "m_ps_1832_1885" WHERE "1st_party"='representation reduced to one member';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "m_ps_1832_1885" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text );. Question: "What was the 2nd Party when its 2nd Member was George Rushout-Bowes, and the 1st Party was Liberal?". [/INST] SELECT "2nd_party" FROM "m_ps_1832_1885" WHERE "2nd_member"='george rushout-bowes' AND "1st_party"='liberal';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "record" text );. Question: "Name the loss on may 22". [/INST] SELECT "loss" FROM "game_log" WHERE "date"='may 22';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "Who was the Blue Jays opponent when their record was 84-69?". [/INST] SELECT "opponent" FROM "game_log" WHERE "record"='84-69';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was the date of the game when their record was 84-69?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='84-69';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" text );. Question: "How many laps does the one ranked 16 have?". [/INST] SELECT "laps" FROM "indy_500_results" WHERE "rank"='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 "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" text );. Question: "What is the start of the race with 676 laps?". [/INST] SELECT "start" FROM "indy_500_results" WHERE "laps"='676';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" text );. Question: "What year was the ranking 1?". [/INST] SELECT "year" FROM "indy_500_results" WHERE "rank"='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 "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" text );. Question: "What finish qualified at 141.071?". [/INST] SELECT "finish" FROM "indy_500_results" WHERE "qual"='141.071';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" text );. Question: "What ranking that had a start of 19?". [/INST] SELECT "rank" FROM "indy_500_results" WHERE "start"='19';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" text );. Question: "How many laps was qualifier of 138.212?". [/INST] SELECT "laps" FROM "indy_500_results" WHERE "qual"='138.212';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round_friday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Name the place for score of 67-70=137 and stuart appleby". [/INST] SELECT "place" FROM "second_round_friday" WHERE "score"='67-70=137' AND "player"='stuart appleby';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round_friday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Name the player for fiji". [/INST] SELECT "player" FROM "second_round_friday" WHERE "country"='fiji';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round_friday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Name the score for fiji". [/INST] SELECT "score" FROM "second_round_friday" WHERE "country"='fiji';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round_friday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Name the score for vijay singh". [/INST] SELECT "score" FROM "second_round_friday" WHERE "player"='vijay singh';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "club_career_stats" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real );. Question: "What division was Ukraine in 2006/07?". [/INST] SELECT "division" FROM "club_career_stats" WHERE "country"='ukraine' AND "season"='2006/07';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states" ( "episode_num" real, "title" text, "airdate" text, "rating" real, "share" real, "18_49" real, "viewers_millions" real, "rank" text );. Question: "What is the Airdate of the episode that ranked #29 and had a share greater than 10?". [/INST] SELECT "airdate" FROM "united_states" WHERE "share"=10 AND "rank"='#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 "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What city is fuhlsbüttel airport in?". [/INST] SELECT "city" FROM "destinations" WHERE "airport"='fuhlsbüttel airport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the IATA for Ringway Airport in the United Kingdom?". [/INST] SELECT "iata" FROM "destinations" WHERE "country"='united kingdom' AND "airport"='ringway airport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "Which city has the IATA SSG?". [/INST] SELECT "city" FROM "destinations" WHERE "iata"='ssg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the IATA of galeão airport?". [/INST] SELECT "iata" FROM "destinations" WHERE "airport"='galeão airport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the ICAO of Douala city?". [/INST] SELECT "icao" FROM "destinations" WHERE "city"='douala';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the ICAO of Lohausen airport?". [/INST] SELECT "icao" FROM "destinations" WHERE "airport"='lohausen airport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" real, "record" text );. Question: "What was the score of the game when their record was 62-67". [/INST] SELECT "score" FROM "game_log" WHERE "record"='62-67';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_revisions" ( "codename" text, "hdmi" text, "power_supply" text, "in_production" text, "date_released" text );. Question: "Does Trinity (valhalla) have HDMI?". [/INST] SELECT "hdmi" FROM "list_of_revisions" WHERE "codename"='trinity (valhalla)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_revisions" ( "codename" text, "hdmi" text, "power_supply" text, "in_production" text, "date_released" text );. Question: "Is Jasper being producted?". [/INST] SELECT "in_production" FROM "list_of_revisions" WHERE "codename"='jasper';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );. Question: "What is the result of Courtney Walsh ?". [/INST] SELECT "result" FROM "england_in_west_indies" WHERE "home_captain"='courtney walsh';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );. Question: "When did a Venue of Antigua Recreation Ground happen?". [/INST] SELECT "date" FROM "england_in_west_indies" WHERE "venue"='antigua recreation ground';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );. Question: "What is the Venue which has a Wi by 8 wkts?". [/INST] SELECT "venue" FROM "england_in_west_indies" WHERE "result"='wi by 8 wkts';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );. Question: "Which Home captain has Date of 25,26,27,29,30 march 1994?". [/INST] SELECT "home_captain" FROM "england_in_west_indies" WHERE "date"='25,26,27,29,30 march 1994';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );. Question: "Which Home Captain has Venue of Bourda?". [/INST] SELECT "home_captain" FROM "england_in_west_indies" WHERE "venue"='bourda';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );. Question: "Which Home Captain has Eng by 208 runs?". [/INST] SELECT "home_captain" FROM "england_in_west_indies" WHERE "result"='eng by 208 runs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_goalscorers" ( "name" text, "period" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real, "apps" real, "goal_ratio" real );. Question: "What's the Highest Goal Ratio with a League of 88 and an FA Cup less than 7?". [/INST] SELECT MAX("goal_ratio") FROM "top_goalscorers" WHERE "league"=88 AND "fa_cup"<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 "top_goalscorers" ( "name" text, "period" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real, "apps" real, "goal_ratio" real );. Question: "What's the highest FA Cup with the Name of Alan Smith, and League Cup smaller than 4?". [/INST] SELECT MAX("fa_cup") FROM "top_goalscorers" WHERE "name"='alan smith' AND "league_cup"<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 "top_goalscorers" ( "name" text, "period" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real, "apps" real, "goal_ratio" real );. Question: "What's the lowest Total thats got an FA Cup larger than 10, Name of Arthur Chandler, and a League Cup thats larger than 0?". [/INST] SELECT MIN("total") FROM "top_goalscorers" WHERE "fa_cup">10 AND "name"='arthur chandler' AND "league_cup">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 "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "What was the lowest year that the engine Ilmor 2175a 3.5 v10 was used?". [/INST] SELECT MIN("year") FROM "complete_formula_one_world_championship_" WHERE "engine"='ilmor 2175a 3.5 v10';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "Which engine did dr ing f porsche kg use with the porsche rsk (f2) chassis?". [/INST] SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "entrant"='dr ing f porsche kg' AND "chassis"='porsche rsk (f2)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "What chassis did the porsche flat-4 use before 1958?". [/INST] SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "engine"='porsche flat-4' AND "year"<1958;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "What engine did the porsche 718 chassis use?". [/INST] SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "chassis"='porsche 718';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "Which year had more than 0 points?". [/INST] SELECT COUNT("year") FROM "complete_formula_one_world_championship_" WHERE "points">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 "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "What position is 1999?". [/INST] SELECT "position" FROM "achievements" WHERE "year"=1999;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "Where were the Mediterranean games after 2005?". [/INST] SELECT "venue" FROM "achievements" WHERE "competition"='mediterranean games' AND "year">2005;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "What are the notes for bydgoszcz, Poland?". [/INST] SELECT "notes" FROM "achievements" WHERE "venue"='bydgoszcz, poland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text );. Question: "Name the least lane for kasey giteau and rank less than 18". [/INST] SELECT MIN("lane") FROM "heats" WHERE "name"='kasey giteau' AND "rank"<18;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text );. Question: "Name the total number of lane for brooke bennett and rank less than 1". [/INST] SELECT COUNT("lane") FROM "heats" WHERE "name"='brooke bennett' AND "rank"<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 "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text );. Question: "Name the average rank with larger than 3 and heat more than 5". [/INST] SELECT AVG("rank") FROM "heats" WHERE "lane">3 AND "heat">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 "western_division" ( "year" real, "alabama" text, "arkansas" text, "auburn" text, "ole_miss" text, "mississippi_st" text );. Question: "Who was the player associated with Ole Miss in years after 2008 with a Mississippi St. name of Eric Moulds?". [/INST] SELECT "ole_miss" FROM "western_division" WHERE "year">2008 AND "mississippi_st"='eric moulds';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "western_division" ( "year" real, "alabama" text, "arkansas" text, "auburn" text, "ole_miss" text, "mississippi_st" text );. Question: "Who was the Ole Miss player associated with Chuck Dicus?". [/INST] SELECT "ole_miss" FROM "western_division" WHERE "arkansas"='chuck dicus';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "western_division" ( "year" real, "alabama" text, "arkansas" text, "auburn" text, "ole_miss" text, "mississippi_st" text );. Question: "Who was the Alabama player associated with Walt Harris?". [/INST] SELECT "alabama" FROM "western_division" WHERE "mississippi_st"='walt harris';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "western_division" ( "year" real, "alabama" text, "arkansas" text, "auburn" text, "ole_miss" text, "mississippi_st" text );. Question: "Who was the Mississippi State player associated with Cornelius Bennett?". [/INST] SELECT "mississippi_st" FROM "western_division" WHERE "alabama"='cornelius bennett';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "western_division" ( "year" real, "alabama" text, "arkansas" text, "auburn" text, "ole_miss" text, "mississippi_st" text );. Question: "Who is the Arkansas player associated with Ken Stabler?". [/INST] SELECT "arkansas" FROM "western_division" WHERE "alabama"='ken stabler';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "porirua_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "What is the roll of Bishop Viard College (An Integrated College), which has a decile larger than 1?". [/INST] SELECT COUNT("roll") FROM "porirua_city" WHERE "decile">1 AND "authority"='integrated' AND "name"='bishop viard 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 "porirua_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "What was the decile of Samuel Marsden Collegiate School in Whitby, when it had a roll higher than 163?". [/INST] SELECT COUNT("decile") FROM "porirua_city" WHERE "area"='whitby' AND "name"='samuel marsden collegiate school' AND "roll">163;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "porirua_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "What integrated school had a decile of 2 and a roll larger than 55?". [/INST] SELECT "name" FROM "porirua_city" WHERE "decile"=2 AND "authority"='integrated' AND "roll">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 "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text );. Question: "Who was the 4 lane person from Canada?". [/INST] SELECT MIN("heat") FROM "heats" WHERE "lane"=4 AND "nationality"='canada';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "In 1939, what was the finish?". [/INST] SELECT "finish" FROM "indy_500_results" WHERE "year"='1939';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "In 1937, what was the finish?". [/INST] SELECT "finish" FROM "indy_500_results" WHERE "year"='1937';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "The Qual of 120.006 took place in what year?". [/INST] SELECT "year" FROM "indy_500_results" WHERE "qual"='120.006';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "With a Rank of 19, and a Start of 14, what was the finish?". [/INST] SELECT "finish" FROM "indy_500_results" WHERE "rank"='19' AND "start"='14';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "What company made the chassis when Ferrari made the engine and there were 25 points?". [/INST] SELECT "chassis" FROM "complete_world_championship_formula_one_" WHERE "engine"='ferrari' AND "points"=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 "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "What is the most points when Maserati made the engine, and a Entrant of owen racing organisation?". [/INST] SELECT MAX("points") FROM "complete_world_championship_formula_one_" WHERE "engine"='maserati' AND "entrant"='owen racing organisation';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "What company made the chassis when there were 8 points?". [/INST] SELECT "chassis" FROM "complete_world_championship_formula_one_" WHERE "points"=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 "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "What is the entrant earlier than 1956 with a Vanwall Special chassis?". [/INST] SELECT "entrant" FROM "complete_world_championship_formula_one_" WHERE "year"<1956 AND "chassis"='vanwall 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 "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );. Question: "what is the number of wins that is in the Top 10 and larger than 13?". [/INST] SELECT SUM("wins") FROM "summary" WHERE "top_10">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 "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );. Question: "What is the average number of cuts made in the Top 25 smaller than 5?". [/INST] SELECT AVG("cuts_made") FROM "summary" WHERE "top_25"<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 "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );. Question: "What is the lowest top 5 winners with less than 0?". [/INST] SELECT MIN("top_5") FROM "summary" WHERE "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 "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "How many points for the cooper car company after 1959?". [/INST] SELECT SUM("points") FROM "complete_formula_one_world_championship_" WHERE "entrant"='cooper car company' AND "year">1959;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "deliveries_by_decade_and_fuselage_type_t" ( "total" text, "11502" real, "3620" real, "15122" real, "5432" real, "2233" real, "7665" real );. Question: "What is the average 3620 value that has a 5432 of 1277 and a 15122 less than 1540?". [/INST] SELECT AVG("3620") FROM "deliveries_by_decade_and_fuselage_type_t" WHERE "5432"=1277 AND "15122"<1540;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "deliveries_by_decade_and_fuselage_type_t" ( "total" text, "11502" real, "3620" real, "15122" real, "5432" real, "2233" real, "7665" real );. Question: "What is the average 5432 value with a 11502 larger than 1163, a 15122 less than 15122, and a 3620 less than 624?". [/INST] SELECT AVG("5432") FROM "deliveries_by_decade_and_fuselage_type_t" WHERE "11502">1163 AND "15122"<15122 AND "3620"<624;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "deliveries_by_decade_and_fuselage_type_t" ( "total" text, "11502" real, "3620" real, "15122" real, "5432" real, "2233" real, "7665" real );. Question: "What is the highest 3620 value with a 5432 of 5432 and a 15122 greater than 15122?". [/INST] SELECT MAX("3620") FROM "deliveries_by_decade_and_fuselage_type_t" WHERE "5432"=5432 AND "15122">15122;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );. Question: "Which representative was the Ambassador Extraordinary and Plenipotentiary and had a Termination of Mission date September 20, 1996?". [/INST] SELECT "representative" FROM "see_also" WHERE "title"='ambassador extraordinary and plenipotentiary' AND "termination_of_mission"='september 20, 1996';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );. Question: "Which representative has a Termination of MIssion date Mar 25, 1976?". [/INST] SELECT "representative" FROM "see_also" WHERE "termination_of_mission"='mar 25, 1976';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );. Question: "What was the Termination of Mission date for the ambassador who was appointed by Barack Obama?". [/INST] SELECT "termination_of_mission" FROM "see_also" WHERE "appointed_by"='barack obama';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );. Question: "What is the Termination of Mission date for Marsha E. Barnes, the Ambassador Extraordinary and Plenipotentiary?". [/INST] SELECT "termination_of_mission" FROM "see_also" WHERE "title"='ambassador extraordinary and plenipotentiary' AND "representative"='marsha e. barnes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "representative" text, "title" text, "presentation_of_credentials" text, "termination_of_mission" text, "appointed_by" text );. Question: "Who appointed the representative that had a Presentation of Credentials on March 25, 1976?". [/INST] SELECT "appointed_by" FROM "see_also" WHERE "presentation_of_credentials"='march 25, 1976';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_appearances_of_popular_heroes_vill" ( "character_s" text, "first_appearance" text, "cover_date" text, "publisher" text, "estimated_value" text );. Question: "Which character first appeared in Amazing Fantasy #15?". [/INST] SELECT "character_s" FROM "first_appearances_of_popular_heroes_vill" WHERE "first_appearance"='amazing fantasy #15';</s>