text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings_and_structures" ( "rank" text, "name" text, "height_metres_ft" text, "floors" text, "year" real ); Question: What ranking is the structure with 01.0 87 floors? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "raiders_points" real, "opponents" real, "raiders_first_downs" real, "record" text, "attendance" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "raiders_points" real, "opponents" real, "raiders_first_downs" real, "record" text, "attendance" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "raiders_points" real, "opponents" real, "raiders_first_downs" real, "record" text, "attendance" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "raiders_points" real, "opponents" real, "raiders_first_downs" real, "record" text, "attendance" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fastest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: What is the average Tournaments, when Highest ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fastest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: What is Top Division Debut, when Tournaments i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fastest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: What is the lowest Tournaments, when Name is "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fastest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: What is the highest Tournaments, when Pro Debu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fastest_progress_to_top_division" ( "name" text, "tournaments" real, "pro_debut" text, "top_division_debut" text, "highest_rank" text ); Question: What is Pro Debut, when Tournament is greater ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances_and_goals" ( "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances_and_goals" ( "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances_and_goals" ( "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "juries" ( "song" text, "international_jury" text, "lule" text, "ume" text, "sundsvall" text, "falun" text, "karlstad" text, "rebro" text, "norrk_ping" text, "g_teborg" text, "v_xj" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "juries" ( "song" text, "international_jury" text, "lule" text, "ume" text, "sundsvall" text, "falun" text, "karlstad" text, "rebro" text, "norrk_ping" text, "g_teborg" text, "v_xj" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "juries" ( "song" text, "international_jury" text, "lule" text, "ume" text, "sundsvall" text, "falun" text, "karlstad" text, "rebro" text, "norrk_ping" text, "g_teborg" text, "v_xj" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "juries" ( "song" text, "international_jury" text, "lule" text, "ume" text, "sundsvall" text, "falun" text, "karlstad" text, "rebro" text, "norrk_ping" text, "g_teborg" text, "v_xj" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "juries" ( "song" text, "international_jury" text, "lule" text, "ume" text, "sundsvall" text, "falun" text, "karlstad" text, "rebro" text, "norrk_ping" text, "g_teborg" text, "v_xj" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text ); Question: What was the result of the game that was attended by 80,886 people? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text ); Question: What was the result of the game that was attended by 72,703 people? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text ); Question: What was the result of the game that was attended by 41,650 people? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text ); Question: When was the game against Indiana? <|assistant|> SELECT "date" FROM "schedule" WHERE "opp...
<|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 is Brian Henninger from, who had a score larger than 69? <|assistant|> SELECT ...
<|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 Darren Clarke's total score? <|assistant|> SELECT COUNT("score") FROM "first_round" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Who was the away team on 9 February 1988? <|assistant|> SELECT "away_team" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Who was the away team on 30 January 1988, when the home team was Everton? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: On which date was the Tie no 2? <|assistant|> SELECT "date" FROM "fourth_round_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the Tie no when Manchester United was the home team? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the score when the Tie no was 9? <|assistant|> SELECT "score" FROM "fou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "upcoming_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "away_team" text ); Question: Which away team goes against the home team Mauritius? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "upcoming_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "away_team" text ); Question: Who is the away team that goes against Team Zambia? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which away team has Tie no 3? <|assistant|> SELECT "away_team" FROM "fifth_round_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the away team playing at Everton? <|assistant|> SELECT "away_team" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the home team that Bradford City is playing against? <|assistant|> SELECT...
<|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: Which Location has a Method o...
<|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: Which Round has a Time of 0:3...
<|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: Which result has a Record of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1972_to_1982" ( "champion" text, "score" text, "runner_up" text, "additional_participants" text, "host_location_s" text ); Question: What Champion had a Score of 9–1? <|assistant|> SELECT "cham...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What score has 3 as the place? <|assistant|> SELECT "score" FROM "fina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What player has t7 as the place, with tje United States as the country...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What score has hal sutton as the player? <|assistant|> SELECT "score" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "releases" ( "year" real, "artist" text, "title" text, "format" text, "type" text ); Question: Who was the artist before 2010 with a Promotional 7" as a format? <|assistant|> SELECT "artist" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "releases" ( "year" real, "artist" text, "title" text, "format" text, "type" text ); Question: Who was the artist after 2012 with CD, LP as the format? <|assistant|> SELECT "artist" FROM "releas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "releases" ( "year" real, "artist" text, "title" text, "format" text, "type" text ); Question: What year had a title of Die Shaolin Affen EP and EP as the type? <|assistant|> SELECT AVG("year") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "releases" ( "year" real, "artist" text, "title" text, "format" text, "type" text ); Question: What is the title of the Misfits with a CD format? <|assistant|> SELECT "title" FROM "releases" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What was the highest number of bronze medals for the entry with rank 2 and fewe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average number of gold medals won by Brazil for entries with more t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the sum of silver medals for the entry with rank 3 and a total of 4 med...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fall_2001" ( "7_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "2_30_pm" text, "3_30_pm"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fall_2001" ( "7_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "2_30_pm" text, "3_30_pm"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fall_2001" ( "7_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "2_30_pm" text, "3_30_pm"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fall_2001" ( "7_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "2_30_pm" text, "3_30_pm"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fall_2001" ( "7_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "2_30_pm" text, "3_30_pm"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fall_2001" ( "7_00_am" text, "9_00_am" text, "10_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "2_30_pm" text, "3_30_pm"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "season" text, "club" text, "country" text, "apps" text, "goals" text ); Question: What season had a goal of 1? <|assistant|> SELECT "season" FROM "statistics" WHERE "goals"='1';<...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "season" text, "club" text, "country" text, "apps" text, "goals" text ); Question: What club was in Netherlands and had 22 goals? <|assistant|> SELECT "club" FROM "statistics" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "season" text, "club" text, "country" text, "apps" text, "goals" text ); Question: What season had Belgium and 1 goal? <|assistant|> SELECT "season" FROM "statistics" WHERE "count...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "nominated_work" text, "award_s" text, "category" text, "result" text ); Question: Which Year has a Category of best film? <|assistant|> SELECT MAX("year") FROM "awards" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: Who is the incumbent from the democratic party in the washington 7 district? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: When was the earliest incumbent dave reichert was first elected? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is the total of the first elected year of incumbent norm dicks? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is the total of the first elected year of the incumbent from the washington...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "daytona_500_results" ( "year" real, "manufacturer" text, "start" real, "finish" real, "team" text ); Question: WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "daytona_500_results" ( "year" real, "manufacturer" text, "start" real, "finish" real, "team" text ); Question: WHAT MANUFACTURER AFTER 1966 HAD A START SMALLER THAN 5, A WOOD TEAM AND FINISHED ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "daytona_500_results" ( "year" real, "manufacturer" text, "start" real, "finish" real, "team" text ); Question: WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "addictive_potential" ( "drug" text, "mean" real, "pleasure" real, "psychological_dependence" real, "physical_dependence" real ); Question: What is the total number of Pleasure(s), when Psycholo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "addictive_potential" ( "drug" text, "mean" real, "pleasure" real, "psychological_dependence" real, "physical_dependence" real ); Question: What is the highest Psychological Dependence, when Ple...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "addictive_potential" ( "drug" text, "mean" real, "pleasure" real, "psychological_dependence" real, "physical_dependence" real ); Question: What is the average Mean, when Drug is "Alcohol", and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "addictive_potential" ( "drug" text, "mean" real, "pleasure" real, "psychological_dependence" real, "physical_dependence" real ); Question: What is the total number of Psychological Dependence, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "addictive_potential" ( "drug" text, "mean" real, "pleasure" real, "psychological_dependence" real, "physical_dependence" real ); Question: What is the sum of Pleasure, when Drug is "LSD", and w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_teams" ( "team" text, "country" text, "domestic_tournament" text, "position" text, "group" text ); Question: What Country's team is Rajasthan Royals at the 2008 Indian Premier League?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_teams" ( "team" text, "country" text, "domestic_tournament" text, "position" text, "group" text ); Question: What is the Domestic Tournament with Chennai Super Kings Team? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_teams" ( "team" text, "country" text, "domestic_tournament" text, "position" text, "group" text ); Question: What is the Dolphins Group? <|assistant|> SELECT "group" FROM "qualified_t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: Who is the player that won in the year 1978? <|assistant|> SELECT "player" FROM "mis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the Country of the Player with a Score of 73-71-76-70=290? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is Lawson Little's Money ($) amount? <|assistant|> SELECT "money"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the Money ($) amount of the Player with a To par of e? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What Country has a Player with Playoff Money with a Score of 72-69-73-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is Ben Hogan's Place? <|assistant|> SELECT "place" FROM "final_le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the Place of the Player with a Score of 73-75-71-73=292? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_ladder" ( "central_murray" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many byes when there are 11 wins and fewer than 5 losses? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_ladder" ( "central_murray" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many losses when there are less than 0 wins? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_ladder" ( "central_murray" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What are the most againsts with more than 11 losses and central murray...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the To par of the player with Money of 7,750 or more? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "dsl_type" text, "provider" text, "resale" text, "down_up_to_kbit_s" real, "up_up_to_kbit_s" real ); Question: who is the provider when up (up to kbit/s) is 1180? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "dsl_type" text, "provider" text, "resale" text, "down_up_to_kbit_s" real, "up_up_to_kbit_s" real ); Question: what is the highest down (up to kbits/s) when resale is yes, up ( up to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "dsl_type" text, "provider" text, "resale" text, "down_up_to_kbit_s" real, "up_up_to_kbit_s" real ); Question: what is the resale when the down (up to kbit/s) is 24000? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "dsl_type" text, "provider" text, "resale" text, "down_up_to_kbit_s" real, "up_up_to_kbit_s" real ); Question: What is the average down (up to kbit/s) when the provider is willy.tel ...
<|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: How many totals have a Gold larger than 0, and a Bronze smaller than 0? <|assis...
<|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: Which Total has a Bronze larger than 1, and a Gold larger than 0? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: What country is Eugene McDowell from? <|assistant|> SELECT "nationality" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: When was Mario Elie picked in a round before 7? <|assistant|> SELECT MAX("pick"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: In what round did someone from North Carolina State get picked larger than 91? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "show" text, "character" text, "results" text ); Question: Which Results have a Category of the best new actor in lead role(female)? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "show" text, "character" text, "results" text ); Question: What was the category in 2008? <|assistant|> SELECT "category" FROM "awards" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "show" text, "character" text, "results" text ); Question: Which Character has a Category of favourite naya sadasya? <|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, "show" text, "character" text, "results" text ); Question: Which Show has an Award of indian television academy awards? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "show" text, "character" text, "results" text ); Question: What award was won after 2008? <|assistant|> SELECT "award" FROM "awards" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "school_massacres" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "injured" text, "additional_notes" text ); Question: On what Date did the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: What is City / State, when Winner is "Rohan Onslow", and when Circuit is "Oran Park Race...