text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text ); Question: What is the Music for Team anna guzik & rafał kamiński that has a Points Ju...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text ); Question: Which Music has a Dance of Modern? <|assistant|> SELECT "music" FROM "po_pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text ); Question: What is the Points Jury for Dance pop? <|assistant|> SELECT "points_jury" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text ); Question: Which Place has a Points Jury of 34 (7,8,9,10)? <|assistant|> SELECT "place...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_by_country" ( "country" text, "freedom_in_the_world_2013" text, "2013_index_of_economic_freedom" text, "2013_press_freedom_index" text, "2012_democracy_index" text ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_by_country" ( "country" text, "freedom_in_the_world_2013" text, "2013_index_of_economic_freedom" text, "2013_press_freedom_index" text, "2012_democracy_index" text ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real ); Question: How many FA Trophy has a Tota...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real ); Question: Which League Cup that has a T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real ); Question: How many FA Trophy that have ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text ); Question: For what country is the skip Andy Kapp? <|assistant|> SELECT "country" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Who is the second on the North America team for which Cathy Overton-Cla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Who is the lead of the team from Lockerbie? <|assistant|> SELECT "lead"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the name of the team from Stirling? <|assistant|> SELECT "team"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Who is the lead on the Europe team that has a Liudmila Privivkova as th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Who is the second of the North America team from Edmonton, Canada? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives" ( "livery" text, "locomotive_type" text, "wheel_arrangement" text, "builder" text, "year_built" real ); Question: What is the livery of the steam locomotive built after 1950 with a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives" ( "livery" text, "locomotive_type" text, "wheel_arrangement" text, "builder" text, "year_built" real ); Question: What livery belongs to the steam Locomotive type builder that was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total number of medals when the gold is more than 2 and silver more...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the most silver medals when the total is less than 4 and the rank is 12...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total number of bronze medals when the silver is greater than 0, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total number of medals when the bronze is more than 1, and Germany ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real ); Question: When Oscar Míguez had over 107 goals, what was the lowest he ranked...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real ); Question: What was the highest number of goals for 1922–1935? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which pick number was there for Jason French? <|assistant|> SELECT "pick_num" FROM "ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which cfl team was associated with the college of manitoba? <|assistant|> SELECT "cfl_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which college's cfl team is the hamilton tiger-cats? <|assistant|> SELECT "college" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which position's cfl team was the Montreal Alouettes when the pick number was less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_three" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: Which player was drafted by the Saskatchewan Roughriders? <|assistant|> SELECT "play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_three" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What college did Ben Wearing play for? <|assistant|> SELECT "college" FROM "round_th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goals" ( "name" text, "league_goals" real, "fa_cup_goals" real, "fl_cup_goals" real, "other_goals" real, "total" real, "career" text ); Question: What is the average FA Cup Goal value for p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text ); Question: On what date were the Ottawa Swans the away team? <|assistant|> SELECT "date" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text ); Question: What was the score of the game with the Etobicoke Kangaroos as the home team? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text ); Question: What was the score of the game with the Broadview Hawks as the home team? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text ); Question: What was the score of the Broadview Hawks home game? <|assistant|> SELECT "score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text ); Question: Who was the away team for the Etobicoke Kangaroos home game? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text ); Question: What was the date for the 130-56 game? <|assistant|> SELECT "date" FROM "round_t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "junior_champions" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Which men's singles has a women'...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "junior_champions" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Which men's singles had a women'...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "junior_champions" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: What is the mean year when the w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text ); Question: What is the date with Cuba is Home team? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text ); Question: What is the location with Honduras is Home team? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text ); Question: What is the location of 11 April 2013 and Mexico Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text ); Question: What is the date that is Away team is Honduras? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text ); Question: What is the date where Guatemala is the Away team? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text ); Question: What is the score for 17 April 2013? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: How many weeks have September 14, 2008 as the date? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What opponent has a week less than 16, with Septembe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What record has candlestick park as the game site, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What date has new england patriots as the opponent? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What date has 10 for the week? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What game site has w 10-3 as the result? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text ); Question: what is the victory margin in 2013 with a Winner's share o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text ); Question: what is the victory margin with a 45,000 Winner's share <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text ); Question: what is the margin of victory with a 183,800 Winner's shar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text ); Question: what is to par for the Winner's share 450,000 <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text ); Question: What is the sum of Rank that when the Singapore Cup is 0...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text ); Question: What is the Name of the person with a Total of 3 (15), a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text ); Question: What is the Singapore Cup when the S-League is 5 (14)? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text ); Question: What is the Singapore League Cup when rank is more than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions_tour_wins_14" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: In which tournament did Al Geiberger finish runner-up? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text ); Question: What is the Season with an Acquisition via of rookie draft, and t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text ); Question: What is the Acquisition via for Dennis Miranda? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text ); Question: What team acquired as a rookie draft in the position of guard Den...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text ); Question: What season was School/Club Team perpetual help in the guard posi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text ); Question: What number was Rashad McCants? <|assistant|> SELECT "number" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text ); Question: What season did School/Club Team, East have an Acquisition via of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "rd_race" text, "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: What is the Date for the City/State of Sydney, Ne...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_daimy" ( "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text ); Question: What is the Revenues during Tenure 1854-1855? <|assistant|> SELECT "revenues"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_daimy" ( "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text ); Question: What is the Revenues of Ukyo-Daiyu? <|assistant|> SELECT "revenues" FROM "lis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country was the player, rod pampling, from who placed t10? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What was the score that thomas levet got when he placed t10? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country did the player who scored 73-73-65=211 come from? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the score that the player who placed t4 from the united states get...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country is phil mickelson from? <|assistant|> SELECT "country" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_career_statistics" ( "year" real, "class" text, "team" text, "machine" text, "points" real, "wins" real ); Question: What is the Team with a Machine that is nsr250 and has Points o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the total lost ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the greatest nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "india" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real ); Question: What is the Name with an Average that is 16.4? <|assistant|> SELECT "name...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text ); Question: What was the match number for Start Gniezno? <|assistant|> SELECT "match" FROM "north_group" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text ); Question: Who was the team that lost but had 10 points? <|assistant|> SELECT "lost" FROM "north_group" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text ); Question: What was the draw for Lpż Gdańsk with a match of 8? <|assistant|> SELECT "draw" FROM "north_group"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text ); Question: What team had a draw of 0? <|assistant|> SELECT "team" FROM "north_group" WHERE "draw"='0';<|endof...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text ); Question: What match had 8 points? <|assistant|> SELECT "match" FROM "north_group" WHERE "points"='8';<|endo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text ); Question: What is the draw for a match that had 10 points? <|assistant|> SELECT "draw" FROM "north_group" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "1980_1981_team" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_group" ( "team" text, "match" real, "points" real, "draw" real, "lost" real ); Question: How many losses have a draw greater than 0? <|assistant|> SELECT SUM("lost") FROM "south_group" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_group" ( "team" text, "match" real, "points" real, "draw" real, "lost" real ); Question: Which average match has points less than 6? <|assistant|> SELECT AVG("match") FROM "south_group" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_group" ( "team" text, "match" real, "points" real, "draw" real, "lost" real ); Question: Which average draw has points greater than 12? <|assistant|> SELECT AVG("draw") FROM "south_group"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text ); Question: What Trainer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text ); Question: In what Year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text ); Question: What Owner's...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text ); Question: What was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What was the Money for Player Ernie Els? <|assistant|> SELECT "money"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What T9 Player had a Score of 70-74-69-70=283? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the Money for the T1 Player with a Score of 66-69-70-75=280? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is Chris Riley's Money? <|assistant|> SELECT "money" FROM "final...