text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yearly_results" ( "year" real, "champion" text, "runner_up" text, "third_place" text, "fourth_place" text, "jack_tompkins_trophy_mvp" text ); Question: What is the Fourth place with a Year th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yearly_results" ( "year" real, "champion" text, "runner_up" text, "third_place" text, "fourth_place" text, "jack_tompkins_trophy_mvp" text ); Question: What is the Champion with a Year that i...
<|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" text ); Question: Who was the opponent for the game played on September 19, 1994? <|assistant|> SELECT "oppone...
<|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" text ); Question: In which week was attendance at 50,814? <|assistant|> SELECT COUNT("week") FROM "schedule" W...
<|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" text ); Question: What date after Week 6 was a Bye? <|assistant|> SELECT "date" FROM "schedule" WHERE "week">6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text ); Question: What subjunctive also has an inverse subjunctive of måchadns? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text ); Question: What imperative has måcha as 3.sg? <|assistant|> SELECT "imperative" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text ); Question: The indicative of si måchan has what as the inverse subjunctive? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text ); Question: What inverse subjunctive has — as the imperative and a subjunctive of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text ); Question: With a subjunctive of du måchast what is the imperative? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text ); Question: What subjunctive has the indicative of se måchan(t)? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "result_summary" ( "opposition" text, "span" text, "lost" real, "tied" real, "win_pct" real ); Question: What is the Win % in the Span of 2011–2013 with a Lost of less than 1? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "result_summary" ( "opposition" text, "span" text, "lost" real, "tied" real, "win_pct" real ); Question: How many games were Tied during the Span of 2011–2013 with a less than 80% Win %? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text ); Question: What is the highe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text ); Question: Which Annual chan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text ); Question: Which Rank that h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text ); Question: How many Capacity...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text ); Question: On what date were sheets issued in Talla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text ); Question: Which printer issued sheets on October 5...
<|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 least amount of silver medals won by Total with more than 1 bronze ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: How many positions have points...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: How many losses have points ag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What average played has an aga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: How many losses have a played ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What lost has a position great...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real ); Question: What is the sum of White (%), when Black (%) is less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real ); Question: What is the sum of Asian or Amerindian (%), when State i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real ); Question: What is the total number of White (%), when Brown (%) is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real ); Question: What is the sum of Asian or Amerindian (%), when Black (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_league" ( "team" text, "match" real, "points" real, "draw" real, "lost" real ); Question: How many points were there when there more than 6 losses and less than 14 matches? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_league" ( "team" text, "match" real, "points" real, "draw" real, "lost" real ); Question: How few losses were the least number of losses and points higher than 23? <|assistant|> SELECT MI...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_league" ( "team" text, "match" real, "points" real, "draw" real, "lost" real ); Question: What is the highest number of matches with more than 18 points and more than 1 draw? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text ); Question: Who was the champion in the game played at the St. Andrews Links with Dick C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text ); Question: What is the score of the match won by Willie Hunter at the Royal Liverpool G...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text ); Question: What player from England was the runner-up at the match played at the Royal ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text ); Question: Who was the champion in the match where C.A. Palmer was the runner-up? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text ); Question: What player was the champion in the match where E.A. Lassen was the runner-u...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text ); Question: What is the score of the match played in England where Peter McEvoy was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "federal_representation" ( "federal_state" text, "number_of_members" real, "pct_of_total_members" text, "population_on_the_census_also_called_censo_2010" text, "pct_of_the_population_censo_2010" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "federal_representation" ( "federal_state" text, "number_of_members" real, "pct_of_total_members" text, "population_on_the_census_also_called_censo_2010" text, "pct_of_the_population_censo_2010" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real ); Question: What is the lowest number of blocks for pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real ); Question: What is the number of weight values associ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "year" real, "actor" text, "award" text, "motion_picture" text, "result" text ); Question: What award did Forest Whitaker win in 1989? <|assistant|> SELECT "award" FROM "men" WHERE "acto...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "year" real, "actor" text, "award" text, "motion_picture" text, "result" text ); Question: For what motion picture did Samuel L. Jackson win the best supporting actor award before 1997? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "year" real, "actor" text, "award" text, "motion_picture" text, "result" text ); Question: Which actor won in 1966? <|assistant|> SELECT "actor" FROM "men" WHERE "year"=1966;<|endoftext|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real ); Question: What is the lowest population in millions that has inhabi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real ); Question: What is the lowest influence with population in the milli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real ); Question: What is the highest population in the millions that has a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real ); Question: What is the total number of MEPs that has 465,955 inhabit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real ); Question: What is the sum of the population in millions that has an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real ); Question: What is the highest number of inhabitants per MEP that ha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text ); Question: Which World Rank has a Year smaller than 1977, and a Location of eugene? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text ); Question: What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text ); Question: Which Year has a Result smaller than 20.26, and a Location of eugene? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text ); Question: What is the Result with a Location of brussels? <|assistant|> SELECT COUNT("result") FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text ); Question: What Year has a Result smaller than 20.31, and a World Rank of 5th? <|assistant|> SELECT A...
<|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 is the record when the Nuggets are the home team? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gp3_series" ( "year" real, "drivers" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "d_c" text, "t_c" text ); Question: What is the lowest number of poi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gp3_series" ( "year" real, "drivers" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "d_c" text, "t_c" text ); Question: What is the least number of Race...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gp3_series" ( "year" real, "drivers" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "d_c" text, "t_c" text ); Question: What is the average Year during ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: Which city contains the KPIX station? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: Which station has channel TV (DT) of 3 (2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: What is the current affiliation when the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: What is the city containing the KDKA-TV s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: Which Channel TV is located in Baltimore?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "play_offs" real, "fa_cup" real, "fa_trophy" real, "total" real ); Question: What is the least number of go...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "play_offs" real, "fa_cup" real, "fa_trophy" real, "total" real ); Question: What is the average number of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_unmanned_soft_landings_1966_1968" ( "u_s_mission" text, "mass_kg" real, "booster" text, "launched" text, "mission_goal" text, "landing_zone" text, "lat_lon" text ); Question: What is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_unmanned_soft_landings_1966_1968" ( "u_s_mission" text, "mass_kg" real, "booster" text, "launched" text, "mission_goal" text, "landing_zone" text, "lat_lon" text ); Question: What is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text ); Question: What Field was Com...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text ); Question: What is the Annual...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text ); Question: What is the Name o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text ); Question: What is the Name o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text ); Question: How many goals were scored in 2004 when the gp/gs was "did not play"? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text ); Question: How many assists were there when the total points was 2? <|assistant|> SELECT "assists...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text ); Question: What was the total number of points when there were 7 assists? <|assistant|> SELECT "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text ); Question: What was the gp/gs when the assists was 1? <|assistant|> SELECT "gp_gs" FROM "national...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text ); Question: what was the gp/gs in 2003 when the total points was "did not play"? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_titles_17" ( "outcome" text, "date" real, "tournament" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What was the outcome for Jan Pisecky...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real ); Question: What player weight 235? <|assistant|> SELECT "player" FROM "contestants" WHERE "weight"=235;<|en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real ); Question: What is the height of the F who weighs less than 195? <|assistant|> SELECT "height" FROM "contes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real ); Question: What team does F Trey Gilder play for? <|assistant|> SELECT "team" FROM "contestants" WHERE "pos...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real ); Question: What player plays for the Dakota Wizards? <|assistant|> SELECT "player" FROM "contestants" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real ); Question: Which player who weighs 210 plays for the Reno Bighorns? <|assistant|> SELECT "player" FROM "con...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real ); Question: What position does Brian Butch play? <|assistant|> SELECT "pos" FROM "contestants" WHERE "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which School/Club Team has a Player of deandre liggins? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which Position has a Years in Orlando of 1997–1998? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which Position has a School/Club Team of stanford? <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which School/Club Team has a Years in Orlando of 1997–1998? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Which Position has a Years in Orlando of 2003–2004? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selections" ( "pos" text, "nationality" text, "previous_team" text, "nba_years_a" real, "career_with_the_franchise_b" text ); Question: What is the previous team of the United States player who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text ); Question: Which Team has a Score of 108-107? <|assistant|> SELECT "team" FROM "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text ); Question: Which Record has a Date of may 31? <|assistant|> SELECT "record" FROM "...