text
stringlengths
310
1.28k
<|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" real, "total" real, "to_par" real ); Question: What is the highest total for Scotland with a year won of 1985? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "year" real, "date_opening" text, "date_closing" text, "opening_film" text, "number_of_screening" text ); Question: What is Date (Opening), when Opening Film is "Another Myanmar, Mae...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "year" real, "date_opening" text, "date_closing" text, "opening_film" text, "number_of_screening" text ); Question: What is Date (Closing), when Opening Film is "Deconstruction of Ko...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "year" real, "date_opening" text, "date_closing" text, "opening_film" text, "number_of_screening" text ); Question: What is the total number of Year(s), when Date (Opening) is "Septe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "year" real, "date_opening" text, "date_closing" text, "opening_film" text, "number_of_screening" text ); Question: What is Date (Opening), when Year is less than 2010, and when Date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "year" real, "date_opening" text, "date_closing" text, "opening_film" text, "number_of_screening" text ); Question: What is Date (Closing), when Year is greater than 2011? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "micro_focus_international_plc_financial_" ( "year_to_april" real, "revenue_us_million" real, "ebit_us_m" real, "net_profit_us_m" real, "earnings_per_share" real ); Question: Name the number of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "micro_focus_international_plc_financial_" ( "year_to_april" real, "revenue_us_million" real, "ebit_us_m" real, "net_profit_us_m" real, "earnings_per_share" real ); Question: Name the total numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "micro_focus_international_plc_financial_" ( "year_to_april" real, "revenue_us_million" real, "ebit_us_m" real, "net_profit_us_m" real, "earnings_per_share" real ); Question: Count the Earnings...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "micro_focus_international_plc_financial_" ( "year_to_april" real, "revenue_us_million" real, "ebit_us_m" real, "net_profit_us_m" real, "earnings_per_share" real ); Question: COunt the EBIT (US ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1988_nhl_entry_draft" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What position does Barry Richter pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1988_nhl_entry_draft" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What nationality is Mark Hirth from ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1988_nhl_entry_draft" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What NHL team does Rob White play on...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1988_nhl_entry_draft" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What is the pick number for position...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1988_nhl_entry_draft" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What college/junior/club team is a l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_totals" ( "team" text, "cf_appearances" real, "cf_wins" real, "cup_wins" real, "last_cf" real ); Question: What is the average last cf of the st. louis blues, who has less than 4 cf appear...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_totals" ( "team" text, "cf_appearances" real, "cf_wins" real, "cup_wins" real, "last_cf" real ); Question: What is the lowest number of cf wins of the chicago blackhawks, which has more th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_totals" ( "team" text, "cf_appearances" real, "cf_wins" real, "cup_wins" real, "last_cf" real ); Question: What is the lowest number of last cfs of the team with 2 cf appearances, 0 cup wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text ); Question: What position did the driver from Audi Sport North Amer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What event has 8 as the rank points, with 20 as the total? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What shooter has wc munich as the event, and 8 as the rank points? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What score points have olympic gold medalist as the rank points? <|assistant|> ...
<|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 Northern Ireland Player has more than 36,000 Money with a To par of –7?...
<|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: With a To par of –5, what is Nick Faldo's Place? <|assistant|> SELECT "place...
<|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 Fuzzy Zoeller's To par? <|assistant|> SELECT "to_par" FROM "final_ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_ministers" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text ); Question: What is the Government the has the Kadima Party? <|assistant|> SELECT "go...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: Which Rank points has a Score points of olympic silver medalist? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: Which Shooter has a Rank points of 8 and a Event of wc milan? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: Which Score points has an Event of og beijing, and Rank points of olympic gold ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: Name Event of wc milan and a Total of 23? <|assistant|> SELECT "score_points" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: which Score points has a Rank points of 10, and an Event of wc milan? <|assista...
<|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 was willie goggin's score? <|assistant|> SELECT "score" FROM "fin...
<|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: Which Place has a Country of united states, and a Money ($) larger tha...
<|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, "record" text ); Question: What is the home team on March 7? <|assistant|> SELECT "home" FROM "regular_season" WHERE "d...
<|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, "record" text ); Question: What is the record on October 30? <|assistant|> SELECT "record" FROM "regular_season" WHERE ...
<|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, "record" text ); Question: What is the record on February 19? <|assistant|> SELECT "record" FROM "regular_season" WHERE...
<|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 was d. a. weibring's to par? <|assistant|> SELECT "to_par" FROM "third_round" WHERE "pl...
<|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: For which to par was the score 71-74-68=213? <|assistant|> SELECT "to_par" FROM "third_round...
<|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 scored 70-72-70=212? <|assistant|> SELECT "player" FROM "third_round" WHERE "sco...
<|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 to par for the score 72-69-68=209? <|assistant|> SELECT "to_par" FROM "third_rou...
<|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 was Australia's to par when the place was t9? <|assistant|> SELECT "to_par" FROM "third...
<|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: Wht did Mark O'Meara place when the to par was +2? <|assistant|> SELECT "place" FROM "third_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_singles" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text ); Question: Which Location has a Year larger than 2006, and a Score of 6–3, 6–3? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_singles" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text ); Question: Which Score has a Year larger than 2004, and a Champion of gaël monfils? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_singles" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text ); Question: Which Runner-up has a Year smaller than 2008, and a Champion of josé acasuso? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_singles" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text ); Question: Which Champion has a Runner-up of florian mayer, and a Score of 7–6(6), 4–6, 7–5? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: WHAT IS THE SCORE WITH A WINNER AND OPPONENT BYRON BLACK? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "herbaria_in_the_british_isles" ( "name" text, "no_specimens" real, "abbr" text, "country" text, "city" text ); Question: Which country has the city of London, England with more than 150,000 spe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" real, "transfer_fee" text ); Question: How many goals did coe get? <|assistant|> SELECT MIN("goals") FROM "squ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" real, "transfer_fee" text ); Question: What is the total number of ends when the transfer fee was dkk 14m? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" real, "transfer_fee" text ); Question: Who had a transfer fee of dkk 6m? <|assistant|> SELECT "name" FROM "squ...
<|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: Craig Parry with a score of 68-68=136 is in what place? <|assistant|> SELECT "place" 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 place is the golfer in who is from Spain? <|assistant|> SELECT "place" FROM "second_ro...
<|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: For what country does the golfer play who has a score of 72-65=137? <|assistant|> SELECT "c...
<|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: Golfer Steve Pate is in what place? <|assistant|> SELECT "place" FROM "second_round" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_players" ( "nationality" text, "position" text, "bolton_wanderers_career" text, "apps" real, "total" real, "goals" text ); Question: Which Bolton Wanderers career has 293 Apps? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_players" ( "nationality" text, "position" text, "bolton_wanderers_career" text, "apps" real, "total" real, "goals" text ); Question: Which Bolton Wanderers career has a Total larger t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_players" ( "nationality" text, "position" text, "bolton_wanderers_career" text, "apps" real, "total" real, "goals" text ); Question: How many apps have 28 goals, and a Total smaller t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: On what Date is Sheffield Wednesday the Home team? <|assistant|> SELECT "date" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Tie no of the Blackburn Rovers Away game? <|assistant|> SELECT "tie_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Home team at the Blackburn Rovers Away game? <|assistant|> SELECT "h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_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 2–3? <|assistant|> SELECT "hom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 1st leg with Team 2 Lyon? <|assistant|> SELECT "1st_leg" FROM "third_round" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Which team is Team 1 with a Team 2 being Sporting CP? <|assistant|> SELECT "team_1" FROM "th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the second leg for Team 1 Servette? <|assistant|> SELECT "2nd_leg" FROM "third_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "1988" text, "1990" text, "1991" text, "1992" text, "1993" text, "1995" text, "1996" text, "1997" text, "1998" text, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "1988" text, "1990" text, "1991" text, "1992" text, "1993" text, "1995" text, "1996" text, "1997" text, "1998" text, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "1988" text, "1990" text, "1991" text, "1992" text, "1993" text, "1995" text, "1996" text, "1997" text, "1998" text, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "1988" text, "1990" text, "1991" text, "1992" text, "1993" text, "1995" text, "1996" text, "1997" text, "1998" text, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "1988" text, "1990" text, "1991" text, "1992" text, "1993" text, "1995" text, "1996" text, "1997" text, "1998" text, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_stage" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "group_position" text ); Question: When was the Attendance larger than 74,382? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_stage" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "group_position" text ); Question: Which Opponents have Attendance larger than 10,346, and a Da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1983" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: Which venue has a status of Five Nations and an against of 22? <|assistant|> SELECT "venue" ...
<|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" real, "time" text, "location" text ); Question: What is the sum of the rounds...
<|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" real, "time" text, "location" text ); Question: What is the lwoest round of w...
<|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" real ); Question: Which Country has a To par smaller than 7, and a Place of 1? <|assistant|> SELECT "country" ...
<|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" real ); Question: Which Place has a Country of australia, and a Score of 70-70-72=212? <|assistant|> SELECT "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" real ); Question: What was sweden's score in T9 place? <|assistant|> SELECT "score" FROM "third_round" WHERE "...
<|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" real ); Question: Which To par has a Country of england, and a Place of t9, and a Player of graeme storm? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "nation" text, "distance" text, "athlete" text, "venue" text, "date" text ); Question: What is Distance, when Venue is "Belgrade"? <|assistant|> SELECT "distance" FROM "men" WHERE "venue...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "nation" text, "distance" text, "athlete" text, "venue" text, "date" text ); Question: What is Date, when Athlete is "Yussuf Alli"? <|assistant|> SELECT "date" FROM "men" WHERE "athlete"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "nation" text, "distance" text, "athlete" text, "venue" text, "date" text ); Question: What is Distance, when Athlete is "Irving Saladino"? <|assistant|> SELECT "distance" FROM "men" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "nation" text, "distance" text, "athlete" text, "venue" text, "date" text ); Question: What is Athlete, when Nation is "Nigeria"? <|assistant|> SELECT "athlete" FROM "men" WHERE "nation"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "nation" text, "distance" text, "athlete" text, "venue" text, "date" text ); Question: What is Nation, when Date is "2004-07-22"? <|assistant|> SELECT "nation" FROM "men" WHERE "date"='2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "nation" text, "distance" text, "athlete" text, "venue" text, "date" text ); Question: What is Distance, when Date is "2008-01-12"? <|assistant|> SELECT "distance" FROM "men" WHERE "date...
<|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, "game_site" text, "record" text, "attendance" real ); Question: What is the Week of the game with a Result of w 48–20? ...
<|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, "game_site" text, "record" text, "attendance" real ); Question: What is the Record of the game with a Result of l 14–16...
<|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, "game_site" text, "record" text, "attendance" real ); Question: What is the Date of the game with a Record of 2–3–1? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "date" text, "time" text, "round" text, "opponent" text, "ground" text, "score" text ); Question: What opponent has 32 as the round? <|assistant|> SELECT "opponent" FROM "matches" ...