text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "title" text, "director" text, "producer" text, "production_cost" text, "singapore_gross" text ); Question: Who was the producer for the film directed by 1997? <|assistant|> SELECT "pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "title" text, "director" text, "producer" text, "production_cost" text, "singapore_gross" text ); Question: For the directed by 1991, what was the gross in Singapore? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "game" real, "date" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "result_sets" text, "result_pts" text ); Question: What day was there a set 1 o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "kickoff_et" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_com_recap" text ); Question: What is the Week when the kick ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "kickoff_et" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_com_recap" text ); Question: What time was the kickoff when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_format" ( "from" real, "goal" text, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text ); Question: What is Round 2 when Round 4 is Dou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_format" ( "from" real, "goal" text, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text ); Question: What is Round 5 when Round 4 is Tri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_format" ( "from" real, "goal" text, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text ); Question: What is Round 1 from 1977 where Rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_format" ( "from" real, "goal" text, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text ); Question: What is Round 2 from 1999? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_format" ( "from" real, "goal" text, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text ); Question: What is Round 4 when Round 6+ is tr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_format" ( "from" real, "goal" text, "round_1" text, "round_2" text, "round_3" text, "round_4" text, "round_5" text, "round_6" text ); Question: What is round 3 where From is earli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real ); Question: What points has united kingdom ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real ); Question: What machine has tony rutter as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real ); Question: What machine has 5 as the place...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real ); Question: How many places have yamaha as ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "festival_da_can_o_2008_9_march_2008" ( "draw" real, "artist" text, "song" text, "producer" text, "votes" real, "place" real ); Question: How many places did the artist Big Hit have with less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "festival_da_can_o_2008_9_march_2008" ( "draw" real, "artist" text, "song" text, "producer" text, "votes" real, "place" real ); Question: How many average votes did producer carlos coelho have...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "pilot" text, "original_airdate" text, "musical_guest_song_performed" text, "you_tube_hero" text, "my_space_band" text ); Question: What is the name of the MySpace Band with an Orig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "pilot" text, "original_airdate" text, "musical_guest_song_performed" text, "you_tube_hero" text, "my_space_band" text ); Question: What is the Musical Guest/Song with a pilot of 3?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "pilot" text, "original_airdate" text, "musical_guest_song_performed" text, "you_tube_hero" text, "my_space_band" text ); Question: What is the Original Airdate for the YouTube Hero...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "pilot" text, "original_airdate" text, "musical_guest_song_performed" text, "you_tube_hero" text, "my_space_band" text ); Question: What is the Musical Guest/Song with an original a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "pilot" text, "original_airdate" text, "musical_guest_song_performed" text, "you_tube_hero" text, "my_space_band" text ); Question: What is the Pilot number for the YouTube Hero gre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "pilot" text, "original_airdate" text, "musical_guest_song_performed" text, "you_tube_hero" text, "my_space_band" text ); Question: What is the name of the MySpace Band with an Orig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_25" real, "events" real, "cuts_made" real ); Question: What is the total number of top-25s for tournaments that had 0 wins, 1 cut...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_25" real, "events" real, "cuts_made" real ); Question: What is the fewest number of top-5s for events with more than 1 win? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_25" real, "events" real, "cuts_made" real ); Question: What is the highest number of top-25s for events with 0 wins? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text ); Question: What is the home leg who are opponents of rotor volgograd <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text ); Question: What is the round with ajax opponents <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text ); Question: Which acquisition via has a position of forward and is on the sta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text ); Question: Which is the acquisition via that has a school or club team of st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text ); Question: What is the position of Allen Gamboa? <|assistant|> SELECT "posit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "g" ( "name" text, "position" text, "number" real, "school_club_team" text, "season" text, "acquisition_via" text ); Question: Which position is number 16? <|assistant|> SELECT "position" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_history" ( "year" real, "date" text, "television" text, "designated_visitors" text, "designated_home" text, "stadium" text, "city" text ); Question: What year had a date of TBA where t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_history" ( "year" real, "date" text, "television" text, "designated_visitors" text, "designated_home" text, "stadium" text, "city" text ); Question: Who was the home team on October 28...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_history" ( "year" real, "date" text, "television" text, "designated_visitors" text, "designated_home" text, "stadium" text, "city" text ); Question: Who were the visitors when the Atla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_history" ( "year" real, "date" text, "television" text, "designated_visitors" text, "designated_home" text, "stadium" text, "city" text ); Question: Who were the home team during the g...
<|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, "2007_2008_team" text ...
<|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_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "1995_96_team" text ); Question:...
<|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_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "1995_96_team" text ); Question:...
<|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_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "1995_96_team" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "result_summary_in_champions_league" ( "opposition" text, "span" text, "lost" real, "tied" real, "win_pct" real ); Question: What is the lowest win percentage for when Perth Scorchers is the opp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: On which date was the game played on Week 13? <|assistant|> SELECT "date" FROM "schedule" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "enterprise_class" ( "model" text, "books_p_us" text, "if_ls_u_if_ls" text, "z_aa_ps_z_ii_ps" text, "ic_fs" text, "opt_sa_ps" text, "std_sa_ps" real, "std_spares" real, "standard_memory_g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "enterprise_class" ( "model" text, "books_p_us" text, "if_ls_u_if_ls" text, "z_aa_ps_z_ii_ps" text, "ic_fs" text, "opt_sa_ps" text, "std_sa_ps" real, "std_spares" real, "standard_memory_g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "enterprise_class" ( "model" text, "books_p_us" text, "if_ls_u_if_ls" text, "z_aa_ps_z_ii_ps" text, "ic_fs" text, "opt_sa_ps" text, "std_sa_ps" real, "std_spares" real, "standard_memory_g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vital_statistics" ( "average_population_x_1000" real, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vital_statistics" ( "average_population_x_1000" real, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vital_statistics" ( "average_population_x_1000" real, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vital_statistics" ( "average_population_x_1000" real, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vital_statistics" ( "average_population_x_1000" real, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which Player has a School/Club Team of Illinois? <|assistant|> SELECT "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which Player plays Guard-Forward Position for School/Club Team Pepperdine?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: What Position does the Player Vince Carter hold? <|assistant|> SELECT "pos...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which School/Club Team does Vince Carter Play for? <|assistant|> SELECT "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Who is the Player for School/Club Team Illinois? <|assistant|> SELECT "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What score has 7-0 as the result? <|assistant|> SELECT "score" FROM "international...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What competition has 17-1 as the result? <|assistant|> SELECT "competition" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What competition has 17-1 as the result? <|assistant|> SELECT "competition" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_pool_b" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "total" text ); Question: What is the set 2 with a 25-23 set 1 and a 17-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_pool_b" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "total" text ); Question: What is the set 5 with a 25-23 set 3? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970_new_york_giants_season" ( "round" real, "pick" real, "player" text, "position" text, "college" text ); Question: Who had the high pick of the round of 10 for Fairmont State college? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970_new_york_giants_season" ( "round" real, "pick" real, "player" text, "position" text, "college" text ); Question: What was the name of the player for pick 402? <|assistant|> SELECT "player"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What is the date of the week 4 game? <|assistant|> SELECT "date" FROM "season_schedul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What is the result of the game on October 17, 1965? <|assistant|> SELECT "result" FRO...
<|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 is the Rank for Viktors Dobrecovs with less than 325 Matches? ...
<|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 is the number of Matches for Vits Rimkus with a Rank of less t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "location" text, "result" text, "attendance" real ); Question: What is the Date for the game at michie stadium • west point, ny? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "location" text, "result" text, "attendance" real ); Question: What is the Opponent when the location was groves stadium • winston-salem, nc, with a re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hugh_smellie_1878_1890" ( "class" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text ); Question: In 1879-81 with number built 4, what is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hugh_smellie_1878_1890" ( "class" real, "date" text, "builder" text, "no_built" real, "1919_nos" text, "lms_class" text, "lms_nos" text ); Question: On which date was the class 157? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "locale" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text ); Question: Can you tell me the lowest Ends Lost that has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_19" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text ); Question: What was the Margin of Victory of winning score 68-67-69-65=2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_19" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text ); Question: What is the To Par of winning score 71-66-70-67=274? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_19" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text ); Question: Which tournament had a winning score of 67-61-68-67=263? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What's the highest against sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What's the number of losses wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is team ypiranga-sp's ave...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "location" text, "result" text, "attendance" real ); Question: What was the attendance for the game at groves stadium • winston-salem, nc with a result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "location" text, "result" text, "attendance" real ); Question: Who was the opponent when the result was L 0-14? <|assistant|> SELECT "opponent" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "year" text, "hometown" text ); Question: What is the name of the position of the person whose hometown is Queens, NY? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "year" text, "hometown" text ); Question: What is Tim Andree's greatest number? <|assistant|> SELECT MAX("number") FROM "roster" WHERE "na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "year" text, "hometown" text ); Question: What is the lowest number of the player with a hometown of Bellwood, IL? <|assistant|> SELECT MI...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text, "attendance" text ); Question: What is Score, when Attendance is 2,444? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text, "attendance" text ); Question: What is Home Team, when Tie No is Replay, and when Attendanc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text, "attendance" text ); Question: What is Score, when Tie No is 17? <|assistant|> SELECT "scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text, "attendance" text ); Question: What is Away Team, when Tie No is 4? <|assistant|> SELECT "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text, "attendance" text ); Question: What is Score, when Attendance is 3,416? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall_results_in_the_ipl" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "success_rate" text, "away_wins" real, "away_losses" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall_results_in_the_ipl" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "success_rate" text, "away_wins" real, "away_losses" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall_results_in_the_ipl" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "success_rate" text, "away_wins" real, "away_losses" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What stadium was the December 29, 2008...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: Which bowl game had a conference match...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What stadium was the Fiesta Bowl playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What was the payout in US dollars at t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What was the conference matchup in the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "bowl_game" text, "date" text, "stadium" text, "city" text, "television" text, "conference_matchups" text, "payout_us" text ); Question: What was the conference matchup for th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_3" ( "team" text, "tries_for" real, "tries_against" real, "try_diff" text, "points_for" real, "points_against" real, "points_diff" text ); Question: Which Team has Tries for smaller th...