text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "spacecraft" text, "destination" text, "launched" text, "closest_approach" text, "time_elapsed" text ); Question: What Time elapsed has 14 February 2011 as the Closest approach? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "spacecraft" text, "destination" text, "launched" text, "closest_approach" text, "time_elapsed" text ); Question: What Launched has Time elapsed of 1991 days (5 yr, 5 mo, 12 d)? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "spacecraft" text, "destination" text, "launched" text, "closest_approach" text, "time_elapsed" text ); Question: With a Launched of 3 July 1998 what is the Closest approach? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "spacecraft" text, "destination" text, "launched" text, "closest_approach" text, "time_elapsed" text ); Question: What Launched has both a Spacecraft of Ulysses and 491 days (1 yr, 4 m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republican_primary" ( "poll_source" text, "dates_administered" text, "john_oxendine" text, "karen_handel" text, "nathan_deal" text, "eric_johnson" text, "ray_mc_berry" text, "undecided" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republican_primary" ( "poll_source" text, "dates_administered" text, "john_oxendine" text, "karen_handel" text, "nathan_deal" text, "eric_johnson" text, "ray_mc_berry" text, "undecided" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republican_primary" ( "poll_source" text, "dates_administered" text, "john_oxendine" text, "karen_handel" text, "nathan_deal" text, "eric_johnson" text, "ray_mc_berry" text, "undecided" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republican_primary" ( "poll_source" text, "dates_administered" text, "john_oxendine" text, "karen_handel" text, "nathan_deal" text, "eric_johnson" text, "ray_mc_berry" text, "undecided" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republican_primary" ( "poll_source" text, "dates_administered" text, "john_oxendine" text, "karen_handel" text, "nathan_deal" text, "eric_johnson" text, "ray_mc_berry" text, "undecided" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republican_primary" ( "poll_source" text, "dates_administered" text, "john_oxendine" text, "karen_handel" text, "nathan_deal" text, "eric_johnson" text, "ray_mc_berry" text, "undecided" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "country" text, "score" text, "runner_up" text ); Question: What was the 1991 score? <|assistant|> SELECT "score" FROM "winners" WHERE "ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "country" text, "score" text, "runner_up" text ); Question: Where was the 1966 competition with a winner of Gary Cowan held? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "winner" text, "country" text, "score" text, "runner_up" text ); Question: Who was the runner-up of the competition played at Minikahda Club? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "us_chamber_lobbying_2002_2012" ( "year" real, "us_cham_rank" real, "us_cham_spending" text, "next_highest_spender" text, "next_highest_amount" text ); Question: Which Year is the highest one th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "us_chamber_lobbying_2002_2012" ( "year" real, "us_cham_rank" real, "us_cham_spending" text, "next_highest_spender" text, "next_highest_amount" text ); Question: Which US Cham Rank is the lowest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "us_chamber_lobbying_2002_2012" ( "year" real, "us_cham_rank" real, "us_cham_spending" text, "next_highest_spender" text, "next_highest_amount" text ); Question: Which Year is the lowest one tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_111" ( "date" text, "tournament_name" text, "location" text, "partner" text, "score_in_final" text ); Question: What was the Score in Final of the Eckerd Open Tournament? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_111" ( "date" text, "tournament_name" text, "location" text, "partner" text, "score_in_final" text ); Question: Who was the Partner in the United Airlines Tournament (1)? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_111" ( "date" text, "tournament_name" text, "location" text, "partner" text, "score_in_final" text ); Question: What was the Score in Final on February 19, 1989? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "festivali_i_k_ng_s_46" ( "draw" real, "singer" text, "song" text, "points" real, "place" real ); Question: What are the Points when the Place is 9? <|assistant|> SELECT "points" FROM "festivali...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "festivali_i_k_ng_s_46" ( "draw" real, "singer" text, "song" text, "points" real, "place" real ); Question: What is the total for the place when the singer is Mariza Ikonomi when points are larg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "season" text, "total_td_s" real, "total_tc_s" real, "total_stc_s" real, "strongest_storm" text, "deaths" text ); Question: What is the average total TCs of the season where the stro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "match_the_dealer" ( "number_of_decks" real, "non_suited_match" text, "double_non_suited_match" text, "suited_match" text, "suited_non_suited_match" text, "double_suited_match" text, "house_e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "match_the_dealer" ( "number_of_decks" real, "non_suited_match" text, "double_non_suited_match" text, "suited_match" text, "suited_non_suited_match" text, "double_suited_match" text, "house_e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "match_the_dealer" ( "number_of_decks" real, "non_suited_match" text, "double_non_suited_match" text, "suited_match" text, "suited_non_suited_match" text, "double_suited_match" text, "house_e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "match_the_dealer" ( "number_of_decks" real, "non_suited_match" text, "double_non_suited_match" text, "suited_match" text, "suited_non_suited_match" text, "double_suited_match" text, "house_e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "match_the_dealer" ( "number_of_decks" real, "non_suited_match" text, "double_non_suited_match" text, "suited_match" text, "suited_non_suited_match" text, "double_suited_match" text, "house_e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "match_the_dealer" ( "number_of_decks" real, "non_suited_match" text, "double_non_suited_match" text, "suited_match" text, "suited_non_suited_match" text, "double_suited_match" text, "house_e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Wins smaller than 0 had what sum of year? <|assistant|> SELECT SUM("year") FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Class of 125cc, and a Year smaller than 1966 had what lowest wins? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Class of 500cc, and a Wins smaller than 0 had what average year? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What are the highest laps Kazuki Nakajima did with a Grid larger than 19? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Which Constructor has a Grid of 17? <|assistant|> SELECT "constructor" FROM "race" WHERE "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Who drives a BMW Sauber with a Grid larger than 2 and a Time/Retired of +15.037? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_film_projects" ( "year" real, "english_title" text, "original_title" text, "country" text, "length" text, "participation_as" text ); Question: Participation as of actor, film editor has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_history" ( "date" text, "track" text, "race" text, "purse_hi" text, "finish" text, "time" text, "last_1_4" real, "odds" text, "driver" text ); Question: What were the odds for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_history" ( "date" text, "track" text, "race" text, "purse_hi" text, "finish" text, "time" text, "last_1_4" real, "odds" text, "driver" text ); Question: What is the lowest last qua...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average number of Gold when the total is 11 with more than 2 silver...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total rank with more than 0 silver and less than 2 medals total? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the value of bronze with less than 2 in total? <|assistant|> SELECT "br...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What number of rank has more than 2 medals in total with less than 4 bronze? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "approved_and_proposed" ( "rank" real, "building" text, "city" text, "height_m_ft" text, "floors" real, "status" text ); Question: what is a building that is proposed and will have 32 floors? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" real ); Question: What is the best time for marcus marshall? <|assistant|> SELECT AVG("best") FROM "qualifyi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" real ); Question: What is the best time for a rusport driver with a qual 2 time of 1:10.166? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" real ); Question: What team had a qual 2 time of 58.385? <|assistant|> SELECT "team" FROM "qualifying_result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_20th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_20th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_20th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "n...
<|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, "record" text, "game_site" text, "attendance" real ); Question: What was the record at Memorial Stadium on September 19...
<|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, "record" text, "game_site" text, "attendance" real ); Question: What is the largest attendance at Memorial Stadium on D...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Extra points is the highest one that has a Player of herman everha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Extra points has Points smaller than 12, and a Player of chuck ber...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many Field goals have Touchdowns smaller than 3, and a Player of wil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_leaders" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Whicih Extra points are the average ones that have Points smaller than 6...
<|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 position is round 7? <|assistant|> SELECT "position" F...
<|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 college has a position of goaltender? <|assistant|> SE...
<|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: What is Darryl Fedorak's highest round? <|assistant|> SELECT...
<|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: What nationality has a higher round than 8? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "music" ( "name" text, "born_died" text, "notable_for" text, "connection_with_australia" text, "connection_with_america" text ); Question: What is the connection with Australia when the connecti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "music" ( "name" text, "born_died" text, "notable_for" text, "connection_with_australia" text, "connection_with_america" text ); Question: What is the person born in Australia, rick springfield ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "music" ( "name" text, "born_died" text, "notable_for" text, "connection_with_australia" text, "connection_with_america" text ); Question: What is the Born–Died for the person whose family moved...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "date" real, "name" text, "developer" text, "clock" text, "process" text, "cores_per_die_dies_per_module" text ); Question: What is the latest date with Cores per die / Dies per modu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "date" real, "name" text, "developer" text, "clock" text, "process" text, "cores_per_die_dies_per_module" text ); Question: Which process has a date later than 2000 and a Clock of 1....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "date" real, "name" text, "developer" text, "clock" text, "process" text, "cores_per_die_dies_per_module" text ); Question: Which date has a Clock of 0.8-1.6ghz? <|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, "attendance" text, "record" text ); Question: What was the record on May 21? <|assistant|> SELECT "record" FROM "game_log"...
<|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: On what date was the attendance 24,976? <|assistant|> SELECT "date" FROM "ga...
<|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: On what date was the record 21-26? <|assistant|> SELECT "date" FROM "game_lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: How many were in attendance with a loss of Prokopec (2-7)? <|assistant|> SEL...
<|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 on May 20? <|assistant|> SELECT "opponent" FROM "game_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text ); Question: What is the tournament on Apr 6? <|assistant|> SELECT "tourna...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text ); Question: What is the 1st prize of the tournament in Scotland? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text ); Question: What is the location of the Sea Pines Heritage Classic tourna...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text ); Question: What is the score of the Tournament Players Championship? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" text ); Question: What is the 1st prize at the U.S. Open? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real ); Question: What is the average first prize of the tournament with a scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st_prize" real ); Question: What is the lowest first prize of the Mercedes Championships ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_1999" text ); Question: What is the average capacity for the venue where the team kommunalnik playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_1999" text ); Question: What is the position of the team that played at the venue, Central, Gomel? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_1999" text ); Question: What is the position of the team that played at the venue with more than 6,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "points_for_the_2007_08_season" ( "name" text, "pld" real, "goals" real, "assists" real, "points" real, "pims" real ); Question: What is the smallest number of assists with 70 Pims and less th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "points_for_the_2007_08_season" ( "name" text, "pld" real, "goals" real, "assists" real, "points" real, "pims" real ); Question: What is the smallest number of assists for Ben Duggan with less...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_1" ( "year" text, "national_champion" text, "runner_up" text, "location" text, "host" text ); Question: In what Year was Rhode Island the National Champion? <|assistant|> SELECT "year"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_1" ( "year" text, "national_champion" text, "runner_up" text, "location" text, "host" text ); Question: What was the Runner-up in the Monroe County Sports Commission? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_1" ( "year" text, "national_champion" text, "runner_up" text, "location" text, "host" text ); Question: At what Location was the Runner-up TBD? <|assistant|> SELECT "location" FROM "di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_1" ( "year" text, "national_champion" text, "runner_up" text, "location" text, "host" text ); Question: At what Location did Robert Morris University (Illinois) Host the Lindenwood Nat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_1" ( "year" text, "national_champion" text, "runner_up" text, "location" text, "host" text ); Question: What was the Runner-up with Ohio as the National Champion in Tucson, AZ? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_table" ( "model" text, "processor" text, "memory" text, "storage" text, "graphics" text, "vram" text, "display_resolution" text, "msrp" text ); Question: Which graphics spec ha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_table" ( "model" text, "processor" text, "memory" text, "storage" text, "graphics" text, "vram" text, "display_resolution" text, "msrp" text ); Question: What is the MSRP for t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text ); Question: Name the opponent for game 5 <|assistant|> SELECT "opponent" FROM "playoffs" WHERE "game"=5;<|end...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_civil_parishes_and_unparished_ar" ( "name" text, "status" text, "population" real, "district" text, "former_local_authority" text ); Question: What status is shown for Cadeby? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_civil_parishes_and_unparished_ar" ( "name" text, "status" text, "population" real, "district" text, "former_local_authority" text ); Question: What is the Former local authority for Ecc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_civil_parishes_and_unparished_ar" ( "name" text, "status" text, "population" real, "district" text, "former_local_authority" text ); Question: What is the Status of Mexborough? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_civil_parishes_and_unparished_ar" ( "name" text, "status" text, "population" real, "district" text, "former_local_authority" text ); Question: What is the Status for the District of don...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the score on December 1? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which skip has Oliver Dupont as a second? <|assistant|> SELECT "skip" FROM "teams" WHERE "second"='ol...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which second's third is Jean-Michel Arsenault? <|assistant|> SELECT "second" FROM "teams" WHERE "thir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which skip's third is Steffen Walstad? <|assistant|> SELECT "skip" FROM "teams" WHERE "third"='steffe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which skip's second is Martin Hejhal? <|assistant|> SELECT "skip" FROM "teams" WHERE "second"='martin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which skip's lead is Gordon McDougall? <|assistant|> SELECT "skip" FROM "teams" WHERE "lead"='gordon ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which second's skip is Chris Plys? <|assistant|> SELECT "second" FROM "teams" WHERE "skip"='chris ply...