text
stringlengths
310
1.28k
<|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: Who was the Home team in Tie #23? <|assistant|> SELECT "home_team" FROM "ties" WHERE "tie...
<|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 was the final score in Tie #28? <|assistant|> SELECT "score" FROM "ties" WHERE "tie_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: What score has a to par greater than 15, money ($) greater than 116, w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: What player has t3 as the place, with england united states as the cou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: What is the lowest money ($) that has t8 as the place, with a to par g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: What score has money ($) greater than 400, with gene sarazen as the pl...
<|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: Which Country has a To par smaller than 7, and a Total of 148? <|assistant|> SELECT ...
<|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: Which player is from south africa? <|assistant|> SELECT "player" FROM "missed_the_cu...
<|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: Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_medallists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text ); Question: In what Event did Dorcus Inzikuru compete? <|assistant|> SELECT "event" FROM "list_of_meda...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_medallists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text ); Question: In what Games did Patrick Etolu compete? <|assistant|> SELECT "games" FROM "list_of_medall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_medallists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text ); Question: What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_medallists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text ); Question: What is the Medal for the Player in the Light Heavyweight event? <|assistant|> SELECT "med...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_medallists" ( "medal" text, "name" text, "games" text, "sport" text, "event" text ); Question: At what Games did the competitor win a Silver medal in the light heavyweight event? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Tie no for Away Team Ipswich Town? <|assistant|> SELECT "tie_no" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Date of the Middlesbrough Home game? <|assistant|> SELECT "date" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Home team in the Game with a Score of 1–0? <|assistant|> SELECT "home...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Date of the Everton Away game? <|assistant|> SELECT "date" FROM "sixt...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: When the finish was t31 what was the To par? <|assistant|> SELECT "to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: Who had a finish of t15? <|assistant|> SELECT "player" FROM "made_the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: When the total was 290 what was the To par? <|assistant|> SELECT "to_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: What is the Total for Seve Ballesteros? <|assistant|> SELECT SUM("tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1993_london_revival" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text ); Question: What was the result of Declan Donnellan's nomination? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1993_london_revival" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text ); Question: What was the result of the Best Actor in a Musical category? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: WHAT IS THE PLAYER WITH 287? <|assistant|> SELECT "player" FROM "made...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is Player, when Country is "United States", and when Place is "6"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the average Money ( $ ), when Score is "69-69-76-69=283"? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is Country, when To par is "+1", and when Score is "72-71-70-72=2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is Place, when Score is "70-70-68-70=278"? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" real, "network" text, "play_by_play" text, "colour_commentator_s" text, "pregame_host" text ); Question: For which network was Chris Walby the color commentator after 1990? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" real, "network" text, "play_by_play" text, "colour_commentator_s" text, "pregame_host" text ); Question: Who was the pregame host before 1992 when there was a play by play of Bo...
<|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_won" real, "total" real, "to_par" real ); Question: What is the total of the player who won before 1991 and has a to par less than 14? <|a...
<|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_won" real, "total" real, "to_par" real ); Question: What is the total to par of player jeff sluman, who won before 1993 and has a total gr...
<|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_won" real, "total" real, "to_par" real ); Question: What is the sum of the total of player rich beem, who has a to par greater than 17? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_cup_history" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ); Question: Who was the away team in the semifinals? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_cup_history" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ); Question: What is the home record for the Auxerre club? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_cup_history" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ); Question: What is the home record for the Maccabi Tel-Avi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1996" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is the total number of Against, when Date is "16/03/1996"? <|assistant|> SELECT COUNT("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1996" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Venue, when Against is greater than 9, and when Date is "03/02/1996"? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1996" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Status, when Opposing Teams is "Scotland"? <|assistant|> SELECT "status" FROM "1996"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1996" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is Venue, when Date is "14/12/1996"? <|assistant|> SELECT "venue" FROM "1996" WHERE "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1996" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"? <...
<|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: In what year did the team of aston martin ra...
<|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 year did the team of pescarolo sport h...
<|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: Who were the co-drivers of the vehicle that ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "slowest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: Which Rank is Highest for Yoshiazuma? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "slowest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: Which Top Division debut for Kitazakura has To...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "slowest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: What is the lowest Tournaments with Highest Ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finals" ( "year" real, "winner" text, "finalist" text, "result" text, "city" text, "stadium" text ); Question: What was the city where Hallescher FC won in 2008? <|assistant|> SELECT "city" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finals" ( "year" real, "winner" text, "finalist" text, "result" text, "city" text, "stadium" text ); Question: Who was the winner of fc grün-weiß wolfen? <|assistant|> SELECT "winner" FROM "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finals" ( "year" real, "winner" text, "finalist" text, "result" text, "city" text, "stadium" text ); Question: What was the stadium past 2012? <|assistant|> SELECT "stadium" FROM "finals" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "workplace_killings" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "injured" text ); Question: What is the average Year, when Country is "U....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "workplace_killings" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "injured" text ); Question: What is the lowest Killed, when Perpetrator i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2002_2003_season" text ); Question: What city is the Stadium estádio dr. magalhães pessoa in? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2002_2003_season" text ); Question: What city is the Stadium estádio cidade de barcelos in? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2002_2003_season" text ); Question: Head Coach casemiro mior is at which Club? <|assistant|> SELECT "club" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2002_2003_season" text ); Question: What City is the Club braga in? <|assistant|> SELECT "city" FROM "team_summar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2002_2003_season" text ); Question: What place is listed in the 2002-2003 season for the City of Aveiro? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What is the 1st round with fc nantes (d1) as team 1? <|assistant|> SELECT "1st_round" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What is the team 1 with nîmes olympique (d2) as team 2? <|assistant|> SELECT "team_1" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_number" text, "lyrics" text ); Question: In what language is the Lyrics of the release on August 10, 2005 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_number" text, "lyrics" text ); Question: What is the Label of the CD released in Germany on June 6, 2005? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_number" text, "lyrics" text ); Question: What is the Region of the EMI 4 x vinyl release bearing Catalog n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_number" text, "lyrics" text ); Question: What language is the Lyrics of the release with Catalog number 56...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_number" text, "lyrics" text ); Question: What is the Region of the release with Catalog number 3 12046 2? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "format_s" text, "edition_s" text, "label" text ); Question: What is the Label of the September 19, 2008 release in Germany? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "format_s" text, "edition_s" text, "label" text ); Question: What is the Edition of the release in Germany? <|assistant|> SELECT "edition_s" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "format_s" text, "edition_s" text, "label" text ); Question: What is the Format(s) of the release on September 23, 2008? <|assistant|> SELECT "for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "format_s" text, "edition_s" text, "label" text ); Question: What is the Label of the release on April 24, 2009 in Germany? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ultra_low_voltage_processors" ( "model_number" text, "clock_speed" text, "l1_cache" text, "l2_cache" text, "fsb_speed" text, "clock_multiplier" text, "idle_power" text, "socket" text, "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ultra_low_voltage_processors" ( "model_number" text, "clock_speed" text, "l1_cache" text, "l2_cache" text, "fsb_speed" text, "clock_multiplier" text, "idle_power" text, "socket" text, "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What's the to par for the score of 68-74-71-77=290? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What's the money ($) for the t3 place and the score of 74-74-71-69=288...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What's the score for $22,500? <|assistant|> SELECT "score" FROM "final...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What's the to par for the t1 place with a score of 70-72-73-72=287? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "rank" real, "railway_station" text, "annual_entry_exit_millions_2011_12" real, "annual_interchanges_millions_2011_12" real, "total_passengers_millions_2011_12" real, "location" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "rank" real, "railway_station" text, "annual_entry_exit_millions_2011_12" real, "annual_interchanges_millions_2011_12" real, "total_passengers_millions_2011_12" real, "location" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "rank" real, "railway_station" text, "annual_entry_exit_millions_2011_12" real, "annual_interchanges_millions_2011_12" real, "total_passengers_millions_2011_12" real, "location" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "rank" real, "railway_station" text, "annual_entry_exit_millions_2011_12" real, "annual_interchanges_millions_2011_12" real, "total_passengers_millions_2011_12" real, "location" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "rank" real, "railway_station" text, "annual_entry_exit_millions_2011_12" real, "annual_interchanges_millions_2011_12" real, "total_passengers_millions_2011_12" real, "location" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota_counties_ranked_by_per_capita_" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|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 the score of the golfer representing Scotland? <|assistant|> SELECT "score" FROM "...
<|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 the to par score of the golfer that had a score of 68-70=138? <|assistant|> SELECT...
<|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: Which golfer had a score of 69-71=140? <|assistant|> SELECT "player" FROM "second_round" WH...
<|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" text, "money" real ); Question: Which country is t3 finisher billy mayfair from? <|assistant|> SELECT "count...
<|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" text, "money" real ); Question: Which Country has a Player of jodie mudd? <|assistant|> SELECT "country" FRO...
<|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" text, "money" real ); Question: Which Money (£) has a Player of jodie mudd? <|assistant|> SELECT COUNT("mone...
<|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" text, "money" real ); Question: What is the total Money (£) of Player of nick faldo? <|assistant|> SELECT SU...
<|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" text, "money" real ); Question: What is the total Money (£) with a Place of t6, and a Player of ian baker-fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...