text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text ); Question: Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text ); Question: Which Award Ceremony in 2009 has a Role of Glinda? <|assistant|> SELECT "award_ceremony"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text ); Question: Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text ); Question: What was the Result in 2013? <|assistant|> SELECT "result" FROM "awards" WHERE "year"=20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: What is the maximum grid when the laps were greater than 22? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: What is the minimum grid when there was more than 22 laps? <|assistant|> SELECT M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: How many total laps were ridden when the grid was 7 and the rider rode the Honda ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text ); Question: Which sign has a fall of Venus? <|assistant|> SELECT "sig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text ); Question: Which exaltation has a fall of moon? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text ); Question: Which exaltation has a domicile of Saturn and a fall of J...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text ); Question: Which exaltation has a domicile of Saturn and Capricorn a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text ); Question: Which detriment has a domicile of mercury and Virgo as a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text ); Question: Which exaltation has a detriment of Saturn and Cancer as ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selections" ( "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "years_of_nba_experience_a" real, "career_with_the_franchise_b" text ); Question: Which Team ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selections" ( "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "years_of_nba_experience_a" real, "career_with_the_franchise_b" text ); Question: Which Natio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "team_1" FROM "round_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "agg" FROM "round_of_16" WHERE "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_standings" ( "rank" real, "cyclist" text, "team" text, "time" text, "uci_pro_tour_points" real ); Question: Which team is ranked #10? <|assistant|> SELECT "team" FROM "general_standings...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "cyclist" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 rosa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "delegates" ( "province_community" text, "contestant" text, "height" text, "hometown" text, "geographical_regions" text ); Question: Which province has the contestant elixandra tobias carasco? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 great...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2011, when 2009 is "A"? <|assistant|> SELECT "2011" FROM "doubles" WHERE "2009"='a';<|endof...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2009, when Tournament is "Year-End Ranking"? <|assistant|> SELECT "2009" FROM "doubles" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2011, when 2012 is "1R"? <|assistant|> SELECT "2011" FROM "doubles" WHERE "2012"='1r';<|end...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2012, when 2009 is "A"? <|assistant|> SELECT "2012" FROM "doubles" WHERE "2009"='a';<|endof...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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"? <|assistant|> SELECT "2011" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT MAX("again...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What Status has a Date of 18/03/1989? <|assistant|> SELECT "status" FROM "1989" WHERE "date"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "venue" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT MIN("against") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 Cot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT SUM("rank") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "oklahoma" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: Incumbent John Sullivan has what as biggest first elected? <|assistant|> SELECT MA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "location"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "school" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "colors...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "color...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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. ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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"? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 D...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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"? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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"? <|assistant|> SELECT "vi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "2010"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "2011" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 ri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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.? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "status" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: Which Status has a Opposing Teams of wales? <|assistant|> SELECT "status" FROM "1963" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: WHICH Date has a Venue of lancaster park , christchurch? <|assistant|> SELECT "date" FROM "1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: WHAT IS THE TEAM WITH DAVE COGGIN? <|assistant|> SELECT "team" FROM "firs...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: WHAT PLAYER HAS UPLAND HIGH SCHOOL? <|assistant|> SELECT "player" FROM "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: WHAT PLAYER HAS THE OAKLAND ATHLETICS? <|assistant|> SELECT "player" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT "team" FROM "fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vehicular_manslaughter" ( "name" text, "date" text, "year" real, "country" text, "killed" text, "injured" text ); Question: Which rampage killed 8 in Israel? <|assistant|> SELECT "name" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 Deat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 j...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 D...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 explos...