text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which loss has a Date of april 26? <|assistant|> SELECT "loss" FROM "game_lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which date has an Opponent of angels, and a Loss of sanderson (0–1)? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What is the largest Attendance with a Loss of darling (0–1)? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text ); Question: What is the maximum capac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text ); Question: Where is the Cagayan de O...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text ); Question: Where is the Holy Cross o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text ); Question: Which campus has the San ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text ); Question: What year did the San Agu...
<|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" text, "finish" text ); Question: Which player has a total bigger than 285 and a to par of +14? <|assis...
<|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" text, "finish" text ); Question: What is the highest total with a t12 finish? <|assistant|> SELECT MAX...
<|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" text, "finish" text ); Question: Which country has a finish of t4? <|assistant|> SELECT "country" FROM...
<|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" text, "finish" text ); Question: What year won has a total less than 281? <|assistant|> SELECT "year_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: Which chassis is ranked 24th? <|assistant|> SELECT "chassis" FROM "cart" WHERE "rank"=...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: Which chassis was made in 1993? <|assistant|> SELECT "chassis" FROM "cart" WHERE "year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: Which team is from earlier than 1994? <|assistant|> SELECT "team" FROM "cart" WHERE "y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: What rank is later than 1994? <|assistant|> SELECT "rank" FROM "cart" WHERE "year">199...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: What year did the King team have fewer than 10 points? <|assistant|> SELECT AVG("year"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: What are the average points for the Project Indy team that has the Ford xb engine? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text ); Question: Name the became consort for marriage of 4 apr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text ); Question: Name the birth of the person that has a spous...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text ); Question: Name the became consort for ceased to be cons...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text ); Question: Name the marriage of the person who is marrie...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Who has 48 points in the class of 500 cc? <|assistant|> SELECT "team" FROM "moto...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: How many wins does Benelli have before 1962? <|assistant|> SELECT COUNT("wins") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text ); Question: What was the date for the French Gra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text ); Question: What was the name for the race in th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text ); Question: Which circuit was Delage the winning...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text ); Question: What is the name for the Monza circu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text ); Question: Which report shows that Frank Lockha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text ); Question: What Ranking has Gold less than 20 and the Event 1976 Toronto? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text ); Question: What Gold has a Silver greater than 30 and a Total less than 107? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text ); Question: What is the highest Bronze with the Event 1972 Heidelberg and Total le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text ); Question: What is the Total with the Event 2004 Athens and Gold less than 20? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text ); Question: What is the lowest Bronze with a Ranking of 22nd of 32 and Gold larger...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text ); Question: Which polling firm put T. P...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text ); Question: What was the percentage for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text ); Question: What was the percentage for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text ); Question: What was the percentage for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Which tournament has a 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities" ( "rank" real, "city" text, "titles" real, "winning_clubs" text, "last_victory" real ); Question: What is the number of titles for the city of gyΕ‘r with a rank larger than 4? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Score of the Toronto Maple Leafs home game on February 1? <|assistant|> SELECT "score"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the score of the Boston Bruins away game on March 13? <|assistant|> SELECT "score" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What visiting team has a record of 9–5–2? <|assistant|> SELECT "visitor" FROM "game_log" WHERE "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the score of the game with a record of 12–8–3? <|assistant|> SELECT "score" FROM "game_log...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the date that the Montreal Canadiens hosted a game with a record of 14–11–3? <|assistant|>...
<|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: What is the country of Craig Stadler? <|assistant|> SELECT "country" FROM "missed_th...
<|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: What is the average total of Gay Brewer from the United States with a to par of 9? <...
<|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" text, "finish" text ); Question: What was the finish by the player from West Germany? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "budi_sudarsono_international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the smallest goal during the 2006 fifa world...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text ); Question: Name the representative for party of whig <|assistant|> SELECT "representative" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Name the total number of years for chassis of maserati 250f an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Name the engine with chassis of maserati 250f and entrant of l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Name the sum of points for chassis of maserati 250f and entran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Name the lowest points for officine alfieri maserati <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_roster" ( "players" text, "sh_c" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: How tall is Ye Fei? <|assistant|> SELECT "height" FROM "current_ros...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What is the attendance of the game on July 26? <|assistant|> SELECT SUM("att...
<|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: How many years did the team place 2nd in Antwerp, Belgium? <|assistant|> SELECT COUNT("yea...
<|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 is the name of the venue that was used before 1991? <|assistant|> SELECT "venue" FROM...
<|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: How many years did the team place 2nd in Auckland, New Zealand? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text ); Question: What was the started round for the competiti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text ); Question: On what date was the first match for the com...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text ); Question: What competition had a final round in the fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text ); Question: On what date did the first match occur for t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text ); Question: What competition had its first match on Dece...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text ); Question: What was the date of the first match of the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: What was Len Sutton's total number of completed laps when his qualifying time ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What call sign has a frequency of 91.3 MHz? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What city of license has a value of k293bg for its cal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: When the frequency is 103.7 MHz and the ERP W is more ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: In Los Banos, California, when the ERP W is than 10, w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the call sign when the frequency is less than ...
<|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" real, "money" real ); Question: Name the player with score of 73-69-74-71=287 <|assistant|> SELECT "player" ...
<|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" real, "money" real ); Question: Name the sum To par for score of 71-74-71-72=288 <|assistant|> SELECT SUM("t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text ); Question: Tell me the tournament for kathy horvath opponent <|assistant|> SELECT "tournament" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text ); Question: Name the date for hard surface at maybelline classic with opponent of wendy turnbull <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text ); Question: Name the tournament for semifinal hard surface for opponent of pam casale <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text ); Question: Name the date for grass surface for quarterfinal at the nsw building society open tourna...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text ); Question: Name the surface for united airlines tournament of champions final round <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text ); Question: Name the date for chris evert opponent and carpet surface <|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: Name the venue for 25 may 2008 <|assistant|> SELECT "venue" FROM "international_go...
<|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: Name the score for 2015 afc asian cup qualification <|assistant|> SELECT "score" F...
<|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: Name the competition for 13 december 2012 <|assistant|> SELECT "competition" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What was arrows racing team's highest points after 1982? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: How many years has 2 points? <|assistant|> SELECT SUM("year") FROM "comple...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_two" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "song_title" text, "time" text ); Question: Name the catalogue with song title of love me tonight <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_two" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "song_title" text, "time" text ); Question: Name the song title with time of 1:51 <|assistant|> SELECT "song_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_two" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "song_title" text, "time" text ); Question: Name the least track with song of little sister <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_scores" ( "player" text, "score" text, "balls" real, "opponent" text, "ground" text ); Question: What player has a score of 79? <|assistant|> SELECT "player" FROM "highest_scores" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_scores" ( "player" text, "score" text, "balls" real, "opponent" text, "ground" text ); Question: Who played on waca ground and scored 79 points? <|assistant|> SELECT "opponent" FROM "hi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_scores" ( "player" text, "score" text, "balls" real, "opponent" text, "ground" text ); Question: What player had 49 balls? <|assistant|> SELECT "player" FROM "highest_scores" WHERE "bal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the highest attendance of a game that had a score of 3-5? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Who took the loss in the game that ended with a 54-61 record? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text ); Question: Name the report wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text ); Question: Name the motogp wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text ); Question: Name the 125cc win...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text ); Question: Name the date for ...