text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What round of the draft was Stan Adams selected? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What is the attendance for the t7-7 result? <|assistant|> SELECT "attendance" FROM "schedule...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What is the date for 45,000 in attendance? <|assistant|> SELECT "date" FROM "schedule" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: How many strokes under par was the player who scored 71? <|assistant|> SELECT "to_par" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What place is Jay Hebert? <|assistant|> SELECT "place" FROM "first_round" WHERE "player"='ja...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "games_played" real, "games_won" real, "games_drawn" real, "games_lost" real, "points_for" real, "points_against" real, "points_difference" real, "bonus_points" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "games_played" real, "games_won" real, "games_drawn" real, "games_lost" real, "points_for" real, "points_against" real, "points_difference" real, "bonus_points" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Which Score has a Record of 1-2? <|assistant|> SELECT "score" FROM "stanley_cup_playof...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Record for April 15? <|assistant|> SELECT "record" FROM "stanley_cup_playo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Record for April 13? <|assistant|> SELECT "record" FROM "stanley_cup_playo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: On April 15 who is the Home team? <|assistant|> SELECT "home" FROM "stanley_cup_playof...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Which Attendance has a Date of december 22, 1985, and a Week smaller than 16? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Which Attendance has a Result of w 23-21, and a Week smaller than 5? <|assistant|> SELECT AV...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Which Week has a Result of w 20-13? <|assistant|> SELECT AVG("week") FROM "schedule" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text ); Question: What are the Japanese char...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text ); Question: What language did the word...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text ); Question: What is the Romanization o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text ); Question: What language did the word...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text ); Question: What are the Chinese chara...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "academy_awards_actual_presidents" ( "year" real, "category" text, "president" text, "nominee" text, "film" text, "result" text ); Question: What was the category of Richard Nixon as President...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "academy_awards_actual_presidents" ( "year" real, "category" text, "president" text, "nominee" text, "film" text, "result" text ); Question: What is the film that Raymond Massey was nominated ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "academy_awards_actual_presidents" ( "year" real, "category" text, "president" text, "nominee" text, "film" text, "result" text ); Question: What was the film of Richard Nixon as President in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: WHich Partner ha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Which Score in t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the Outcome...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Which Tournament...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the Score w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the Date wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_who_made_their_afl_debut_during_" ( "name" text, "club" text, "age_at_debut" text, "debut_round" real, "games_2008" real, "goals_2008" real ); Question: What is the total number of go...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_who_made_their_afl_debut_during_" ( "name" text, "club" text, "age_at_debut" text, "debut_round" real, "games_2008" real, "goals_2008" real ); Question: What is the name that has a de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text ); Question: What is the name of team 2 that has 1-2 as the score? <|assistant|> SELECT "team_2" FROM "results...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text ); Question: In the 2005 season with a score of 0-4 what is the team 1? <|assistant|> SELECT "team_1" FROM "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text ); Question: Team 2 of Yokohama F. Marinos in the n/a venue had what score? <|assistant|> SELECT "score" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text ); Question: Team 2 Al-Ain played in what venue? <|assistant|> SELECT "venue" FROM "results" WHERE "team_2"='a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "super_league_tries" ( "date" text, "venue" text, "opponent" text, "result" text, "tournament" text, "scored" real ); Question: What is the scored figure when the result is 40-22? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "super_league_tries" ( "date" text, "venue" text, "opponent" text, "result" text, "tournament" text, "scored" real ); Question: In what tournament is there a result of 46-18? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "super_league_tries" ( "date" text, "venue" text, "opponent" text, "result" text, "tournament" text, "scored" real ); Question: What is the smallest scored with a result of 46-18? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_who_made_their_club_debut_during" ( "name" text, "club" text, "debut_round" real, "games_2008" real, "goals_2008" real, "previous_club_s" text ); Question: What is the average number ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "g" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text ); Question: What is the Nationality of the Player with Jersey Number 6? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "g" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text ); Question: What is the Jersey Number of the Player from Clemson? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text ); Question: What is the at/vs against the New York Saints with over 16,042 in attendanc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: What day was the visitor Cleveland when the record was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: What was the attendance when the score was 88-98? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: What was the record when the visitor was Cleveland in D...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "club_team" text ); Question: What is the littlest round that has Matt Delahey, and a greater tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_ranking_of_chemical_engineering_sc" ( "school" text, "location" text, "pubs_2010" real, "totals_06_10" real, "rank_06_10" real, "pubs_2011" real, "totals_07_11" real, "rank_07_11" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_ranking_of_chemical_engineering_sc" ( "school" text, "location" text, "pubs_2010" real, "totals_06_10" real, "rank_06_10" real, "pubs_2011" real, "totals_07_11" real, "rank_07_11" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is Team, when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is Replaced By...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is Outgoing Ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is Date of App...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is Date of App...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is Replaced By...
<|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 "other_appearances_in_tour_de_france" ( "year" real, "stage" real, "category" text, "start" text, "finish" text, "leader_at_the_summit" text ); Question: Which category had an orange finish? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_appearances_in_tour_de_france" ( "year" real, "stage" real, "category" text, "start" text, "finish" text, "leader_at_the_summit" text ); Question: What is the lowest year for stage 12, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_appearances_in_tour_de_france" ( "year" real, "stage" real, "category" text, "start" text, "finish" text, "leader_at_the_summit" text ); Question: What is the start of stage 11? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cole_model_overview_1908_1925" ( "year" text, "model" text, "engine_type_cyl" text, "power_bhp_k_w" text, "wheelbase_in" text ); Question: Which model had a wheelbase of 136 inches? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cole_model_overview_1908_1925" ( "year" text, "model" text, "engine_type_cyl" text, "power_bhp_k_w" text, "wheelbase_in" text ); Question: What is the engine type with a wheelbase of 127 inches...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: What was the record on January 4? <|assistant|> SELECT "record" FROM "season_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Which Streak has a Game larger than 49? <|assistant|> SELECT "streak" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Which Streak has a Date of january 7? <|assistant|> SELECT "streak" FROM "sea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repeat_winners" ( "rank" real, "name" text, "country" text, "wins" real, "years" text ); Question: Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repeat_winners" ( "rank" real, "name" text, "country" text, "wins" real, "years" text ); Question: What is richard virenque's lowest rank? <|assistant|> SELECT MIN("rank") FROM "repeat_winners"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repeat_winners" ( "rank" real, "name" text, "country" text, "wins" real, "years" text ); Question: Which Years have a Rank larger than 2, and Wins of 2, and a Country of france? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the home team with the ny rangers as the vis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the record on October 13, when philadelphia ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text ); Question: What is Season, when Opponent is source: . last updated: 28...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text ); Question: What is Venue, when Figures is 5/29? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text ); Question: What is Opponent, when Rank is 3? <|assistant|> SELECT "opp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text ); Question: What is Player, when Figures is source: . last updated: 28 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text ); Question: What is Player, when Opponent is source: . last updated: 28...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: For the match played on 7 January 1956, with away team of Accrington Stanley, who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which Tie number had Fulham as the away team? <|assistant|> SELECT "tie_no" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which Tie number had Middlesbrough as the away team? <|assistant|> SELECT "tie_no...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: On what day was Tie #29 played? <|assistant|> SELECT "date" FROM "third_round_pro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which Tie number was played on 9 January 1956? <|assistant|> SELECT "tie_no" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Tie number for the match that had away team of Scunthorpe & Lindsey U...
<|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" text ); Question: WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279? <|assistant|> SELECT "pla...
<|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" text ); Question: WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282? <|assistant|> SELECT "pla...
<|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" text ); Question: WHAT IS THE TO PAR FOR ERNIE ELS? <|assistant|> SELECT "to_par" FROM "final_...
<|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" text ); Question: WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279? <|assistant|> SELECT "plac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the winning score at Burdine's Invitational? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Who was the runner-up when the winning score is +3 (69-70-71...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Which tournament has a winning score at –7 (66-72-69-74=281)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: On what date is Jerilyn Britz the runner-up? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: On what date is the winning score –8 (70-71-67=208)? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What is Matches, when Year is "2003"? <|assistant|> SELECT "matches" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What is Draws, when Losses is "Did Not Qualify"? <|assistant|> SELECT "dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What is Result, when Losses is "Did Not Qualify"? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What is Year, when Wins is "0"? <|assistant|> SELECT "year" FROM "world_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What is Draws, when Wins is "Did Not Qualify"? <|assistant|> SELECT "draw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What is Matches, when Draws is "Did Not Qualify", and when Year is "1995"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Which Date has a Score of 112–118? <|assistant|> SELECT "date" FROM "season_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Which Record has a Score of 111–101? <|assistant|> SELECT "record" FROM "seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Which Game has a Score of 122–125? <|assistant|> SELECT "game" FROM "season_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Which Streak has a Game of 3? <|assistant|> SELECT "streak" FROM "season_sche...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Which Score has a Record of 1–3? <|assistant|> SELECT "score" FROM "season_sc...
<|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: How many totals had a silver larger than 2? <|assistant|> SELECT COUNT("total")...
<|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 was the average bronze when gold was larger than 1 and silver was larger t...