text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest Gold, when Silver is 0, and when Bronze is 2? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average Bronze, when Silver is 0, when Rank is 19, and when Total i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "versions" ( "release" real, "start" text, "pieces" real, "board_inches" text, "board_cm" text, "type" text ); Question: What was the lowest number of pieces for a board released in 1984? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "versions" ( "release" real, "start" text, "pieces" real, "board_inches" text, "board_cm" text, "type" text ); Question: What is the dimensions in centimeters of a theater board who started in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "versions" ( "release" real, "start" text, "pieces" real, "board_inches" text, "board_cm" text, "type" text ); Question: What is the average number of pieces for boards that started in 1941 an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "versions" ( "release" real, "start" text, "pieces" real, "board_inches" text, "board_cm" text, "type" text ); Question: What are the dimensions in inches of the board released before 2004, th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Venue, when Against is less than 30, and when Opposing Team is New South Wales? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Status, when Date is 10/05/1975? <|assistant|> SELECT "status" FROM "matches" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is the lowest Against, when Opposing Team is Queensland? <|assistant|> SELECT MIN("ag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Date, when Status is Second Test? <|assistant|> SELECT "date" FROM "matches" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "detailed_overview" ( "name" text, "place_of_birth" text, "date_of_birth" text, "club_apps" text, "club_goals" text, "int_caps" text, "int_goals" text, "previous_club" text, "date_joined"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grossing_films_international" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: Which Studio has a Rank smaller than 3, and a Director of adrian lyne? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grossing_films_international" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: Which Rank is the lowest one that has a Gross of $54,215,416? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_finals_13_5_8" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is the date of the match against John McEnroe with a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_finals_13_5_8" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is the Opponent of the game in 1989? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the highest pick of ron whaley? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the overall sum of the game with a pick less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the position of the player from the college o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the lowest round of bob caldwell, who has a p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the college of dave adams, who has a pick gre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "landesliga" ( "season" text, "north" text, "south" text, "east" text, "west" text ); Question: What is the east with ev landsberg as the west? <|assistant|> SELECT "east" FROM "landesliga" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "landesliga" ( "season" text, "north" text, "south" text, "east" text, "west" text ); Question: What is the north with sb rosenheim as the south? <|assistant|> SELECT "north" FROM "landesliga" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "landesliga" ( "season" text, "north" text, "south" text, "east" text, "west" text ); Question: What is the south with ev lindau as the west and svg burgkirchen as the east? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "landesliga" ( "season" text, "north" text, "south" text, "east" text, "west" text ); Question: What season has esc holzkirchen south, esv buchloe west, and ehc bayreuth north? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "landesliga" ( "season" text, "north" text, "south" text, "east" text, "west" text ); Question: What is south in the 2001-02 season, which had germering wanderers east? <|assistant|> SELECT "sou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "landesliga" ( "season" text, "north" text, "south" text, "east" text, "west" text ); Question: What was west when ev fürstenfeldbruck was south? <|assistant|> SELECT "west" FROM "landesliga" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bunzl_plc_financial_results" ( "year_ended" text, "revenue_million" real, "profit_loss_before_tax_m" real, "net_profit_m" real, "earnings_per_share_p" real ); Question: When revenue is smaller ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bunzl_plc_financial_results" ( "year_ended" text, "revenue_million" real, "profit_loss_before_tax_m" real, "net_profit_m" real, "earnings_per_share_p" real ); Question: What is the year 2007 ea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bunzl_plc_financial_results" ( "year_ended" text, "revenue_million" real, "profit_loss_before_tax_m" real, "net_profit_m" real, "earnings_per_share_p" real ); Question: What is the total net pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bunzl_plc_financial_results" ( "year_ended" text, "revenue_million" real, "profit_loss_before_tax_m" real, "net_profit_m" real, "earnings_per_share_p" real ); Question: In year 2011 what is sum...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_one_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_one_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text ); Question: What is the average day in December with a Record of 16-3-4 and a Game smaller th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "team" text, "winners" real, "runners_up" real, "years_won" text, "years_runner_up" text ); Question: When the Runners-Up is larger than 0, what's the sum of winners? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "team" text, "winners" real, "runners_up" real, "years_won" text, "years_runner_up" text ); Question: When there are more than 1 winners and the team playing is pachuca, what's the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "league" text, "season" text, "name" text, "place" real, "record" text, "head_coach" text, "points" text, "rebounds" text, "assists" text, "steals" text, "turnover" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "league" text, "season" text, "name" text, "place" real, "record" text, "head_coach" text, "points" text, "rebounds" text, "assists" text, "steals" text, "turnover" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "league" text, "season" text, "name" text, "place" real, "record" text, "head_coach" text, "points" text, "rebounds" text, "assists" text, "steals" text, "turnover" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "league" text, "season" text, "name" text, "place" real, "record" text, "head_coach" text, "points" text, "rebounds" text, "assists" text, "steals" text, "turnover" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "band" text, "freq_currently" text, "purpose" text ); Question: What is the Callsign in Brisbane with a Freq currently of 4rph? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "band" text, "freq_currently" text, "purpose" text ); Question: What is the Freq currently of the 4GG Callsign? <|assistant|> SELECT "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "band" text, "freq_currently" text, "purpose" text ); Question: What is the Community Band with a 4BCB Callsign? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "band" text, "freq_currently" text, "purpose" text ); Question: What is the Purpose of the Callsign with a Freq currently of 4gld? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "band" text, "freq_currently" text, "purpose" text ); Question: What is the Purpose of the Callsign with a Freq currently of 4rph? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "press" text, "103_5" text, "roger_fran_ois" text, "paris_fra" text ); Question: What was the press like for the world olympic record holder Roger Francois and J...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "press" text, "103_5" text, "roger_fran_ois" text, "paris_fra" text ); Question: What was the press like in Paris for Roger Francois, and Carlo Galimberti? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "press" text, "103_5" text, "roger_fran_ois" text, "paris_fra" text ); Question: What is the total amount of world records for Roger Francois? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: What place had a score of 71-70-73-71=285? <|assistant|> SELECT "place" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: How much money for 1st place with a to par less than 1? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What Player had a To par of +1? <|assistant|> SELECT "player" FROM "third_round" WHERE "to_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Country of the Player with a To par of +4 and Score of 73-71-73=217? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Place of the Player with a To par of +3 and Score of 73-70-73=216? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Place of the Player with a Score of 72-70-72=214? <|assistant|> SELECT "place" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Who is the kitmaker for the team whose team captain is Robert...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Which team uses the kitmaker Saller and has Krombacher as the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: For the team led by head coach Felix Magath, who is the team ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: For the team whose shirt sponsor is Krombacher, who is the te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: For the team whose shirt sponsor is Evonik, who is the kitmak...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kit_sponsors_and_manufacturers" ( "period" text, "manufacturer" text, "shirt_main_sponsor" text, "shirt_back_sponsor" text, "shorts_sponsor" text, "sleeves_sponsor" text ); Question: Who is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: Which of the Res., has Ryan Scheepe as an opponent? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What position is Jeff Brown? <|assistant|> SELECT "position" FROM "round_five" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: which player played on Team Hamilton? <|assistant|> SELECT "player" FROM "round_five"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What CFL team does Jeff brown play for? <|assistant|> SELECT "cfl_team" FROM "round_f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the total number of picks for Calgary College? <|assistant|> SELECT COUNT("pi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "detroit_red_wings_4_chicago_black_hawks_" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was the home team when the record was 2-3? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "detroit_red_wings_4_chicago_black_hawks_" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the record on April 10? <|assistant|> SELECT "record" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ev_as" ( "start_date_time" text, "duration" text, "end_time" text, "spacecraft" text, "crew" text ); Question: What spacecraft had an EVA that ended at 17:28? <|assistant|> SELECT "spacecraft" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ev_as" ( "start_date_time" text, "duration" text, "end_time" text, "spacecraft" text, "crew" text ); Question: What crew's EVA started on 20 February 20:09? <|assistant|> SELECT "crew" FROM "ev...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ev_as" ( "start_date_time" text, "duration" text, "end_time" text, "spacecraft" text, "crew" text ); Question: The EVA that started on 8 July 12:38 went for how long? <|assistant|> SELECT "dura...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ev_as" ( "start_date_time" text, "duration" text, "end_time" text, "spacecraft" text, "crew" text ); Question: The EVA that started 8 July 12:38 was from what spacecraft? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "name" text, "date" text, "goals" real, "assists" real, "team" text, "venue" text, "opponent" text, "competition" text, "total_gs" real, "total_as" real ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "name" text, "date" text, "goals" real, "assists" real, "team" text, "venue" text, "opponent" text, "competition" text, "total_gs" real, "total_as" real ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "name" text, "date" text, "goals" real, "assists" real, "team" text, "venue" text, "opponent" text, "competition" text, "total_gs" real, "total_as" real ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "name" text, "date" text, "goals" real, "assists" real, "team" text, "venue" text, "opponent" text, "competition" text, "total_gs" real, "total_as" real ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "name" text, "date" text, "goals" real, "assists" real, "team" text, "venue" text, "opponent" text, "competition" text, "total_gs" real, "total_as" real ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "name" text, "date" text, "goals" real, "assists" real, "team" text, "venue" text, "opponent" text, "competition" text, "total_gs" real, "total_as" real ); Question: What i...
<|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: What was Bill Glasson's score to par after 2 rounds? <|assistant|> SELECT "to_par" FROM "se...
<|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: What was Phil Mickelson's score to par? <|assistant|> SELECT "to_par" FROM "second_round" W...
<|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: What place was Bill Glasson in? <|assistant|> SELECT "place" FROM "second_round" WHERE "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the average pick with 85 overall in a round l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Which team was in 1951? <|assistant|> SELECT "team" FROM "motorcycle_grand_prix_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_23_14_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the date of the match with ar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_23_14_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the date of the match with a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_23_14_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the surface of the palermo, i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text ); Question: In what Round was OL Player Richard Zulys picked? <|assistant|> SELECT SUM("round") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text ); Question: What is the Player from McGill? <|assistant|> SELECT "player" FROM "cfl_draft" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which College had an Overall pick of 171? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: Who had the overall pick of 72? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text, "home_rink" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text, "home_rink" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_indiana_fever_miami_sol_portland_fi" ( "pick" real, "player" text, "nationality" text, "new_wnba_team" text, "former_wnba_team" text, "college_country_team" text ); Question: What pick w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_indiana_fever_miami_sol_portland_fi" ( "pick" real, "player" text, "nationality" text, "new_wnba_team" text, "former_wnba_team" text, "college_country_team" text ); Question: Which playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_indiana_fever_miami_sol_portland_fi" ( "pick" real, "player" text, "nationality" text, "new_wnba_team" text, "former_wnba_team" text, "college_country_team" text ); Question: What is the...