text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text ); Question: What location is previous to 1994? <|assistant|> SELECT "location" FROM "team" WHERE "year"<1994;<|e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won the men's doubles before 197...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "round" text, "player" text, "position" text, "college" text ); Question: What college(s) did the player(s) picked in round 4 with a pick number less than 98 play ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "round" text, "player" text, "position" text, "college" text ); Question: What is the pick number for the player(s) drafted in round 8? <|assistant|> SELECT "pick_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "round" text, "player" text, "position" text, "college" text ); Question: What position(s) did the player(s) with a pick number of 125 play? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_48_case_6" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What mean number of extra points was there when James Lawrence was a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_48_case_6" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: What is the smallest amount of touchdowns when there is a total playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1969" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On what Date were the Results¹ 4:0? <|assistant|> SELECT "date" FROM "1969" WHERE "results"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1969" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On what Date were the Results¹ 5:1? <|assistant|> SELECT "date" FROM "1969" WHERE "results"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1969" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On what Date were the Results¹ 4:0? <|assistant|> SELECT "date" FROM "1969" WHERE "results"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparative_methods" ( "name" text, "number_of_sequences_number_of_sequences" text, "alignment_alignment_predicts_an_alignment" text, "structure_structure_predicts_structure" text, "knots_knots_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selected_vocabulary_differences" ( "rioplatense" text, "castilian" text, "andalusian" text, "mexican" text, "chilean" text, "english_us_uk" text, "italian" text ); Question: What Chilean wo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selected_vocabulary_differences" ( "rioplatense" text, "castilian" text, "andalusian" text, "mexican" text, "chilean" text, "english_us_uk" text, "italian" text ); Question: What is the Ita...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selected_vocabulary_differences" ( "rioplatense" text, "castilian" text, "andalusian" text, "mexican" text, "chilean" text, "english_us_uk" text, "italian" text ); Question: What word would...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selected_vocabulary_differences" ( "rioplatense" text, "castilian" text, "andalusian" text, "mexican" text, "chilean" text, "english_us_uk" text, "italian" text ); Question: What word would...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selected_vocabulary_differences" ( "rioplatense" text, "castilian" text, "andalusian" text, "mexican" text, "chilean" text, "english_us_uk" text, "italian" text ); Question: How would an It...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text ); Question: Which Home has a Visitor of ny rangers, and a Series of fl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text ); Question: Which Score has a Series of flyers lead 3–2? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text ); Question: Which Decision has a Date of april 25? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text ); Question: Which Decision has a Date of april 30? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "series" text ); Question: Which Home has a Series of series tied 3–3? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: Events of 22, and a Rank smaller than 4 involved which of the lowest earnings (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: Player of corey pavin, and a Rank larger than 4 involved which highest earnings...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: Events larger than 22, and a Earnings ( $ ) of 1,543,192, and a Rank smaller th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: Country of united states, and a Events of 22, and a Earnings ( $ ) larger than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "location" text, "mascot" text, "enrollment_2010" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "arkansas" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real ); Question: What is the class of the player with a weig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "arkansas" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real ); Question: How many games were played by the player at...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which Name has a Round smaller than 5, and a Pic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which Pick # has a Round smaller than 6, and an ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which Name has an Overall of 235? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legislative_activity" ( "congress" text, "bill_number_s" text, "date_introduced" text, "sponsor_s" text, "num_of_cosponsors" real ); Question: How many cosponsors have a Date introduced of may ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legislative_activity" ( "congress" text, "bill_number_s" text, "date_introduced" text, "sponsor_s" text, "num_of_cosponsors" real ); Question: Which Congress has a # of cosponsors of 19? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "full_international_caps_and_goals" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text ); Question: On what date was a friendly match held at Auckland? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "full_international_caps_and_goals" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text ); Question: What were the goals at Sydney? <|assistant|> SELECT "goals" FROM "fu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "player" text, "played" real, "sets_won" real, "sets_lost" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What shows for IATA for the City of sapporo? <|assistant|> SELECT "iata" FROM "destinations" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the ICAO when the IATA shows cts? <|assistant|> SELECT "icao" FROM "destinations" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the Country when the IATA shows cju? <|assistant|> SELECT "country" FROM "destinations...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the ICAO when the IATA shows mfm? <|assistant|> SELECT "icao" FROM "destinations" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the ICAO for Hong Kong? <|assistant|> SELECT "icao" FROM "destinations" WHERE "country...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the Airport when the ICAO shows rpvm? <|assistant|> SELECT "airport" FROM "destination...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_records" ( "season" real, "belonging_league" text, "matches" real, "points" real, "draw" real, "lose" real, "goal_difference" real, "goals_for" real, "goals_against" real, "positi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_records" ( "season" real, "belonging_league" text, "matches" real, "points" real, "draw" real, "lose" real, "goal_difference" real, "goals_for" real, "goals_against" real, "positi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_records" ( "season" real, "belonging_league" text, "matches" real, "points" real, "draw" real, "lose" real, "goal_difference" real, "goals_for" real, "goals_against" real, "positi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_records" ( "season" real, "belonging_league" text, "matches" real, "points" real, "draw" real, "lose" real, "goal_difference" real, "goals_for" real, "goals_against" real, "positi...
<|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, "game_site" text, "attendance" real ); Question: Who was the Opponent with a Result of l 17–24? <|assist...
<|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, "game_site" text, "attendance" real ); Question: What Date has a Result of l 21–34? <|assistant|> SELECT...
<|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, "game_site" text, "attendance" real ); Question: What Game Site has a Week smaller than 11, and a Date o...
<|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, "game_site" text, "attendance" real ); Question: What is the value of the lowest Week with a Record of 2...
<|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: Who is the opponent for the game that occurred after week 13? <|assistant|> SELECT "opponent...
<|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 day did the play on week 6? <|assistant|> SELECT "date" FROM "schedule" WHERE "week"=6;...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Which tournament had a 2009 result of 1R? <|assistant|> SELECT "tournament" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Which tournament had a 2010 result of QF and a 2012 result of SF? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Which tournament had a result in 2010 and 2012 of a? <|assistant|> SELECT "tou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_events" ( "round" text, "venue" text, "discipline" text, "date" text, "winner" text, "second" text, "third" text ); Question: Who was third during round 6 in Rybinsk? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_events" ( "round" text, "venue" text, "discipline" text, "date" text, "winner" text, "second" text, "third" text ); Question: Who was third in round 14? <|assistant|> SELECT "thi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_events" ( "round" text, "venue" text, "discipline" text, "date" text, "winner" text, "second" text, "third" text ); Question: What was the venue with a 3.3km c prologue disciplin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_events" ( "round" text, "venue" text, "discipline" text, "date" text, "winner" text, "second" text, "third" text ); Question: Who was the winner on 28 December 2007? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_events" ( "round" text, "venue" text, "discipline" text, "date" text, "winner" text, "second" text, "third" text ); Question: Who was third at the 0.8km f sprint discipline? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_final_statistics" ( "rank" real, "airport" text, "code_iata_icao" text, "total_cargo_metric_tonnes" real, "pct_change" text ); Question: What is the highest total cargo of an airport ranke...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_final_statistics" ( "rank" real, "airport" text, "code_iata_icao" text, "total_cargo_metric_tonnes" real, "pct_change" text ); Question: What is the rank of the airport with the BKK/VTBS c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_table" ( "rank" real, "matches_as_champion" real, "reigns_as_champion" real, "title_matches_won" real, "title_last_held" text ); Question: Which Matches has champion Rank of 5? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_table" ( "rank" real, "matches_as_champion" real, "reigns_as_champion" real, "title_matches_won" real, "title_last_held" text ); Question: Which Matches is on 24 march 1963 with a Rank...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: what game was on may 24 <|assistant|> SELECT "game" FROM "nba_finals" WHERE "date"='may 24...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: what game was on may 29 <|assistant|> SELECT "result" FROM "nba_finals" WHERE "date"='may ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: what team played on may 20 on the home side <|assistant|> SELECT "home_team" FROM "nba_fin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: what team played in game 2 <|assistant|> SELECT "road_team" FROM "nba_finals" WHERE "game"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lineup" ( "name" text, "size" text, "price" text, "quantity" real, "released" text, "nicotine" real ); Question: Which Raison Blue has the highest nicotine? <|assistant|> SELECT MAX("nicotine...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lineup" ( "name" text, "size" text, "price" text, "quantity" real, "released" text, "nicotine" real ); Question: For Raison Blue with a nicotine larger than 0.30000000000000004, what's the lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title" text, "language_s" text, "director" text, "result" text ); Question: What was the result for the fil Paljas? <|assistant|> SELECT "result" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_construction" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year" real ); Question: In what year was the rank less than 6 for Damac Heights? <|assistant|> SELECT "year" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_construction" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year" real ); Question: What is the height for rank greater than 10 in Tameer Tower? <|assistant|> SELECT "he...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_construction" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year" real ); Question: What was the earliest year with rank 20 and less than 60 floors? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_construction" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year" real ); Question: What is the highest floors with rank greater than 1 in Conrad Dubai? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real ); Question: How many Laps have a Driver of satrio hermanto? <|assistant|> SELECT SUM("laps") FROM "main_race" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real ); Question: Which Time has a Grid of 19? <|assistant|> SELECT "time" FROM "main_race" WHERE "grid"=19;<|endoftext...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real ); Question: Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round_num_overall" text, "nfl_team" text, "player" text, "position" text, "college" text ); Question: WHich team draft the player who went to college in Washington? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round_num_overall" text, "nfl_team" text, "player" text, "position" text, "college" text ); Question: What position did the palyer drafted out of Washington play? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average number of Gold medals when there are 5 bronze medals? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest amount of bronze medals when the rank was larger than 9? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the leowest number of Bronze medals for Jamaica who ranked less than 4 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "groups_all_around" ( "place" real, "nation" text, "5_hoops" real, "3_balls_2_ribbons" real, "total" real ); Question: Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 R...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "groups_all_around" ( "place" real, "nation" text, "5_hoops" real, "3_balls_2_ribbons" real, "total" real ); Question: 5 Hoops that has a Place larger than 7, and a Total larger than 38.525 had ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "groups_all_around" ( "place" real, "nation" text, "5_hoops" real, "3_balls_2_ribbons" real, "total" real ); Question: 5 Hoops larger than 19.325, and a Total of 39.4, and a Place larger than 2 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "groups_all_around" ( "place" real, "nation" text, "5_hoops" real, "3_balls_2_ribbons" real, "total" real ); Question: Total of 38.55, and a 3 Balls, 2 Ribbons smaller than 19.4 had what lowest ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "titleholders" ( "year" real, "country_territory" text, "miss_world" text, "national_title" text, "location" text ); Question: At what Location was Miss World 2009? <|assistant|> SELECT "locatio...
<|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 is the score of the 1996 Emarate cup on March 25, 1996? <|assistant|> SELECT ...
<|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: Which competition was on August 11, 1996? <|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: Which competition was in Dubai? <|assistant|> SELECT "competition" FROM "internati...
<|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 is the result of the match in Bangkok? <|assistant|> SELECT "result" FROM "in...
<|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 is the date of the match with a result of 4-0? <|assistant|> SELECT "date" FR...
<|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 is the score of the match with a 4-0 result? <|assistant|> SELECT "score" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which name has an overall number of more than 164, wh...