text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Country of the Player in Place 1? <|assistant|> SELECT "country" 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 is the Place of the Player with a To par of –10 and a Score of 67-67-66=200? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_points_in_a_la_liga_season_at_least" ( "rank" real, "club" text, "season" text, "points" real, "apps" real ); Question: Can you tell me the total number of Rank that has the Points larger ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: How many people on average attended when Eastwood Town was the away team, and the tie ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: The game with home team Crowborough Athletic, with an attendance less than 848 had wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: The game with Bashley as the home team had what maximum attendance? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: What is the tie number total when Harlow Town is the away team? <|assistant|> SELECT C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real ); Question: Which artist has a draw greater than 15? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real ); Question: What was the highest place a song by Jacques Raymon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "donald_campbell_s_unlimited_world_water_" ( "speed" text, "craft" text, "pilot" text, "location" text, "date" text ); Question: What is the Craft used at Coniston Water? <|assistant|> SELECT "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "donald_campbell_s_unlimited_world_water_" ( "speed" text, "craft" text, "pilot" text, "location" text, "date" text ); Question: What is the Speed at Lake Mead? <|assistant|> SELECT "speed" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ten_goalscorers_still_active_primera" ( "rank" real, "name" text, "years" text, "current_club" text, "goals" real, "apps" real, "ratio" real ); Question: Which Goals have a Ratio of 0.2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ten_goalscorers_still_active_primera" ( "rank" real, "name" text, "years" text, "current_club" text, "goals" real, "apps" real, "ratio" real ); Question: Which Goals have a Current Club...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ten_goalscorers_still_active_primera" ( "rank" real, "name" text, "years" text, "current_club" text, "goals" real, "apps" real, "ratio" real ); Question: Which Current Club has a Rank o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text ); Question: What is the second party that has a conservative first party i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text ); Question: Who is the second member with first member Sir Rowland Hill, B...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text ); Question: What is the first party with second member Hon. Rowland Hill, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text ); Question: Who is the second member that is a second party Whig in the 18...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text ); Question: What is the second party that has a conservative first party a...
<|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 player with a score of 69-68=137? <|assistant|> SELECT "place" FROM "seco...
<|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's the score for the t10 player from zimbabwe? <|assistant|> SELECT "score" FROM "secon...
<|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's the score of the t10 player from australia? <|assistant|> SELECT "score" FROM "secon...
<|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's bob tway's score? <|assistant|> SELECT "score" FROM "second_round" WHERE "player"='b...
<|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 Player has a Place of t10, a Country of united states, and a Score of 67-73=140? <|ass...
<|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 has a Player of seve ballesteros? <|assistant|> SELECT "place" FROM "second_roun...
<|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 Country has a Player of nick faldo? <|assistant|> SELECT "country" FROM "second_round"...
<|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 To par has a Place of t10, and a Score of 67-73=140? <|assistant|> SELECT "to_par" FRO...
<|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 Score has a Place of t6, a Country of united states, and a Player of fred couples? <|a...
<|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 To par has a Score of 68-66=134? <|assistant|> SELECT "to_par" FROM "second_round" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_providers" ( "provider" text, "years" text, "free_or_pay" text, "transmission" text, "on_demand" text ); Question: Name the Provider that has a pay in 2006–, and a Transmission of iptv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_providers" ( "provider" text, "years" text, "free_or_pay" text, "transmission" text, "on_demand" text ); Question: Name the Years which have Transmission of digital satellite, an On dem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_providers" ( "provider" text, "years" text, "free_or_pay" text, "transmission" text, "on_demand" text ); Question: What kind of Free or pay has Years of 2006– and a Provider of bt tv (f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_providers" ( "provider" text, "years" text, "free_or_pay" text, "transmission" text, "on_demand" text ); Question: Name the Years that have a free + pay? <|assistant|> SELECT "years" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_providers" ( "provider" text, "years" text, "free_or_pay" text, "transmission" text, "on_demand" text ); Question: Which On demandhas a Free or pay of free and a Provider of freesat? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_providers" ( "provider" text, "years" text, "free_or_pay" text, "transmission" text, "on_demand" text ); Question: Which On demand has a pay and a Provider of virgin media (formerly ntl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_free_to_air_dvb_t_television_ch" ( "name" text, "region" text, "programming" text, "type" text, "encryption" text ); Question: What is the region for tv uskana? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_free_to_air_dvb_t_television_ch" ( "name" text, "region" text, "programming" text, "type" text, "encryption" text ); Question: What is the region for tv vtv? <|assistant|> SELECT "regi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: What is the highest Week with the Opponent Buffal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: Which Opponent has an Attendance greater than 14,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "date" text, "result" text, "competition" text, "venue" text, "attendance" real ); Question: Which Attendance is larger than 1,000, with a Competition of world cup, and a Venue of dubl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "date" text, "result" text, "competition" text, "venue" text, "attendance" real ); Question: Which Venue that has an Attendance larger than 1,000, and a Result of scotland 12-20 samoa?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "date" text, "result" text, "competition" text, "venue" text, "attendance" real ); Question: Which Competition has a Result of france 46-16 scotland? <|assistant|> SELECT "competition"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" real, "seat" text, "candidate" text, "party" text, "vote" real, "percentage" text ); Question: Which Percentage has a District larger than 2, and a Party of independent?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "district" real, "seat" text, "candidate" text, "party" text, "vote" real, "percentage" text ); Question: How many votes have a Seat of house A, and a Percentage of 75.44%, and a D...
<|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 nation has more than 1 bronze and less than 3 silver? <|assistant|> SELECT...
<|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's the highest number of silver for 9 bronze and less than 27 total? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tier_i_financial_institutions" ( "rank" text, "bank" text, "assets_usd_millions" real, "market_share" text, "number_of_branches" real ); Question: What is the Market Share that has Assets of 25...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tier_i_financial_institutions" ( "rank" text, "bank" text, "assets_usd_millions" real, "market_share" text, "number_of_branches" real ); Question: What is the highest Assets (USD) Millions from...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is Score, when Attendance is "349"? <|assistant|> SELECT "score" FROM "replays" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is Score, when Away Team is "Newcastle Benfield"? <|assistant|> SELECT "score" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is Score, when Tie No is "30"? <|assistant|> SELECT "score" FROM "replays" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is Score, when Tie No is "109"? <|assistant|> SELECT "score" FROM "replays" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is Away Team, when Tie No is "37"? <|assistant|> SELECT "away_team" FROM "replays...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vowel_plus_consonant_cluster" ( "letter" text, "american" text, "british" text, "australian" text, "examples" text ); Question: What is the Australian for the American ɑ? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vowel_plus_consonant_cluster" ( "letter" text, "american" text, "british" text, "australian" text, "examples" text ); Question: What is the Australian equivalent to i /ɪ/? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vowel_plus_consonant_cluster" ( "letter" text, "american" text, "british" text, "australian" text, "examples" text ); Question: What is the British for the Australian ɔ? <|assistant|> SELECT "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vowel_plus_consonant_cluster" ( "letter" text, "american" text, "british" text, "australian" text, "examples" text ); Question: What is the American version of the British ə? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vowel_plus_consonant_cluster" ( "letter" text, "american" text, "british" text, "australian" text, "examples" text ); Question: What are the examples for the Australian æ? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vowel_plus_consonant_cluster" ( "letter" text, "american" text, "british" text, "australian" text, "examples" text ); Question: What is the letter for the Brisish ɒ? <|assistant|> SELECT "lette...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spring_2001" ( "7_00_am" text, "7_30_am" text, "8_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spring_2001" ( "7_00_am" text, "7_30_am" text, "8_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spring_2001" ( "7_00_am" text, "7_30_am" text, "8_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spring_2001" ( "7_00_am" text, "7_30_am" text, "8_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spring_2001" ( "7_00_am" text, "7_30_am" text, "8_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spring_2001" ( "7_00_am" text, "7_30_am" text, "8_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_queen_mary_i" ( "summoned" text, "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who was the 1st member with 2nd member Th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_queen_mary_i" ( "summoned" text, "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who is the second member that was elected...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_queen_mary_i" ( "summoned" text, "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who was dissolved that was elected in 155...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text ); Question: Which Pick has a Nationality of canada, and a Player of dennis maxwell? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text ); Question: Which Player has a Draft of 1994, a Pick larger than 8, a Round of 10, and a Nationality o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text ); Question: Which Player has a Round of 7, a Pick larger than 187, a Nationality of united states, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text ); Question: Which Player has a Round of 9, and a Pick of 263? <|assistant|> SELECT "player" FROM "draf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text ); Question: Which Draft has a Round of 1, a Nationality of canada, a Pick of 1, and a Player of vincen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin_results" ( "team" text, "wins" text, "losses" text, "points" text, "w_pct" text, "g_f" text, "g_a" text, "assists" text, "penalties" text, "p_i_m" text ); Question: What p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin_results" ( "team" text, "wins" text, "losses" text, "points" text, "w_pct" text, "g_f" text, "g_a" text, "assists" text, "penalties" text, "p_i_m" text ); Question: What w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin_results" ( "team" text, "wins" text, "losses" text, "points" text, "w_pct" text, "g_f" text, "g_a" text, "assists" text, "penalties" text, "p_i_m" text ); Question: What W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin_results" ( "team" text, "wins" text, "losses" text, "points" text, "w_pct" text, "g_f" text, "g_a" text, "assists" text, "penalties" text, "p_i_m" text ); Question: What a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin_results" ( "team" text, "wins" text, "losses" text, "points" text, "w_pct" text, "g_f" text, "g_a" text, "assists" text, "penalties" text, "p_i_m" text ); Question: What l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "starters_for_3_different_teams" ( "quarterback" text, "games" real, "teams" text, "wins" real, "losses" real, "percent" real ); Question: How many wins have more than 1 loss and a team of chi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gp_gs" text, "gain" real, "loss" real, "long" text, "avg_g" real ); Question: What was the total yards lost by antwon bailey when he gained 227? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_standings" ( "position" real, "club" text, "played" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "points" real, "goal_difference" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_standings" ( "position" real, "club" text, "played" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "points" real, "goal_difference" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_standings" ( "position" real, "club" text, "played" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "points" real, "goal_difference" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What was the 1st round result that had US Valenciennes (d1) as Team 2? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What was the Score of the match with USL Dunkerque (d2) as Team 2? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2003_2004_season" text ); Question: What club does Manuel Fernandes coach? <|assistant|> SELECT "club" FROM "team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2003_2004_season" text ); Question: Who is the head coach for the club from Estoril? <|assistant|> SELECT "head_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "head_coach" text, "city" text, "stadium" text, "2003_2004_season" text ); Question: Who is the head coach for the club from Aveiro? <|assistant|> SELECT "head_co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_8_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is Team 1, when Team 2 is "Iskra Odintsovo"? <|assistant|> SELECT "team_1" FROM "1_8_fin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_8_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is 1st Leg, when Team 1 is "Portol Palma Mallorca"? <|assistant|> SELECT "1st_leg" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_8_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is Agg., when Team 1 is "Noliko Maaseik"? <|assistant|> SELECT "agg" FROM "1_8_finals" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "players" text, "position" text, "year" text, "ht_wt" text, "bats_throws" text, "hometown_last_school" text ); Question: What is Jake Johnson's position? <|assistant|> SELECT "posi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "players" text, "position" text, "year" text, "ht_wt" text, "bats_throws" text, "hometown_last_school" text ); Question: What side does Clayton Allison Bat/Throw from? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "players" text, "position" text, "year" text, "ht_wt" text, "bats_throws" text, "hometown_last_school" text ); Question: What side does Ryan Overland Bat/Throws from? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eighth_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 2nd leg of pelister team 2? <|assistant|> SELECT "2nd_leg" FROM "eighth_finals...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eighth_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the team 1 with cementarnica as team 2? <|assistant|> SELECT "team_1" FROM "eighth...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eighth_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the team 2 with turnovo as team 1? <|assistant|> SELECT "team_2" FROM "eighth_fina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eighth_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the team 1 with tikveš as team 2? <|assistant|> SELECT "team_1" FROM "eighth_final...
<|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 is Place, when Score is "69-69=138", and when Country is "United States"? <|assistant|...