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 "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );. Question: "What is team 1 when team 2 is Manchester United?". [/INST] SELECT "team_1" FROM "round_of_16" WHERE "team_2"='manchester united';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );. Question: "What is the agg when team 1 is Milan?". [/INST] SELECT "agg" FROM "round_of_16" WHERE "team_1"='milan';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "general_standings" ( "rank" real, "cyclist" text, "team" text, "time" text, "uci_pro_tour_points" real );. Question: "Which team is ranked #10?". [/INST] SELECT "team" FROM "general_standings" 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 "general_standings" ( "rank" real, "cyclist" text, "team" text, "time" text, "uci_pro_tour_points" real );. Question: "Which cyclist has UCI ProTour points of 40?". [/INST] SELECT "cyclist" FROM "general_standings" WHERE "uci_pro_tour_points"=40;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "delegates" ( "province_community" text, "contestant" text, "height" text, "hometown" text, "geographical_regions" text );. Question: "What is the province with a contestant of tatiana vargas rosales?". [/INST] SELECT "province_community" FROM "delegates" WHERE "contestant"='tatiana vargas rosales';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "delegates" ( "province_community" text, "contestant" text, "height" text, "hometown" text, "geographical_regions" text );. Question: "Which province has the contestant elixandra tobias carasco?". [/INST] SELECT "province_community" FROM "delegates" WHERE "contestant"='elixandra tobias carasco';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );. Question: "What is the 2005 sum with a 2009 less than 1,850,654?". [/INST] SELECT SUM("2005") FROM "statistics" WHERE "2009"<'1,850,654';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );. Question: "What is the average 2003 with 2,154,170 in 2010 and a 2008 less than 2,266,716?". [/INST] SELECT AVG("2003") FROM "statistics" WHERE "2010"='2,154,170' AND "2008"<'2,266,716';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );. Question: "What is the average 2009 with a 2003 greater than 3,791, 107,982 in 2007, and a 2006 less than 98,264?". [/INST] SELECT AVG("2009") FROM "statistics" WHERE "2003">'3,791' AND "2007"='107,982' AND "2006"<'98,264';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );. Question: "What is the sum of the 2008 with a 2007 of 4,244,115 and less than 3,296,267 in 2003?". [/INST] SELECT SUM("2008") FROM "statistics" WHERE "2007"='4,244,115' AND "2003"<'3,296,267';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is 2011, when 2009 is "A"?". [/INST] SELECT "2011" FROM "doubles" WHERE "2009"='a';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is 2009, when Tournament is "Year-End Ranking"?". [/INST] SELECT "2009" FROM "doubles" WHERE "tournament"='year-end ranking';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is 2011, when 2012 is "1R"?". [/INST] SELECT "2011" FROM "doubles" WHERE "2012"='1r';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is 2012, when 2009 is "A"?". [/INST] SELECT "2012" FROM "doubles" WHERE "2009"='a';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is 2011, when 2012 is "A", and when Tournament is "French Open"?". [/INST] SELECT "2011" FROM "doubles" WHERE "2012"='a' AND "tournament"='french 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 "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What is the largest Against with an Opposing Teams of wales?". [/INST] SELECT MAX("against") FROM "1989" WHERE "opposing_teams"='wales';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What Status has a Date of 18/03/1989?". [/INST] SELECT "status" FROM "1989" WHERE "date"='18/03/1989';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What Venue has a Status of five nations, and Against of 0?". [/INST] SELECT "venue" FROM "1989" WHERE "status"='five nations' AND "against"=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 "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What is the smallest Against with a Date of 18/02/1989?". [/INST] SELECT MIN("against") FROM "1989" WHERE "date"='18/02/1989';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "domestic_violence" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "additional_notes" text );. Question: "What are the additional notes for Cotabato?". [/INST] SELECT "additional_notes" FROM "domestic_violence" WHERE "location"='cotabato';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "domestic_violence" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "additional_notes" text );. Question: "What country in Kunlong in?". [/INST] SELECT "country" FROM "domestic_violence" WHERE "location"='kunlong';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "domestic_violence" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "additional_notes" text );. Question: "Who went on a rampage in Baghdad?". [/INST] SELECT "perpetrator" FROM "domestic_violence" WHERE "location"='baghdad';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What's the rank that has a total of less than 1?". [/INST] SELECT SUM("rank") FROM "performances_by_nation" WHERE "total"<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 "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What's the bronze medal count when the silver is less than 3 and the gold is 1?". [/INST] SELECT SUM("bronze") FROM "performances_by_nation" WHERE "gold"=1 AND "silver"<3;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What's the gold medal count ranked 2 with a total of more than 21?". [/INST] SELECT COUNT("gold") FROM "performances_by_nation" WHERE "rank"=2 AND "total">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 "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What's the smallest total with a bronze count of 5 and a gold count less than 8?". [/INST] SELECT MIN("total") FROM "performances_by_nation" WHERE "bronze"=5 AND "gold"<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 "oklahoma" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );. Question: "What is the party for the representative who was first elected before 2002 and the results were re-elected?". [/INST] SELECT "party" FROM "oklahoma" WHERE "results"='re-elected' AND "first_elected"<2002;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "oklahoma" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );. Question: "Incumbent John Sullivan has what as biggest first elected?". [/INST] SELECT MAX("first_elected") FROM "oklahoma" WHERE "incumbent"='john sullivan';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "nickname_s" text, "colors" text, "years_member" text );. Question: "What Location has Years Member of 1963–1968?". [/INST] SELECT "location" FROM "former_members" WHERE "years_member"='1963–1968';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "nickname_s" text, "colors" text, "years_member" text );. Question: "What School has Colors of navy blue orange?". [/INST] SELECT "school" FROM "former_members" WHERE "colors"='navy blue orange';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "nickname_s" text, "colors" text, "years_member" text );. Question: "What Years Member has a School of cairo high school?". [/INST] SELECT "years_member" FROM "former_members" WHERE "school"='cairo high school';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "nickname_s" text, "colors" text, "years_member" text );. Question: "What Colors has a School of sesser high school?". [/INST] SELECT "colors" FROM "former_members" WHERE "school"='sesser high school';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "nickname_s" text, "colors" text, "years_member" text );. Question: "What Colors has a School of zeigler high school?". [/INST] SELECT "colors" FROM "former_members" WHERE "school"='zeigler high school';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "nickname_s" text, "colors" text, "years_member" text );. Question: "What Nickname(s) has a Location of elkville, illinois?". [/INST] SELECT "nickname_s" FROM "former_members" WHERE "location"='elkville, illinois';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );. Question: "Which Season 1 has a Season 7 of david chilton?". [/INST] SELECT "season_1" FROM "english_version" WHERE "season_7"='david chilton';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );. Question: "Which Seat has a Season 6 of kevin o'leary?". [/INST] SELECT MAX("seat") FROM "english_version" WHERE "season_6"='kevin o''leary';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );. Question: "Which Season 7 has a Season 6 of jim treliving?". [/INST] SELECT "season_7" FROM "english_version" WHERE "season_6"='jim treliving';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );. Question: "Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?". [/INST] SELECT "season_7" FROM "english_version" WHERE "seat">1 AND "season_3"='w. brett wilson';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );. Question: "Which Season 3 has a Season 7 of jim treliving?". [/INST] SELECT "season_3" FROM "english_version" WHERE "season_7"='jim treliving';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );. Question: "What is Weekly Winner, when Air Date is "July 4, 2008"?". [/INST] SELECT "weekly_winner" FROM "ratings_and_results" WHERE "air_date"='july 4, 2008';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );. Question: "What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"?". [/INST] SELECT "rating" FROM "ratings_and_results" WHERE "air_date"='july 24, 2008*' AND "weekly_winner"='sales rep. oscar ledezma';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );. Question: "What is Viewers, when 18-49 is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?". [/INST] SELECT "viewers" FROM "ratings_and_results" WHERE "18_49"='n/a' AND "weekly_winner"='wedding dj chris dixon';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );. Question: "What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?". [/INST] SELECT "18_49" FROM "ratings_and_results" WHERE "weekly_winner"='youth counselor justin meece';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );. Question: "What is Viewers, when Air Date is "July 4, 2008"?". [/INST] SELECT "viewers" FROM "ratings_and_results" WHERE "air_date"='july 4, 2008';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );. Question: "What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?". [/INST] SELECT "air_date" FROM "ratings_and_results" WHERE "rating"='n/a' AND "weekly_winner"='wedding dj chris dixon';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text, "streak" text );. Question: "What was the record for Dec 16?". [/INST] SELECT "record" FROM "game_log" WHERE "date"='dec 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 "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2010 with a qf in 2011?". [/INST] SELECT "2010" FROM "doubles_performance_timeline" WHERE "2011"='qf';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2013 of the grand slam tournaments?". [/INST] SELECT "2013" FROM "doubles_performance_timeline" WHERE "tournament"='grand slam 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 "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2013 with a 2r in 2010 and a qf in 2011?". [/INST] SELECT "2013" FROM "doubles_performance_timeline" WHERE "2010"='2r' AND "2011"='qf';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2011 with 1r in 2010?". [/INST] SELECT "2011" FROM "doubles_performance_timeline" WHERE "2010"='1r';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2012 with A in 2009 and 2r in 2010?". [/INST] SELECT "2012" FROM "doubles_performance_timeline" WHERE "2009"='a' AND "2010"='2r';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );. Question: "What is the poison/klesha word for moha avijja in pali?". [/INST] SELECT "poison_klesha" FROM "five_poisons" WHERE "pali"='moha avijja';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );. Question: "What is the poision/klesha word for the tibetan word gti mug ma rig pa?". [/INST] SELECT "poison_klesha" FROM "five_poisons" WHERE "tibetan"='gti mug ma rig pa';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );. Question: "What is the pali word for pride in poison/klesha?". [/INST] SELECT "pali" FROM "five_poisons" WHERE "poison_klesha"='pride';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );. Question: "What is the pali word for phrag dog in tibetan?". [/INST] SELECT "pali" FROM "five_poisons" WHERE "tibetan"='phrag dog';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );. Question: "What is the pali word for rāga in sanskrit?". [/INST] SELECT "pali" FROM "five_poisons" WHERE "sanskrit"='rāga';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real );. Question: "What is the attendance total when Southend Manor is the away team and there are less than 93 ties?". [/INST] SELECT COUNT("attendance") FROM "ties" WHERE "away_team"='southend manor' AND "tie_no"<93;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real );. Question: "What is the score when the attendance is less than 83 and Raunds Town is the away team?". [/INST] SELECT "score" FROM "ties" WHERE "attendance"<83 AND "away_team"='raunds town';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text );. Question: "Who was the player that was picked at a number less than 205 from the Michigan State Spartans?". [/INST] SELECT "player" FROM "round_seven" WHERE "pick_num"<205 AND "team_from"='michigan state spartans';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "abbr" text, "canton" text, "capital" text, "density_per_km" real, "no_munic" real, "s_official_language" text );. Question: "What is the average Density of 53 No. munic.?". [/INST] SELECT AVG("density_per_km") FROM "list" WHERE "no_munic"=53;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "Name the Status of Venue of sydney sports ground , sydney?". [/INST] SELECT "status" FROM "1963" WHERE "venue"='sydney sports ground , sydney';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "Which Status has a Opposing Teams of wales?". [/INST] SELECT "status" FROM "1963" WHERE "opposing_teams"='wales';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "WHICH Date has a Venue of lancaster park , christchurch?". [/INST] SELECT "date" FROM "1963" WHERE "venue"='lancaster park , christchurch';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );. Question: "WHAT IS THE TEAM WITH DAVE COGGIN?". [/INST] SELECT "team" FROM "first_round_selections" WHERE "player"='dave coggin';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );. Question: "WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?". [/INST] SELECT "team" FROM "first_round_selections" WHERE "position"='of' AND "pick"=24;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );. Question: "WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?". [/INST] SELECT "position" FROM "first_round_selections" WHERE "team"='boston red sox' AND "player"='corey jenkins';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );. Question: "WHAT PLAYER HAS UPLAND HIGH SCHOOL?". [/INST] SELECT "player" FROM "first_round_selections" WHERE "hometown_school"='upland high school';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );. Question: "WHAT PLAYER HAS THE OAKLAND ATHLETICS?". [/INST] SELECT "player" FROM "first_round_selections" WHERE "team"='oakland athletics';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );. Question: "WHAT TEAM HAS A PICK LARGER THAN 29?". [/INST] SELECT "team" FROM "first_round_selections" WHERE "pick">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 "vehicular_manslaughter" ( "name" text, "date" text, "year" real, "country" text, "killed" text, "injured" text );. Question: "Which rampage killed 8 in Israel?". [/INST] SELECT "name" FROM "vehicular_manslaughter" WHERE "killed"='8' AND "country"='israel';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "vehicular_manslaughter" ( "name" text, "date" text, "year" real, "country" text, "killed" text, "injured" text );. Question: "What coutry had a rampaged killing 14 in 1965?". [/INST] SELECT "country" FROM "vehicular_manslaughter" WHERE "killed"='14' AND "year"=1965;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is Club, when Drawn is "0", and when Try Bonus is "5"?". [/INST] SELECT "club" FROM "league_table" WHERE "drawn"='0' AND "try_bonus"='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 "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is Club, when Points is "82"?". [/INST] SELECT "club" FROM "league_table" WHERE "points"='82';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is Played, when Points Against is "374"?". [/INST] SELECT "played" FROM "league_table" WHERE "points_against"='374';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is Points Against, when Try Bonus is "Try bonus"?". [/INST] SELECT "points_against" FROM "league_table" WHERE "try_bonus"='try bonus';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is Try Bonus, when Losing Bonus is "1", and when Points For is "179"?". [/INST] SELECT "try_bonus" FROM "league_table" WHERE "losing_bonus"='1' AND "points_for"='179';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is Points For, when Club is "Tycroes RFC"?". [/INST] SELECT "points_for" FROM "league_table" WHERE "club"='tycroes rfc';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );. Question: "When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig?". [/INST] SELECT "date" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "death_toll"<63 AND "location"='penygraig';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );. Question: "Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?". [/INST] SELECT "location" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "death_toll">38 AND "date"='10 june';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );. Question: "Which Year has a Location of dinas on 13 january?". [/INST] SELECT "year" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "location"='dinas' AND "date"='13 january';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );. Question: "Which Year has a cause of firedamp and a Death toll larger than 11?". [/INST] SELECT SUM("year") FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='firedamp' AND "death_toll">11;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );. Question: "Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?". [/INST] SELECT MIN("year") FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "colliery"='tylorstown colliery' AND "death_toll">57;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );. Question: "Which Colliery has a Death toll of 7?". [/INST] SELECT "colliery" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "death_toll"=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 "south" ( "tie_no" text, "home_team" text, "score_1" text, "away_team" text, "attendance" text );. Question: "What is the Score 1 of Tie no 6?". [/INST] SELECT "score_1" FROM "south" WHERE "tie_no"='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 "south" ( "tie_no" text, "home_team" text, "score_1" text, "away_team" text, "attendance" text );. Question: "What is the Attendance of Tie no 3?". [/INST] SELECT "attendance" FROM "south" WHERE "tie_no"='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 "south" ( "tie_no" text, "home_team" text, "score_1" text, "away_team" text, "attendance" text );. Question: "What is the Attendance at the Hereford United Away game?". [/INST] SELECT "attendance" FROM "south" WHERE "away_team"='hereford united';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "south" ( "tie_no" text, "home_team" text, "score_1" text, "away_team" text, "attendance" text );. Question: "What is the Home team of Tie no 11?". [/INST] SELECT "home_team" FROM "south" WHERE "tie_no"='11';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "south" ( "tie_no" text, "home_team" text, "score_1" text, "away_team" text, "attendance" text );. Question: "What is the Tie no of Hereford United's Away game?". [/INST] SELECT "tie_no" FROM "south" WHERE "away_team"='hereford united';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "south" ( "tie_no" text, "home_team" text, "score_1" text, "away_team" text, "attendance" text );. Question: "What is the Score 1 of the game with Attendance of 2,571?". [/INST] SELECT "score_1" FROM "south" WHERE "attendance"='2,571';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text );. Question: "What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved?". [/INST] SELECT SUM("clubs_remaining") FROM "teams" WHERE "new_entries_this_round"='34' AND "clubs_involved">34;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text );. Question: "What are the clubs involved with 16 clubs remaining?". [/INST] SELECT "clubs_involved" FROM "teams" WHERE "clubs_remaining"=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 "men_s_taijiquan_taijijian_combined" ( "rank" real, "athlete" text, "taijijian" real, "taijiquan" real, "total" real );. Question: "What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87?". [/INST] SELECT COUNT("rank") FROM "men_s_taijiquan_taijijian_combined" WHERE "total">19.42 AND "taijiquan"<9.87;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "men_s_taijiquan_taijijian_combined" ( "rank" real, "athlete" text, "taijijian" real, "taijiquan" real, "total" real );. Question: "What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total?". [/INST] SELECT MIN("rank") FROM "men_s_taijiquan_taijijian_combined" WHERE "taijiquan">9.42 AND "total"=19.02;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "men_s_taijiquan_taijijian_combined" ( "rank" real, "athlete" text, "taijijian" real, "taijiquan" real, "total" real );. Question: "What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77?". [/INST] SELECT MAX("taijijian") FROM "men_s_taijiquan_taijijian_combined" WHERE "taijiquan"=9.87 AND "total"<19.77;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1?". [/INST] SELECT "week_3" FROM "2008" WHERE "week_1"='demi jessica';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2?". [/INST] SELECT "week_4" FROM "2008" WHERE "week_2"='lexi lombardelli';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1?". [/INST] SELECT "week_1" FROM "2008" WHERE "week_3"='alinna d penta';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?". [/INST] SELECT "week_5" FROM "2008" WHERE "week_3"='felicia taylor';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2?". [/INST] SELECT "week_3" FROM "2008" WHERE "week_2"='ashley lowe';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2?". [/INST] SELECT "week_2" FROM "2008" WHERE "week_4"='diane deluna';</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.