text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winter_1997_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "film" text, "result" text ); Question: What is Award, when Result is "Nominated", and when Film is "Sankranthi"? <|assistant|> SELECT "awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "film" text, "result" text ); Question: What is Award, when Category is "Best Actor", and when Year is less than 1988? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "film" text, "result" text ); Question: What is the total number of Year, when Award is "Vamsi Berkley Award", and when Category is "Best A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "film" text, "result" text ); Question: What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: What is Opponent, when Date is "Dec 8"? <|assistant|> SELECT "opponent" FROM "season_sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: What is Score, when Date is "Nov 28"? <|assistant|> SELECT "score" FROM "season_schedule...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: What is Date, when Score is "80-79"? <|assistant|> SELECT "date" FROM "season_schedule" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: What is Record, when Opponent is "New York Knicks"? <|assistant|> SELECT "record" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: What is Score, when Opponent is "@ New York Knicks"? <|assistant|> SELECT "score" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: What is Result, when Opponent is "Rochester Royals"? <|assistant|> SELECT "result" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendlies" ( "date" text, "opponent" text, "venue" text, "result" text, "st_mirren_scorer_s" text ); Question: What was the Result at Strathclyde Homes Stadium? <|assistant|> SELECT "result" F...
<|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: Name the Score of spain? <|assistant|> SELECT "score" FROM "first_round" WHERE "country"='sp...
<|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: Which Country has a To par of −2? Question 2 <|assistant|> SELECT "country" FROM "first_roun...
<|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: Which Place has a To par of −1 and don pooley? <|assistant|> SELECT "place" FROM "first_roun...
<|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: What is week 15's result? <|assistant|> SELECT "result" FROM "schedule" WHERE "week"=15;<|en...
<|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: What week did Cleveland Browns played? <|assistant|> SELECT AVG("week") FROM "schedule" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "transfer_fee" text, "notes" text ); Question: What is the Highest Goals for Grella? <|assistant|> SELECT MAX("goals"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "transfer_fee" text, "notes" text ); Question: What is in the Notes for Player Name Grella? <|assistant|> SELECT "not...
<|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: Who position did matthew tassone who was drafted after round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "production_and_source" ( "country" text, "electricity_production_kw_h_billion" real, "pct_coal" real, "pct_natural_gas" real, "pct_oil" real, "pct_hydropower" real, "pct_other_renewable" rea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "production_and_source" ( "country" text, "electricity_production_kw_h_billion" real, "pct_coal" real, "pct_natural_gas" real, "pct_oil" real, "pct_hydropower" real, "pct_other_renewable" rea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "production_and_source" ( "country" text, "electricity_production_kw_h_billion" real, "pct_coal" real, "pct_natural_gas" real, "pct_oil" real, "pct_hydropower" real, "pct_other_renewable" rea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "production_and_source" ( "country" text, "electricity_production_kw_h_billion" real, "pct_coal" real, "pct_natural_gas" real, "pct_oil" real, "pct_hydropower" real, "pct_other_renewable" rea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "births_and_deaths" ( "periodo" text, "births" real, "deaths" real, "difference" real, "cbr" real, "cdr" real, "imr" real, "tfr" real ); Question: What is the lowest CDR that has 112 as th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "births_and_deaths" ( "periodo" text, "births" real, "deaths" real, "difference" real, "cbr" real, "cdr" real, "imr" real, "tfr" real ); Question: What TFR has births less than 131, with 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "births_and_deaths" ( "periodo" text, "births" real, "deaths" real, "difference" real, "cbr" real, "cdr" real, "imr" real, "tfr" real ); Question: What average deaths have 15,0 as the IMR,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Who is the player in round 6? <|assistant|> SELECT "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What college did Louis LeBlanc attend? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1969_as_three_leagues_come_together" ( "portland_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the average entry in the against column ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1969_as_three_leagues_come_together" ( "portland_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the total number of losses that has draw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1969_as_three_leagues_come_together" ( "portland_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the sum of draws for all byes larger tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1969_as_three_leagues_come_together" ( "portland_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the sum of byes for losses larger than 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "time" text, "opponentnum" text, "rank_num" text, "result" text, "attendance" text ); Question: What was the result when the opponent was at 2 usc? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "time" text, "opponentnum" text, "rank_num" text, "result" text, "attendance" text ); Question: What was the result on 10/08/1988? <|assistant|> SELECT "result" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "time" text, "opponentnum" text, "rank_num" text, "result" text, "attendance" text ); Question: What was the rank# of the opponent when the result of the game was w42...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "time" text, "opponentnum" text, "rank_num" text, "result" text, "attendance" text ); Question: What was the result of the game that had 56,500 in attendance? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "time" text, "opponentnum" text, "rank_num" text, "result" text, "attendance" text ); Question: What was the rank# of the opponent when there was 93,829 in attendance...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "time" text, "opponentnum" text, "rank_num" text, "result" text, "attendance" text ); Question: On what date was the game played where the opponent was Stanford, rank...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: Which Number of electorates (2009) ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text ); Question: What tournament took place after 1973? <|assistant|> SELECT "tournament" FROM "achievement...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text ); Question: What tournament took place before 1972 with an extra of 200 m? <|assistant|> SELECT "tourn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_competitions" ( "years" text, "type" text, "original_code" text, "current_code" text, "location" text ); Question: What is the current code for the club trophy, in 1867 only? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_competitions" ( "years" text, "type" text, "original_code" text, "current_code" text, "location" text ); Question: What is the location of the original code for victorian rules? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_competitions" ( "years" text, "type" text, "original_code" text, "current_code" text, "location" text ); Question: What is the location for the club trophy? <|assistant|> SELECT "locati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_competitions" ( "years" text, "type" text, "original_code" text, "current_code" text, "location" text ); Question: What is the location for the club trophy from the year 1867 only? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is Score, when Tournament is "Tampere , Finland"? <|assistant|> SELECT "score" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is Surface, when Opponent is "Jiří Vaněk"? <|assistant|> SELECT "surface" FROM "sing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is Score, when Opponent is "Ivo Minář"? <|assistant|> SELECT "score" FROM "singles_8...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is Score, when Opponent is "Daniel Gimeno-Traver"? <|assistant|> SELECT "score" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rapid_games" ( "white" text, "black" text, "year" real, "result" text, "moves" real, "tournament" text, "opening" text ); Question: What is Tournament, when Moves is "37", and when Result i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rapid_games" ( "white" text, "black" text, "year" real, "result" text, "moves" real, "tournament" text, "opening" text ); Question: What is Result, when Year is greater than 1999, when Whit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rapid_games" ( "white" text, "black" text, "year" real, "result" text, "moves" real, "tournament" text, "opening" text ); Question: What is Opening, when White is Kramnik, when Year is less...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rapid_games" ( "white" text, "black" text, "year" real, "result" text, "moves" real, "tournament" text, "opening" text ); Question: What is Tournament, when Black is "Kramnik", when Result ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_career" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the location where t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_career" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which event was the opponent ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_career" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: How many rounds was the bout ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_career" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Where was the location when t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dvd_releases" ( "dvd_title" text, "no_of_discs" real, "year" text, "no_of_episodes" real, "region_1" text, "region_2" text, "region_4" text ); Question: Which DVD Title has a Region 1 of n/...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dvd_releases" ( "dvd_title" text, "no_of_discs" real, "year" text, "no_of_episodes" real, "region_1" text, "region_2" text, "region_4" text ); Question: Which region 1 has 12 Episodes and a...
<|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 "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 "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 "1954_ohio_state_buckeyes_football_team" ( "player" text, "round" real, "pick" real, "position" text, "nfl_club" text ); Question: What is the sum of the pick of the guard position player? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_ohio_state_buckeyes_football_team" ( "player" text, "round" real, "pick" real, "position" text, "nfl_club" text ); Question: What is the NFL club with pick # 153? <|assistant|> SELECT "nfl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_ohio_state_buckeyes_football_team" ( "player" text, "round" real, "pick" real, "position" text, "nfl_club" text ); Question: Who is the player from a round less than 13 and has a pick of 7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_ohio_state_buckeyes_football_team" ( "player" text, "round" real, "pick" real, "position" text, "nfl_club" text ); Question: Who is the player from round 13 that plays center? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_ohio_state_buckeyes_football_team" ( "player" text, "round" real, "pick" real, "position" text, "nfl_club" text ); Question: What is the NFL club with a pick less than 74 and a round great...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "season" text, "record" text, "seed" text, "first_round" text, "conference_semifinals" text, "conference_finals" text, "nba_finals" text ); Question: Which Conference Semifinals...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "season" text, "record" text, "seed" text, "first_round" text, "conference_semifinals" text, "conference_finals" text, "nba_finals" text ); Question: Which Conference Semifinals...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "season" text, "record" text, "seed" text, "first_round" text, "conference_semifinals" text, "conference_finals" text, "nba_finals" text ); Question: Which Conference Finals has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" text ); Question: What rank is the publication the observer music monthly? <|assistant|> SELECT "rank" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" text ); Question: What is the publication the observer music monthly highest year? <|assistant|> SELECT MAX...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s_49ers_17_3" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text, "attendance" real ); Question: What is the average Attendance, when Venue ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s_49ers_17_3" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text, "attendance" real ); Question: What is Result, when Date is "November 22"?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s_49ers_17_3" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text, "attendance" real ); Question: What is the average Attendance, when Venue ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text ); Question: What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What label is in CD format in Australia? <|assistant|> SELECT "label" FROM "release_histo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the label for catalog number CRG3P-90054? <|assistant|> SELECT "label" FROM "rele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the format for the MCA label? <|assistant|> SELECT "format" FROM "release_history...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the catalog number for the Grilled Cheese label? <|assistant|> SELECT "catalog" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: Which region has the format CD and label MCA? <|assistant|> SELECT "region" FROM "release...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the format for the label Mightier than Sword on January 12, 2010 in the United St...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station" text, "distance_from_wellington" text, "height_above_sea_level_m" text, "opened" real, "closed" text ); Question: Which station that sat 54m above seal level is now Closed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station" text, "distance_from_wellington" text, "height_above_sea_level_m" text, "opened" real, "closed" text ); Question: Opened prior to 1877 only 2.44km from Wellington, when di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station" text, "distance_from_wellington" text, "height_above_sea_level_m" text, "opened" real, "closed" text ); Question: What is the height above sea level for the station opened...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station" text, "distance_from_wellington" text, "height_above_sea_level_m" text, "opened" real, "closed" text ); Question: For the station opened after 1876 at 604.53km from Wellin...
<|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 at the game attended by 70,012? <|assistant|> SELECT "opponent" FROM "s...
<|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 post-week 2 game with a result of l 16–10? <|assistant|> SELECT "dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What is the highest to par number for Justin Leonard when the total i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What is the total when the finish was t44? <|assistant|> SELECT "tota...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); Question: What country has a total larger than 293, and a to par less than 17? ...
<|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: When Karaorman is Team 1, what is the Agg.? <|assistant|> SELECT "agg" FROM "eighth_finals...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scores" ( "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text ); Question: What is week 3 when week 6 is 26.05? <|assistant|> SELECT "week_3" FROM "scores...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scores" ( "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text ); Question: What is week 5 when week 2 is 36.80, and week 4 is 39.75? <|assistant|> SELECT ...