text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "party" text, "votes_gib" real, "votes_sw_eng" real, "pct_gib" real, "pct_sw_eng" real, "change_sw_eng" real, "seats" real ); Question: What's the lowest Votes (SW Eng) with a % ...
<|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: Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 4...
<|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: Which Bronze is the lowest one that has a Nation of total, and a Gold smaller 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: How much Total has a Nation of kazakhstan (kaz), and a Gold larger than 0? <|as...
<|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: Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_events" ( "round" text, "venue" text, "discipline" text, "date" text, "winner" text, "second" text, "third" text ); Question: Who finished 3rd in Oslo? <|assistant|> SELECT "thir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On November 22, what were the results of the friendly type game? <|assistant|> SELECT "result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On October 8, what city was the game played? <|assistant|> SELECT "city" FROM "1950" WHERE "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On June 29, who was the opponent? <|assistant|> SELECT "opponent" FROM "1950" WHERE "date"='j...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What date had an opponent of Sweden and a friendly type game? <|assistant|> SELECT "date" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What were the results on September 7? <|assistant|> SELECT "results" FROM "1950" WHERE "date"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "index_trends_in_major_states_by_respecti" ( "state" text, "1990_95" real, "1996_00" real, "2001_05" real, "2006_10" real ); Question: Which 1990–95 is the highest one that has a State of karnat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "index_trends_in_major_states_by_respecti" ( "state" text, "1990_95" real, "1996_00" real, "2001_05" real, "2006_10" real ); Question: Which 1996-00 is the lowest one that has a State of maharas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "index_trends_in_major_states_by_respecti" ( "state" text, "1990_95" real, "1996_00" real, "2001_05" real, "2006_10" real ); Question: Which 1990–95 is the average one that has a 2001–05 larger ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "index_trends_in_major_states_by_respecti" ( "state" text, "1990_95" real, "1996_00" real, "2001_05" real, "2006_10" real ); Question: Which 1990–95 is the highest one that has a State of assam,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2005_2006" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: What is the Winning team on january 28, 2006? <|assistant|> SELECT "winning_team" FROM "2005...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2005_2006" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: Which Series has a Winning team of iowa state and a Sport of w basketball? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2005_2006" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: Which Series has a Site of ames on september 10, 2005? <|assistant|> SELECT "series" FROM "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2005_2006" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: Which Series has a Site of ames and a Sport of w gymnastics? <|assistant|> SELECT "series" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2005_2006" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: WHich port is on march 17, 2006 and has a Winning team of iowa state? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2005_2006" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: Which Site has a Date of march 17, 2006 and an iowa state Winning team? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Who was the opponent of the game before week 11 on October 31, 1976? <|assistant|> SELECT "o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the highest attendance of the game on week 9? <|assistant|> SELECT MAX("attendance")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seasons" ( "season" real, "episodes" real, "first_air_date" text, "last_air_date" text, "timeslot" text, "dvd_release" text ); Question: When is the last episode air date for season 3? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seasons" ( "season" real, "episodes" real, "first_air_date" text, "last_air_date" text, "timeslot" text, "dvd_release" text ); Question: Which season had its last episode air on March 11, 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: What games have more than 1 draw? <|assistant|> SELECT AVG("games") FROM "first_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: What game is the lowest with 1 draw and less than 7 points? <|assistant|> SELECT MIN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_league" ( "year" real, "league" text, "class" text, "record" text, "finish" text, "manager" text, "playoffs" text ); Question: Manager of art griggs had what lowest year? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_league" ( "year" real, "league" text, "class" text, "record" text, "finish" text, "manager" text, "playoffs" text ); Question: Manager of spencer abbott, and a Year of 1919 involves...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_league" ( "year" real, "league" text, "class" text, "record" text, "finish" text, "manager" text, "playoffs" text ); Question: Manager of marty berghammer / nick allen is what year?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_league" ( "year" real, "league" text, "class" text, "record" text, "finish" text, "manager" text, "playoffs" text ); Question: Manager of lyman lamb / marty berghammer is in what le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_league" ( "year" real, "league" text, "class" text, "record" text, "finish" text, "manager" text, "playoffs" text ); Question: Manager of marty berghammer, and a Finish of 1st invol...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_league" ( "year" real, "league" text, "class" text, "record" text, "finish" text, "manager" text, "playoffs" text ); Question: Playoffs of league champs, and a Record of 77-63 is in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Which AAA class has Fort Bend Dulles as a Class AAAAA? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Which school year was the Class AAA dalhart and the cla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: For what Class A is the school year 1987-88? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What is the Class AAAAA when Class AA is Tuscola Jim Ne...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What is the Class AAAAA when the Class AAA is Gonzales?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which team scored le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which Position has a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which Drawn has Poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which Played has a L...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "harrachov" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "points" real, "overall_wc_points_rank" text ); Question: What's the name of a Rank 3 with a 1st (m) smaller than 199....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "harrachov" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "points" real, "overall_wc_points_rank" text ); Question: What's the Overall WC points (Rank) for Rank 2? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text ); Question: What score has devin brown (24) as the leading scorer? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_ft_m" text, "floors" real ); Question: Which height, in meters, has 36 floors? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_ft_m" text, "floors" real ); Question: Which Floors is the highest one that has a Name of o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_ft_m" text, "floors" real ); Question: How tall is the Street address of 07.0 200 east wash...
<|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 where the indians record was 37-44? <|assistant|> SELECT "date" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "museums_with_paleontology_holdings" ( "name" text, "town_city" text, "region" text, "on_dinosaur_trail" text, "education_programs_guided_tours" text, "associated_field_digs" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "museums_with_paleontology_holdings" ( "name" text, "town_city" text, "region" text, "on_dinosaur_trail" text, "education_programs_guided_tours" text, "associated_field_digs" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "museums_with_paleontology_holdings" ( "name" text, "town_city" text, "region" text, "on_dinosaur_trail" text, "education_programs_guided_tours" text, "associated_field_digs" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "museums_with_paleontology_holdings" ( "name" text, "town_city" text, "region" text, "on_dinosaur_trail" text, "education_programs_guided_tours" text, "associated_field_digs" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "museums_with_paleontology_holdings" ( "name" text, "town_city" text, "region" text, "on_dinosaur_trail" text, "education_programs_guided_tours" text, "associated_field_digs" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_6_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What Tournament had a Score of 6–3, 2–6, 6–3? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_6_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What Partner had a Score of 6–3, 2–6, 6–3? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_6_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Who were the Opponents in the match on a Hard Su...
<|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: Who was the visiting team when the record was 6–12–5–1? <|assistant|> SELECT "visitor" FROM "game_...
<|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: Who was the home team when the record was 21–45–8–5? <|assistant|> SELECT "home" FROM "game_log" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pointer_events" ( "category" text, "type" text, "attribute" text, "bubbles" text, "cancelable" text ); Question: Which of the attributes has is cancelable and an answer of yes for bubbles? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pointer_events" ( "category" text, "type" text, "attribute" text, "bubbles" text, "cancelable" text ); Question: Which bubbles has an atribute of onlostpointercapture? <|assistant|> SELECT "bub...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pointer_events" ( "category" text, "type" text, "attribute" text, "bubbles" text, "cancelable" text ); Question: For the attribute of onpointerout, what is the cancelable? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pointer_events" ( "category" text, "type" text, "attribute" text, "bubbles" text, "cancelable" text ); Question: Which bubble have a cancelable of yes and an attribute of onpointerdown? <|assis...
<|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's the highest grid of Ronnie Bremer, who had more than 18 points? <|assistan...
<|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 are the most points Lap 70 had with a grid larger than 16? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text ); Question: What is the name of the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text ); Question: What is the track in Was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text ); Question: What is the city the tra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text ); Question: What is the surface of t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text ); Question: What is the surface for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened_closing_date_if_defunct" text, "surface" text, "length" text ); Question: What city is the indiana...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "common_trihalomethanes_ordered_by_molecu" ( "molecular_formula" text, "iupac_name" text, "cas_registry_number" text, "common_name" text, "other_names" text ); Question: What is the IUPAC name f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "fidesz" text, "mszp" text, "szdsz" text, "jobbik" text, "others" text ); Question: What is the SZDSZ percentage with an MSZP of 25% on 25/2/200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "fidesz" text, "mszp" text, "szdsz" text, "jobbik" text, "others" text ); Question: What percentage of others have an SZDSZ of 4% and a Fidesz o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "fidesz" text, "mszp" text, "szdsz" text, "jobbik" text, "others" text ); Question: What is the percentage of others with a Fidesz of 62% and a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "fidesz" text, "mszp" text, "szdsz" text, "jobbik" text, "others" text ); Question: On what date do others have 5% with an SZDSZ of 5%? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "fidesz" text, "mszp" text, "szdsz" text, "jobbik" text, "others" text ); Question: What is the SZDSZ percentage with a Jobbik of 5% and a Fides...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "fidesz" text, "mszp" text, "szdsz" text, "jobbik" text, "others" text ); Question: What is the Jobbik percentage with a Fidesz of 61% and other...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_province" ( "province" text, "kibaki" text, "raila" text, "wamalwa" text, "ngilu" text, "others" text, "registered_voters" text, "turnout_pct" text ); Question: What's listed for the T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_province" ( "province" text, "kibaki" text, "raila" text, "wamalwa" text, "ngilu" text, "others" text, "registered_voters" text, "turnout_pct" text ); Question: What's listed for the T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_province" ( "province" text, "kibaki" text, "raila" text, "wamalwa" text, "ngilu" text, "others" text, "registered_voters" text, "turnout_pct" text ); Question: What's listed for the T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_province" ( "province" text, "kibaki" text, "raila" text, "wamalwa" text, "ngilu" text, "others" text, "registered_voters" text, "turnout_pct" text ); Question: What's listed for the R...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_province" ( "province" text, "kibaki" text, "raila" text, "wamalwa" text, "ngilu" text, "others" text, "registered_voters" text, "turnout_pct" text ); Question: What is listed for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_province" ( "province" text, "kibaki" text, "raila" text, "wamalwa" text, "ngilu" text, "others" text, "registered_voters" text, "turnout_pct" text ); Question: What's listed for the W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_type" ( "rocket" text, "country" text, "family" text, "launches" real, "successes" real, "failures" real, "partial_failures" real ); Question: What were the average partial failures when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_type" ( "rocket" text, "country" text, "family" text, "launches" real, "successes" real, "failures" real, "partial_failures" real ); Question: What are average launches with 0 failures, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_type" ( "rocket" text, "country" text, "family" text, "launches" real, "successes" real, "failures" real, "partial_failures" real ); Question: What is the sum of launches with Long March...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_type" ( "rocket" text, "country" text, "family" text, "launches" real, "successes" real, "failures" real, "partial_failures" real ); Question: What is the least amount of failures with 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_type" ( "rocket" text, "country" text, "family" text, "launches" real, "successes" real, "failures" real, "partial_failures" real ); Question: What were the average launches for Ariane 5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_01_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "jockey" text, "winner_2nd" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_01_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "jockey" text, "winner_2nd" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "trim" text, "engine" text, "displacement" text, "power" text, "torque" text, "transmission" text, "fuel_mileage_latest_epa_mpg_us" text ); Question: What is the Removal that has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "trim" text, "engine" text, "displacement" text, "power" text, "torque" text, "transmission" text, "fuel_mileage_latest_epa_mpg_us" text ); Question: What is the Torque that has ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which Round is the lowest one that has a College/Junior/Club...