text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the record for November 26, with the decision made...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the record for game where Columbus is visitor, Pho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the record for November 4, with a decision made by...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "intergiro_classification" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "bonus_points" text, "points" text ); Question: How many points did the Castres h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "bonus_points" text, "points" text ); Question: Who is the club that had 617 poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "bonus_points" text, "points" text ); Question: What number of bonus points did S...
<|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" text, "record" text ); Question: Who was the opponent at the game when the record was 15–15? <|assistant|> SE...
<|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" text, "record" text ); Question: Who was the opponent at the game attended by 23,203? <|assistant|> SELECT "o...
<|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" text, "record" text ); Question: What was the loss of the game when the record was 16–15? <|assistant|> SELEC...
<|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" text, "record" text ); Question: What was the attendance at the game that had a score of 16–7? <|assistant|> ...
<|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" text, "record" text ); Question: What was the date of the game attended by 25,022? <|assistant|> SELECT "date...
<|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 record has an attendance larger than 28,459? <|assistant|> SELECT "rec...
<|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: When the record was 32-37 what was the score? <|assistant|> SELECT "score" F...
<|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: On the date of june 7 what was the score? <|assistant|> SELECT "record" FROM...
<|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, "record" text ); Question: What was the score of the game when the record was 68-39? <|assistant|> SELECT "score" FROM "game...
<|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, "record" text ); Question: What was the game of the game against the White Sox with a record of 81-48? <|assistant|> SELECT ...
<|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, "record" text ); Question: What was the date of the game when the record was 66-38? <|assistant|> SELECT "date" FROM "game_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "original_broadway_production" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text ); Question: What category was Brian D'arcy James nominated for? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the item "Moving to", when the Transfer fee is £300,000? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the Country, when the Transfer fee is "loan", and when th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the Transfer window, when the Transfer fee is "free", and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the Name, when the Transfer fee is "loan"? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the Transfer window, when the Transfer fee is "free", and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: What is the Transfer fee, when the Transfer window is "winter", a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What shows as the Time/Retired for Grid 8? <|assistant|> SELECT "time_retired" FROM "race" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What is the number of laps for Grid 3? <|assistant|> SELECT "laps" FROM "race" WHERE "grid"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What company was the constructor when Nick Heidfeld was the driver/ <|assistant|> SELECT "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What shows for laps when the Time/Retired was +1:08.577? <|assistant|> SELECT "laps" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What is the name of the constructor for Grid 1? <|assistant|> SELECT "constructor" FROM "ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "player" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real ); Question: When was Mushfiqur Rahim's test career? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indycar_career_results" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: Name the sum of points for 1984 <|assistant|> SELECT SUM("points") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indycar_career_results" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: Name the points for Engine of chevrolet 265c <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indycar_career_results" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real ); Question: Name the chassis of 147 points and engine of ford cosworth dfx <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "state_house" ( "name" text, "party" text, "hometown" text, "district" text, "term" text, "legislatures" text ); Question: Which term had a Democratic representative from district 7? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "state_house" ( "name" text, "party" text, "hometown" text, "district" text, "term" text, "legislatures" text ); Question: What was the term of Bruce Biers Kendall whose hometown is Anchorage?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "state_house" ( "name" text, "party" text, "hometown" text, "district" text, "term" text, "legislatures" text ); Question: What is the hometown of the representative that served the twenty-six...
<|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 is the qual with a 19 rank? <|assistant|> SELECT "qual" FROM "indy_500_re...
<|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 rank has a 25 finish? <|assistant|> SELECT "rank" FROM "indy_500_results"...
<|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 finish has a 143.056 qual? <|assistant|> SELECT "finish" FROM "indy_500_r...
<|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 rank had more than 165 laps and a finish of 5? <|assistant|> SELECT "rank...
<|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, "time" text, "att" text, "record" text ); Question: What was the record at the game against the Blue Jays with a loss of...
<|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, "time" text, "att" text, "record" text ); Question: What was the loss of the game when the record was 14–8? <|assistant|...
<|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, "time" text, "att" text, "record" text ); Question: What was the score of the game when the record was 28–19? <|assistan...
<|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, "time" text, "att" text, "record" text ); Question: What was the record at the game held on May 1st with a loss of Speie...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ppl_2005_final_standings" ( "team" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: How many goes played fot hteam that lost less than 12 games, drew 5, and had over 3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ppl_2005_final_standings" ( "team" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: How many games lost for the team that drew 5 times and had over 41 points? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ppl_2005_final_standings" ( "team" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: How many games played for the army team with over 51 points and under 5 games drawn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ppl_2005_final_standings" ( "team" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: How many points for the navy team that lost over 11? <|assistant|> SELECT SUM("poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_winners" ( "year" text, "driver_s" text, "class" text, "vehicle" text, "race_title" text ); Question: What class of car had the XI Coppa Acerbo title? <|assistant|> SELECT "class" FROM "ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_winners" ( "year" text, "driver_s" text, "class" text, "vehicle" text, "race_title" text ); Question: Who won the III Coppa Acerbo title? <|assistant|> SELECT "driver_s" FROM "race_winners...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_winners" ( "year" text, "driver_s" text, "class" text, "vehicle" text, "race_title" text ); Question: What's the name of the title for the Maserati A6GCS? <|assistant|> SELECT "race_title"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_winners" ( "year" text, "driver_s" text, "class" text, "vehicle" text, "race_title" text ); Question: Who won the XXIV Gran Premio di Pescara in the sports car class? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "outcome" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What surface was the città di caltanissetta played on? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "outcome" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What was the score in Volkswagen Challenger tournament? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grape_producing_countries_by_years_i" ( "rank" text, "country" text, "2009" text, "2010" text, "2011" text ); Question: what is the production in 2010 with 2011 production of 2,240,000? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grape_producing_countries_by_years_i" ( "rank" text, "country" text, "2009" text, "2010" text, "2011" text ); Question: what is the ranking for 2010 production of 2,903,000? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grape_producing_countries_by_years_i" ( "rank" text, "country" text, "2009" text, "2010" text, "2011" text ); Question: what is the production in 2010 with rank of 8? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: What club captain is Joh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: What team is Michael McG...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: What Australian Marquee ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: What Junior Marquee team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" text, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the name of call sign that uses a Frequency MH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" text, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: How much is the total ERP W for an 107.9 fm freqeuncy ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" text, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: Can you tell me what is FCC info for harmony township,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" text, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the smallest ERP for allentown, pennsylvania? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: Which grid has a time/retired of +3.9 secs in less than 96 laps? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: Which driver has 7 points for team Australia? <|assistant|> SELECT "driver" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: What is the fewest number of laps for a Dale Coyne Racing team with a mechanical ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: What is the highest points total scored by Dan Clarke in a grid higher than 10? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_6" ( "ep_num" real, "total" real, "title" text, "location" text, "party_theme" text, "airdate" text ); Question: What is the earliest episode of the series that is set in Boston, Massa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_election" ( "poll_source" text, "date_s_administered" text, "sample_size" text, "margin_of_error" text, "jerry_brown_d" text, "meg_whitman_r" text ); Question: How many people were su...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_election" ( "poll_source" text, "date_s_administered" text, "sample_size" text, "margin_of_error" text, "jerry_brown_d" text, "meg_whitman_r" text ); Question: What percentage of the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_election" ( "poll_source" text, "date_s_administered" text, "sample_size" text, "margin_of_error" text, "jerry_brown_d" text, "meg_whitman_r" text ); Question: How many people partici...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_election" ( "poll_source" text, "date_s_administered" text, "sample_size" text, "margin_of_error" text, "jerry_brown_d" text, "meg_whitman_r" text ); Question: What percent of the vot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is the Prize, when the Event is Ept Deauville? <|assistant|> SELECT "prize" FROM "eu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is the City, when the Prize is €880,000? <|assistant|> SELECT "city" FROM "european_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is the City, when the Winner is Ruben Visser? <|assistant|> SELECT "city" FROM "euro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: Who is the Winner, when the Prize is €880,000? <|assistant|> SELECT "winner" FROM "europe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is the City, when the Prize is $1,859,000? <|assistant|> SELECT "city" FROM "europea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is the Prize, when the Event is Ept Sanremo? <|assistant|> SELECT "prize" FROM "euro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "west_indies_in_england" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: On what date was the venue at Edgbaston? <|assistant|> SELECT "date" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reconstruction_in_the_british_museum" ( "image" real, "smith" text, "ashmolean" real, "foster" real, "hahland" real, "dinsmoor" text, "hofkes_brukker" text, "harrison" text, "cooper" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reconstruction_in_the_british_museum" ( "image" real, "smith" text, "ashmolean" real, "foster" real, "hahland" real, "dinsmoor" text, "hofkes_brukker" text, "harrison" text, "cooper" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reconstruction_in_the_british_museum" ( "image" real, "smith" text, "ashmolean" real, "foster" real, "hahland" real, "dinsmoor" text, "hofkes_brukker" text, "harrison" text, "cooper" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reconstruction_in_the_british_museum" ( "image" real, "smith" text, "ashmolean" real, "foster" real, "hahland" real, "dinsmoor" text, "hofkes_brukker" text, "harrison" text, "cooper" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rodentia" ( "name" text, "species_authority" text, "order" text, "family" text, "red_list" real ); Question: What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rodentia" ( "name" text, "species_authority" text, "order" text, "family" text, "red_list" real ); Question: What is the highest Red List for the muridae family and species Authority of microtu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rodentia" ( "name" text, "species_authority" text, "order" text, "family" text, "red_list" real ); Question: What is the name for the species Authority of sigmodon hispidus say & ord, 1825? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_standings" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the largest total with a Silver of 1, and a Rank larger than 7? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_standings" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_standings" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the smallest silver with a Bronze smaller than 6, a Total of 3, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_standings" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many ranks have 0 golds, a Nation of namibia, and a Total smaller than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_standings" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many totals have a Bronze of 0, and a Gold smaller than 0? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_standings" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total silver with a Rank larger than 9, and a Total larger than...