text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "team_classification" text ); Question: Name the team classification for stage of 6 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sonshine_radio_stations_in_the_philippin" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the Davao's power (kW)? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sonshine_radio_stations_in_the_philippin" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the brand of DXRE? <|assistant|> SELECT "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sonshine_radio_stations_in_the_philippin" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the power (kW) of Davao? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sonshine_radio_stations_in_the_philippin" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the callsign of Cagayan de Oro with 5kW? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sonshine_radio_stations_in_the_philippin" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the callsign of the 5kW Sonshine Radio Cot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_batting_averages" ( "matches" real, "innings" real, "not_outs" real, "runs" real, "average" real ); Question: What's the average amount of Runs that has 40 innings, and Not outs larger ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_batting_averages" ( "matches" real, "innings" real, "not_outs" real, "runs" real, "average" real ); Question: What's the total Innings that has Runs of 1598, and Matches less than 41? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "party" text, "party_list_votes" real, "vote_percentage" text, "total_seats" real, "seat_percentage" text ); Question: What is the highest total number of seats with a Seat percentag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "party" text, "party_list_votes" real, "vote_percentage" text, "total_seats" real, "seat_percentage" text ); Question: What is the number of party list votes for a vote percentage of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "event" text, "notes" text ); Question: What venue held the event in 2008 that has 2:13:10 in the notes? <|assistant|> SELECT "ven...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_data" ( "name" text, "discovered" real, "museum" text, "museum_city" text, "discoverer" text, "formation" text, "location" text ); Question: Who discovered the specimen at the Burp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_data" ( "name" text, "discovered" real, "museum" text, "museum_city" text, "discoverer" text, "formation" text, "location" text ); Question: What is the name of the specimen that w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_data" ( "name" text, "discovered" real, "museum" text, "museum_city" text, "discoverer" text, "formation" text, "location" text ); Question: What is the formation that had the spec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_data" ( "name" text, "discovered" real, "museum" text, "museum_city" text, "discoverer" text, "formation" text, "location" text ); Question: What is the city of the Museum that hou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specimen_data" ( "name" text, "discovered" real, "museum" text, "museum_city" text, "discoverer" text, "formation" text, "location" text ); Question: What city has the museum that holds the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grey_district" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" text ); Question: With what Name does the Roll of 637 belong? <|assistant|> SELECT "name" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grey_district" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" text ); Question: Which is the Authority that has a Roll of 70? <|assistant|> SELECT "authorit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grey_district" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" text ); Question: The Decile of 6 has which corresponding Years? <|assistant|> SELECT "years" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004" ( "film" text, "director_s" text, "writer_s" text, "recipient" text, "date" text, "award" text ); Question: Name the award for candida scott knight <|assistant|> SELECT "award" FROM "20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004" ( "film" text, "director_s" text, "writer_s" text, "recipient" text, "date" text, "award" text ); Question: Name the recipient for jamaica and award of £6,947 <|assistant|> SELECT "reci...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004" ( "film" text, "director_s" text, "writer_s" text, "recipient" text, "date" text, "award" text ); Question: Name the film for award of £3,740 <|assistant|> SELECT "film" FROM "2004" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004" ( "film" text, "director_s" text, "writer_s" text, "recipient" text, "date" text, "award" text ); Question: Name the director for maya vision international ltd <|assistant|> SELECT "dir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004" ( "film" text, "director_s" text, "writer_s" text, "recipient" text, "date" text, "award" text ); Question: Name the film for award of £3,386 <|assistant|> SELECT "film" FROM "2004" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: Name the venue for 2004 and position of 25th <|assistant|> SELECT "venue" FROM "achieve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: Name the venue for 27th position <|assistant|> SELECT "venue" FROM "achievements" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the score of the draw in the 2005 FIFA Confederations Cup? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "votes_by_state" ( "state" text, "electors" real, "bush" real, "kerry" real, "nader" real, "badnarik" real, "peroutka" real, "cobb" real, "others" real, "margin" text, "total" real );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "votes_by_state" ( "state" text, "electors" real, "bush" real, "kerry" real, "nader" real, "badnarik" real, "peroutka" real, "cobb" real, "others" real, "margin" text, "total" real );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "one_day_final_1988_2009" ( "year" text, "venue" text, "winners" text, "runner_up" text, "3rd_place" text ); Question: Who came in 3rd place in 1990? <|assistant|> SELECT "3rd_place" FROM "one_d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Which class Pos has a Team of jml team panoz...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Which Class Pos has a Year larger than 1997,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nominations" ( "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "final" text ); Question: What is the final result of the team tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_indy_500_summary" ( "season" real, "cars_entered" real, "winning_driver" text, "second_driver" text, "third_driver" text, "race_report" text ); Question: Which Winning Driv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_indy_500_summary" ( "season" real, "cars_entered" real, "winning_driver" text, "second_driver" text, "third_driver" text, "race_report" text ); Question: How many average C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_indy_500_summary" ( "season" real, "cars_entered" real, "winning_driver" text, "second_driver" text, "third_driver" text, "race_report" text ); Question: What are the large...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_indy_500_summary" ( "season" real, "cars_entered" real, "winning_driver" text, "second_driver" text, "third_driver" text, "race_report" text ); Question: What is the larges...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_indy_500_summary" ( "season" real, "cars_entered" real, "winning_driver" text, "second_driver" text, "third_driver" text, "race_report" text ); Question: What are the large...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What engine with more than 2 points has Brabham bt58 as Chassis? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: How many points did Judd v8 has in 1989? <|assistant|> SELECT COUNT("point...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: How many years has Sasol Jordan Yamaha as an Entrant? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the record for the game that had a loss of Williams (3-1)? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the score of the game that had a loss of Embree (1-2)? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What shows for 2007 at the Olympic Games as tour...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What shows for 2009 when the 2012 is 1R? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2010 when the 2009 shows Q1? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "state" text, "tickets_sold_available" text, "gross_revenue_1982" text, "gross_revenue_2011" text ); Question: What is the gross revenue in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "state" text, "tickets_sold_available" text, "gross_revenue_1982" text, "gross_revenue_2011" text ); Question: Which state has the venue Ts...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "state" text, "tickets_sold_available" text, "gross_revenue_1982" text, "gross_revenue_2011" text ); Question: Which city had a gross reven...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "state" text, "tickets_sold_available" text, "gross_revenue_1982" text, "gross_revenue_2011" text ); Question: What is the gross revenue in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What was the grid when the driver was Mark Webber? <|assistant|> SELECT "grid" FROM "race" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: Who was the driver, when the constructor was Renault, and when the Time/Retired was +38.600...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: How many laps were there when the Time/Retired was +1:00.003? <|assistant|> SELECT "laps" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: How many laps were there when the Time/Retired was +14.403? <|assistant|> SELECT "laps" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: Who was the driver when there were 35 laps? <|assistant|> SELECT "driver" FROM "race" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: How many laps were there when the constructor was Renault, and when the Driver was Fernando...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real ); Question: What's the Street address with a Name of New York ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real ); Question: What's the Years as tallest with a Street address ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real ); Question: What is listsed as the Height feet/m and has a Str...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ontario_university_athletics_yates_cup" ( "institution" text, "team" text, "city" text, "province" text, "first_season" real, "head_coach" text, "enrollment" real, "football_stadium" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Who had a score of 69-70=139? <|assistant|> SELECT "player" FROM "second_round" WHERE "scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the score of the game that had a result of 5–0? <|assistant|> SELECT "sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What is the heat number of the athlete who finished in 2:23.95? <|assistant|> SELECT AVG("heat") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Which lane did the athlete from Zambia swim in? <|assistant|> SELECT "lane" FROM "heats" WHERE "nati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Who was the opponent at the game when the record was 4-5? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "breakdown_by_nationality" ( "country" text, "2012" real, "2011" real, "2010" real, "2009" real, "2008" real, "2007" real, "2006" real, "2005" real, "2004" real, "2003" real, "2002"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "breakdown_by_nationality" ( "country" text, "2012" real, "2011" real, "2010" real, "2009" real, "2008" real, "2007" real, "2006" real, "2005" real, "2004" real, "2003" real, "2002"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "breakdown_by_nationality" ( "country" text, "2012" real, "2011" real, "2010" real, "2009" real, "2008" real, "2007" real, "2006" real, "2005" real, "2004" real, "2003" real, "2002"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "breakdown_by_nationality" ( "country" text, "2012" real, "2011" real, "2010" real, "2009" real, "2008" real, "2007" real, "2006" real, "2005" real, "2004" real, "2003" real, "2002"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "breakdown_by_nationality" ( "country" text, "2012" real, "2011" real, "2010" real, "2009" real, "2008" real, "2007" real, "2006" real, "2005" real, "2004" real, "2003" real, "2002"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "breakdown_by_nationality" ( "country" text, "2012" real, "2011" real, "2010" real, "2009" real, "2008" real, "2007" real, "2006" real, "2005" real, "2004" real, "2003" real, "2002"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "periodization" ( "week" real, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "volume_lbs" real, "peak_intensity_last_set" text, "pct_of_1_rep_max_last_set" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "periodization" ( "week" real, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "volume_lbs" real, "peak_intensity_last_set" text, "pct_of_1_rep_max_last_set" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "periodization" ( "week" real, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "volume_lbs" real, "peak_intensity_last_set" text, "pct_of_1_rep_max_last_set" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995_enlargement" ( "member_countries" text, "population" text, "area_km" text, "gdp_billion_us" text, "gdp_per_capita_us" text ); Question: What is the per-capita GDP for the country with an o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995_enlargement" ( "member_countries" text, "population" text, "area_km" text, "gdp_billion_us" text, "gdp_per_capita_us" text ); Question: What is the per-capita GDP of the country with an ov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995_enlargement" ( "member_countries" text, "population" text, "area_km" text, "gdp_billion_us" text, "gdp_per_capita_us" text ); Question: Which country has an area of 871,980 square km? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_8_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: On October 1, 1995 wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_8_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: With Lindsay Lee-Wate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which score has a Date of august 17? <|assistant|> SELECT "score" FROM "game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which score has an Opponent of @ athletics, and a Record of 76-57? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which loss has a Record of 67-51? <|assistant|> SELECT "loss" FROM "game_log...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "position" text ); Question: Which position has 2 wins in 1992? <|assistant|> SELECT "position" FROM "career_summary" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "position" text ); Question: How many wins have a Series of formula nippon, and a Position of 8th? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "position" text ); Question: What is the smallest season with 6 races, 2 wins, and a Series of all-japan gt championsh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: What was Mark Brooks total score when he finished more than 2 above par? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: What was the winning to par score of the 1993 PGA Championship? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "equipment" ( "builder" text, "construct_tion_no" real, "date_ordered" text, "wheel_arrange_ment" text, "s_cylinder" text, "engine_weight" text, "tc_st_l_no_1883_84" real ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "equipment" ( "builder" text, "construct_tion_no" real, "date_ordered" text, "wheel_arrange_ment" text, "s_cylinder" text, "engine_weight" text, "tc_st_l_no_1883_84" real ); Question: Who bu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_regular_season_football_standings" ( "school" text, "team" text, "division_record" text, "overall_record" text, "season_outcome" text ); Question: What is the Season Outcome for the Sussex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_regular_season_football_standings" ( "school" text, "team" text, "division_record" text, "overall_record" text, "season_outcome" text ); Question: What is the School of Sussex Tech's Team?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_regular_season_football_standings" ( "school" text, "team" text, "division_record" text, "overall_record" text, "season_outcome" text ); Question: What is the Team for the Milford School? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" text, "player" text, "team" text, "position" text, "rating" text, "win_num" text ); Question: Which season was one of the players rated +33? <|assistant|> SELECT "season" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" text, "player" text, "team" text, "position" text, "rating" text, "win_num" text ); Question: What is the name of the team that had 1 win and a rating of +85? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" text, "player" text, "team" text, "position" text, "rating" text, "win_num" text ); Question: Which season was one of the players rated +98? <|assistant|> SELECT "season" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" text, "player" text, "team" text, "position" text, "rating" text, "win_num" text ); Question: What is Patrice Bergeron's rating? <|assistant|> SELECT "rating" FROM "winner...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Position of defensive tackle, and a Round of 4, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Pick # that has a Name of jaimie thomas, and a Rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mt_and_cr_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team_matches" ( "date" text, "location" text, "opponenent" text, "result" text, "match_type" text ); Question: When was the opponent Poland and the match type EC -qualifier? <|assistan...