text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goals_for_senior_national_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the Score of the Competition with a 5-0 Result? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goals_for_senior_national_team" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the Date of the Competition with a Score of 4-0 and 5-0 Result?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_state_leaders_in_400_bc" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What is the title for YI? <|assistant|> SELECT "title" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_state_leaders_in_400_bc" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What is the state song from? <|assistant|> SELECT "from" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_state_leaders_in_400_bc" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What is the state Yi? <|assistant|> SELECT "state" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_state_leaders_in_400_bc" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What state has the king title? <|assistant|> SELECT "stat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What was the score when the partner was arnaud clém...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Outcome when the partner was kristof vl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Surface of the match with winner as out...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Outcome when christophe rochus was part...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Opponents on a clay surface with christ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Date when christophe rochus was partner...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution_name" text, "city_town" text, "state_province" text, "total_enrollment" text, "year_founded" real ); Question: In what City/town was their institution founded in 1860? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution_name" text, "city_town" text, "state_province" text, "total_enrollment" text, "year_founded" real ); Question: What year was Waynesburg University founded in Pennsylvani...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution_name" text, "city_town" text, "state_province" text, "total_enrollment" text, "year_founded" real ); Question: What is Howard Payne University's total enrollment? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the To par when fredrik andersso...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the Margin of victory when rhys ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the Winning score when the To pa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the Date for the wgc-accenture m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the Margin of victory on 27 feb ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_wins_7" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the Tournament when the winning ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missions" ( "mission" text, "date" text, "launch_site" text, "motor" text, "apogee" text ); Question: Which Mission has a Apogee of 705 km? <|assistant|> SELECT "mission" FROM "missions" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missions" ( "mission" text, "date" text, "launch_site" text, "motor" text, "apogee" text ); Question: What kind of Motor has a Apogee of 713 km? <|assistant|> SELECT "motor" FROM "missions" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missions" ( "mission" text, "date" text, "launch_site" text, "motor" text, "apogee" text ); Question: What kind of Mission has a Apogee of 707 km? <|assistant|> SELECT "mission" FROM "missions"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missions" ( "mission" text, "date" text, "launch_site" text, "motor" text, "apogee" text ); Question: Which Apogee has a Mission of maxus 3? <|assistant|> SELECT "apogee" FROM "missions" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missions" ( "mission" text, "date" text, "launch_site" text, "motor" text, "apogee" text ); Question: Which Mission is on 2003 apr 1? <|assistant|> SELECT "mission" FROM "missions" WHERE "date"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_ratings" ( "season" text, "ep_num" real, "season_premiere" text, "season_finale" text, "ranking" text, "viewers_households_in_millions" text, "rating" text ); Question: What was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_ratings" ( "season" text, "ep_num" real, "season_premiere" text, "season_finale" text, "ranking" text, "viewers_households_in_millions" text, "rating" text ); Question: How many mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_ratings" ( "season" text, "ep_num" real, "season_premiere" text, "season_finale" text, "ranking" text, "viewers_households_in_millions" text, "rating" text ); Question: What is the r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_ratings" ( "season" text, "ep_num" real, "season_premiere" text, "season_finale" text, "ranking" text, "viewers_households_in_millions" text, "rating" text ); Question: What was the ...
<|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 many totals have 2 for the bronze? <|assistant|> SELECT COUNT("total") FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the smallest silver that has a bronze less than 0? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text ); Question: What college received Pick 5? <|assistant|> SELECT "college" FROM "round_1" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text ); Question: For the United States International University, what was the highest pick number al...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: what was the date of the game on week 2? <|assistant|> SELECT "date" FROM "season_sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "strong_verb_vowel_alternation_table" ( "inf_stem" text, "sing_pres" text, "plur_pres" text, "sing_pret" text, "plur_pret" text, "subj_pres" text, "subj_pret" text, "past_part" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "strong_verb_vowel_alternation_table" ( "inf_stem" text, "sing_pres" text, "plur_pres" text, "sing_pret" text, "plur_pret" text, "subj_pres" text, "subj_pret" text, "past_part" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "strong_verb_vowel_alternation_table" ( "inf_stem" text, "sing_pres" text, "plur_pres" text, "sing_pret" text, "plur_pret" text, "subj_pres" text, "subj_pret" text, "past_part" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "strong_verb_vowel_alternation_table" ( "inf_stem" text, "sing_pres" text, "plur_pres" text, "sing_pret" text, "plur_pret" text, "subj_pres" text, "subj_pret" text, "past_part" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "strong_verb_vowel_alternation_table" ( "inf_stem" text, "sing_pres" text, "plur_pres" text, "sing_pret" text, "plur_pret" text, "subj_pres" text, "subj_pret" text, "past_part" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "strong_verb_vowel_alternation_table" ( "inf_stem" text, "sing_pres" text, "plur_pres" text, "sing_pret" text, "plur_pret" text, "subj_pres" text, "subj_pret" text, "past_part" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vessels" ( "name" text, "built" real, "tonnage" text, "yard_no" real, "history" text ); Question: What is the history behind the vessel Speedrunner IV (SSC4) built after 1997? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vessels" ( "name" text, "built" real, "tonnage" text, "yard_no" real, "history" text ); Question: What is the most recent year that Queen Nefertiti (pegasus two) was built? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vessels" ( "name" text, "built" real, "tonnage" text, "yard_no" real, "history" text ); Question: What is the history behind Speedrunner III (SSC3)? <|assistant|> SELECT "history" FROM "vessels...
<|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 was the opponent on november 8, 1981? <|assistant|> SELECT "opponent" FROM "schedule" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_records" ( "sport" text, "record" text, "nation_athlete_s" text, "date" text, "time_seconds" real ); Question: What is the longest Time (seconds), when the Nation - athlete(s) is Sylke Ot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_records" ( "sport" text, "record" text, "nation_athlete_s" text, "date" text, "time_seconds" real ); Question: What is the Date, when the Sport is luge - men's doubles, and when the Recor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_records" ( "sport" text, "record" text, "nation_athlete_s" text, "date" text, "time_seconds" real ); Question: What is the Nation - athlete(s), when the Sport is luge - men's singles, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_records" ( "sport" text, "record" text, "nation_athlete_s" text, "date" text, "time_seconds" real ); Question: What is the Date, when the Record is, "track", when the Time (seconds) is lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" ( "element" text, "nuclide" text, "z_p" real, "n_n" real, "isotopic_mass_u" text ); Question: What is the highest Z (p) when arsenic is the element, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" ( "element" text, "nuclide" text, "z_p" real, "n_n" real, "isotopic_mass_u" text ); Question: What is the highest Z (p) when the N (n) is less than 30,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" ( "element" text, "nuclide" text, "z_p" real, "n_n" real, "isotopic_mass_u" text ); Question: What is the isotopic mass (u) when the nuclide is 89 y? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_list_of_the_22_mononuclidic_ele" ( "element" text, "nuclide" text, "z_p" real, "n_n" real, "isotopic_mass_u" text ); Question: What is the Element when the Nuclide is 55 mn? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_australia_1911_12" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_australia_1911_12" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: What is Date, when Venue is Melbourne Cricket Ground, and when Re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_australia_1911_12" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: What is Result, when Venue is Sydney Cricket Ground, and when Dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_australia_1911_12" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: What is Away Captain, when Date is 30 Dec, 1,2,3 Jan 1911/2? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_australia_1911_12" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_australia_1911_12" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: What is Home Captain, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: What is Catalog, when the Region is UK, and when Label is Razor Records? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: What is the latest Date, when Label is Captain Oi! Records? <|assistant|> SELECT MAX("dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: What is Region, when Date is 2004? <|assistant|> SELECT "region" FROM "release_history" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: What is Catalog, when Format is CD, when Region is US, when Date is before 2004, and when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "meistriliiga_clubs_2013" ( "club" text, "position_in_2012" text, "first_season_in_top_division" real, "number_of_seasons_in_meistriliiga" real, "first_season_of_current_spell_in_top_division" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "meistriliiga_clubs_2013" ( "club" text, "position_in_2012" text, "first_season_in_top_division" real, "number_of_seasons_in_meistriliiga" real, "first_season_of_current_spell_in_top_division" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "meistriliiga_clubs_2013" ( "club" text, "position_in_2012" text, "first_season_in_top_division" real, "number_of_seasons_in_meistriliiga" real, "first_season_of_current_spell_in_top_division" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "judges" ( "name" text, "appointed" real, "term_expiration" real, "appointing_governor" text, "law_school_attended" text ); Question: Who attended Columbia law school and was appointed in 2004? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "judges" ( "name" text, "appointed" real, "term_expiration" real, "appointing_governor" text, "law_school_attended" text ); Question: Which Term expiration has an Appointing Governor of george p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "judges" ( "name" text, "appointed" real, "term_expiration" real, "appointing_governor" text, "law_school_attended" text ); Question: Which law school did judge sheila abdus-salaam attend, who w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" text, "races" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" real, "avg_finish" real, "season_rank" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" text, "races" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" real, "avg_finish" real, "season_rank" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" real, "song" text, "artist" text ); Question: What Volume:Issue that has Peter Cetera as the artist and was on top for longe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" real, "song" text, "artist" text ); Question: What is the longest weeks on top when the Artist was Bruce Hornsby and the Ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is the Score of the game with arsenal win 4-2 on penalties in the atte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What team was the Away team when the Tie no was 3? <|assistant|> SELECT "aw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is the Tie no when the away team was Burnley? <|assistant|> SELECT "ti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What shows for Tie no when Sheffield United was the Away team? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What rank is the team with 1 silver, 3 bronze and a total of less than 8 medals? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "australia" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real ); Question: Which Balls Faced has a Average of 39.13 and Runs Scored larger than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "australia" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real ); Question: Which Name has an Average of 48.83? <|assistant|> SELECT "name" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "australia" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real ); Question: Which average S.R. has an Average of 39.13 and Balls Faced larger tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "australia" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real ); Question: How many S.R. that has Runs Scored of 161 and an Average larger than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "australia" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real ); Question: What kind of Average has a S.R. of 70.43 and Runs Scored smaller than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "australia" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real ); Question: Which S.R. has a Average smaller than 23.63 Runs Scored of 49? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "h" ( "name" text, "position" text, "number" real, "season" text, "acquisition_via" text ); Question: What is the Acquisition that has less than 22, in the 2002 season? <|assistant|> SELECT "acq...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "h" ( "name" text, "position" text, "number" real, "season" text, "acquisition_via" text ); Question: What is the number of the acquisition of import in the 2002 season? <|assistant|> SELECT "nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "h" ( "name" text, "position" text, "number" real, "season" text, "acquisition_via" text ); Question: What is the name from the 2002 season, and acquired via free agency? <|assistant|> SELECT "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "h" ( "name" text, "position" text, "number" real, "season" text, "acquisition_via" text ); Question: What is the name of the player acquired via import and larger than 22? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1876_state_election_results" ( "office" text, "democratic_ticket" text, "republican_ticket" text, "prohibition_ticket" text, "greenback_ticket" text ); Question: Who was on the prohibition tick...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1876_state_election_results" ( "office" text, "democratic_ticket" text, "republican_ticket" text, "prohibition_ticket" text, "greenback_ticket" text ); Question: Which office was Richard M. Gri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1876_state_election_results" ( "office" text, "democratic_ticket" text, "republican_ticket" text, "prohibition_ticket" text, "greenback_ticket" text ); Question: Who was on the Prohibition tick...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1876_state_election_results" ( "office" text, "democratic_ticket" text, "republican_ticket" text, "prohibition_ticket" text, "greenback_ticket" text ); Question: Who was on the prohibition tick...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1876_state_election_results" ( "office" text, "democratic_ticket" text, "republican_ticket" text, "prohibition_ticket" text, "greenback_ticket" text ); Question: Who was on the Republican ticke...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1876_state_election_results" ( "office" text, "democratic_ticket" text, "republican_ticket" text, "prohibition_ticket" text, "greenback_ticket" text ); Question: What office did Henry Hagner ru...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hits_on_german_ships" ( "ship" text, "15_inch" real, "13_5_inch_1400lb" real, "13_5_inch_1250lb" real, "12_inch" real, "total" real ); Question: What is the total number of 13.5 inch/1400 lb ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: What is the home of the team with a 16-8 record? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: What is the date of the game that ended with a score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: How many people went to the game with Indiana visiti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: What is the date of the Cleveland home game with a 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text ); Question: What is the score of the New Jersey home game? <|ass...