text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1997" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: what is the title when the rank is less than 17 and the worldwid...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1997" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: what is the highest rank for director john woo? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1997" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: what is the title for director p.j. hogan? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: What date was the pyramid location? <|assistant|> SELECT "date" FROM "game_log...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: What date was the opponent the Portland Trail Blazers? <|assistant|> SELECT "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: What is the record for the opponent the Cleveland Cavaliers? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: What was the second qualification time for Dale Coyne Racing with a best of 1:03.757? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: What was the second qualification time with a first qualification time of 1:02.813? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: Which team has a second qualification time of 1:01.936? <|assistant|> SELECT "team" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: Who had a best time of 1:00.870? <|assistant|> SELECT "name" FROM "qualifying_results" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: Who had a second qualification time of 1:01.777? <|assistant|> SELECT "name" FROM "qualify...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "free_play" ( "developer_s" text, "release_date" text, "required_os" text, "genre" text, "type" text ); Question: What type of 3D game was released between 2008-2011? <|assistant|> SELECT "genre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "free_play" ( "developer_s" text, "release_date" text, "required_os" text, "genre" text, "type" text ); Question: When did Riot Games release their 3D MOBA game? <|assistant|> SELECT "release_da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "free_play" ( "developer_s" text, "release_date" text, "required_os" text, "genre" text, "type" text ); Question: When did Masthead Studios release their game? <|assistant|> SELECT "release_date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "free_play" ( "developer_s" text, "release_date" text, "required_os" text, "genre" text, "type" text ); Question: What operating system was needed for 2D games? <|assistant|> SELECT "required_os...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "free_play" ( "developer_s" text, "release_date" text, "required_os" text, "genre" text, "type" text ); Question: What type of 3D game did Valve Corporation release? <|assistant|> SELECT "genre"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "free_play" ( "developer_s" text, "release_date" text, "required_os" text, "genre" text, "type" text ); Question: What was the minimum operating system required by Stunlock Studios' game? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What was the total rounds Travis Hamonic played? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "merchant_ships" ( "name" text, "flag" text, "cargo" text, "fate" text, "date_of_attack" text ); Question: What is the name of the ship with pit props as Cargo sunk by u-48 *? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "merchant_ships" ( "name" text, "flag" text, "cargo" text, "fate" text, "date_of_attack" text ); Question: What is the Date of attack of the ship with iron ore sunk by u-101 *? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is Time, when Round is l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is Location, when Round ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is Event, when Opponent ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is Event, when Round is ...
<|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" text ); Question: On what Date was the Opponent the Tennessee Titans? <|assistant|> SELECT "date" FROM "schedu...
<|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" text ); Question: What is the Result of the game with an Attendance of 64,104? <|assistant|> SELECT "result" F...
<|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" text ); Question: What is the Week number with a Result of W 30-28? <|assistant|> SELECT AVG("week") FROM "sch...
<|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" text ); Question: What is the date of the game against Philadelphia Eagles? <|assistant|> SELECT "date" FROM "...
<|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" text ); Question: What is the Attendance of the game September 21, 2003? <|assistant|> SELECT "attendance" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tonnage_for_port_of_anchorage" ( "year" real, "u_s_rank" real, "total_s_ton" real, "domestic_s_ton" real, "foreign_total_s_ton" real, "foreign_imports_s_ton" real, "foreign_exports_s_ton" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tonnage_for_port_of_anchorage" ( "year" real, "u_s_rank" real, "total_s_ton" real, "domestic_s_ton" real, "foreign_total_s_ton" real, "foreign_imports_s_ton" real, "foreign_exports_s_ton" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tonnage_for_port_of_anchorage" ( "year" real, "u_s_rank" real, "total_s_ton" real, "domestic_s_ton" real, "foreign_total_s_ton" real, "foreign_imports_s_ton" real, "foreign_exports_s_ton" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tonnage_for_port_of_anchorage" ( "year" real, "u_s_rank" real, "total_s_ton" real, "domestic_s_ton" real, "foreign_total_s_ton" real, "foreign_imports_s_ton" real, "foreign_exports_s_ton" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tonnage_for_port_of_anchorage" ( "year" real, "u_s_rank" real, "total_s_ton" real, "domestic_s_ton" real, "foreign_total_s_ton" real, "foreign_imports_s_ton" real, "foreign_exports_s_ton" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tonnage_for_port_of_anchorage" ( "year" real, "u_s_rank" real, "total_s_ton" real, "domestic_s_ton" real, "foreign_total_s_ton" real, "foreign_imports_s_ton" real, "foreign_exports_s_ton" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What position has a pick less than 20? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the number that is the lowest overall for the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the number that is the lowest overall for Rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: Where was the result a win ag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: In what round did opponent Jo...
<|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" text ); Question: Who was the opponent in a week over 8 on December 4, 1960? <|assistant|> SELECT "opponent" F...
<|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" text ); Question: Who was the opponent in a week less than 8 on October 9, 1960? <|assistant|> SELECT "opponen...
<|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" text ); Question: What was the result when 58,516 were in attendance? <|assistant|> SELECT "result" FROM "sche...
<|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" text ); Question: Who was the opponent in a week below 3 on September 23, 1960? <|assistant|> SELECT "opponent...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "suicides_per_100_000_people_per_year" ( "rank" real, "country" text, "year" real, "males" real, "females" real, "total" real ); Question: What is the biggest number of females where the males...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leading_money_winners_by_year" ( "year" real, "player" text, "country" text, "earnings" real, "most_wins" text ); Question: Who was the player in 1976? <|assistant|> SELECT "player" FROM "leadi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_chicago_sky" ( "pick" real, "player" text, "nationality" text, "new_wnba_team" text, "former_wnba_team" text, "college_country_team" text ); Question: When was Elaine Powell (g) of the U...
<|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, "record" text ); Question: When was there a result of w 65-20 after week 6? <|assistant|> SELECT "date" FROM "schedule" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is Celta's Agg.? <|assistant|> SELECT "agg" FROM "round_of_32" WHERE "team_1"='celta';<...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 2nd leg for Barcelona Team 2? <|assistant|> SELECT "2nd_leg" FROM "round_of_32" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is team 2 if Team 1 is Numancia? <|assistant|> SELECT "team_2" FROM "round_of_32" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_iranian_banks_2012_ranking" ( "bank" text, "score_iran" real, "score_global" real, "banking_power_capital_base_million" real, "banking_power_capital_base_pct_change" text, "total_assets_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_iranian_banks_2012_ranking" ( "bank" text, "score_iran" real, "score_global" real, "banking_power_capital_base_million" real, "banking_power_capital_base_pct_change" text, "total_assets_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_iranian_banks_2012_ranking" ( "bank" text, "score_iran" real, "score_global" real, "banking_power_capital_base_million" real, "banking_power_capital_base_pct_change" text, "total_assets_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text ); Question: What is the NFL club of the cornerback player with a pick greater than 63? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text ); Question: What is the total round of the tight end position player? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text ); Question: What is the pick of the NFL club buffalo bills? <|assistant|> SELECT "pick" FROM "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: On What Date is the Competition Semifinal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: Which Location has a Competition of Group...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: Which Match has a Competition of Group St...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: Which Match played in a Location of San F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What Location has a Date of 1995-06-15? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" real ); Question: What ...
<|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, "tv_time" text, "attendance" text ); Question: What was the result on October 20, 2002? <|assistant|> SELECT "result" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: What is the Jersey Number(s) from Norfolk State? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: What is the nationality of the person with number 27? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: What is the nationality of the SG position? <|assistant|> SELECT "natio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1987" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What is the rank of the film directed by danny devito? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1987" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What is the sum of the ranks for the film, eddie murphy raw? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1987" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: Who directed Predator that was filmed with Fox Studio? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1987" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What is the total number of ranks that had vestron as the studio? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_2" ( "class" text, "team" text, "driver" text, "chassis_engine" text, "laps" real ); Question: Which class had Stanley Dickens as a driver? <|assistant|> SELECT "class" FROM "race_2" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_2" ( "class" text, "team" text, "driver" text, "chassis_engine" text, "laps" real ); Question: What was the highest amount of laps for class c1 and driver Derek Bell? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "nationality" text, "position" text, "gillingham_career" text, "apps" real, "goals" real ); Question: Where was the player born when the appearances were greater than 40 and made 17 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "nationality" text, "position" text, "gillingham_career" text, "apps" real, "goals" real ); Question: When did the mf from England play for Gillingham that made 0 goals and less than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Who is the player with a t8 place? <|assistant|> SELECT "player" FROM "first_round" WHERE "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What is the country of player dale douglass, who has a t8 place? <|assistant|> SELECT "count...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What is the average score of player lee trevino, who has a t8 place? <|assistant|> SELECT AV...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What is the to par of player johnny miller, who has a t8 place? <|assistant|> SELECT "to_par...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What is the country of player chi-chi rodríguez, who has an e to par? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: WHAT IS THE LEAGUE WITH PLAYER JOE COLBORNE? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: WHAT IS THE ROUND NUMBER OF NICHOLAS TREMBLAY? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: WHAT IS THE POSITION OF FRANCE? <|assistant|> SELECT "positi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: WHAT IS THE ROUND FOR JAMIE ARNIEL? <|assistant|> SELECT COU...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chinese_taipei_national_futsal_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text ); Question: What was the score on May 12, 2008? <|assistant|> SELECT "score" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_attendance" ( "rank" real, "date" text, "attendance" real, "opponent" text, "texas_result" text ); Question: What is the rank of the largest attendance over 101,474 played against Rice?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_attendance" ( "rank" real, "date" text, "attendance" real, "opponent" text, "texas_result" text ); Question: Who was the opponent on September 26, 2009? <|assistant|> SELECT "opponent" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_mark_begich" text, "republican_ted_stevens" text, "lead_maragin" real ); Question: What was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_mark_begich" text, "republican_ted_stevens" text, "lead_maragin" real ); Question: What was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Who has a place of T7 and is from the United States? <|assistant|> SELECT "player" FROM "fir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1993" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: What is the Rank of the Film with a Worldwide Gross of $914,691,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1993" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: What is the Director of the Film The Fugitive? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real ); Question: What was the highest points on October 12, when the attendan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real ); Question: When was Montreal a visitor? <|assistant|> SELECT "date" FRO...