text
stringlengths
310
1.28k
<|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: Who is the second when Mikkel Krause is the third? <|assistant|> SELECT "second" FROM "teams" WHERE "...
<|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: Who is the Skip when Alasdair Guthrie is the third? <|assistant|> SELECT "skip" FROM "teams" WHERE "t...
<|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: Who is the Second when Michel Gribi is the lead? <|assistant|> SELECT "second" FROM "teams" WHERE "le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the highest position...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the difference of th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the average number o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_viewed_channels" ( "position" real, "channel" text, "owner" text, "share_pct" real, "rating_pct" real ); Question: Name the rating % for channel of anhui satellite tv <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_viewed_channels" ( "position" real, "channel" text, "owner" text, "share_pct" real, "rating_pct" real ); Question: Name the most share for anhui satellite tv <|assistant|> SELECT MAX("shar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_viewed_channels" ( "position" real, "channel" text, "owner" text, "share_pct" real, "rating_pct" real ); Question: Name the sum of rating % for cctv and position more than 7 <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_viewed_channels" ( "position" real, "channel" text, "owner" text, "share_pct" real, "rating_pct" real ); Question: Name the average rating % for shandong satellite tv and share % less than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_and_ranking_timeline" ( "2004_05" text, "2005_06" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text ); Question: what year had a dnq of 11 <|a...
<|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 date was Montreal the visitor? <|assistant|> SE...
<|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 record for the NY Rangers? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nhl_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college_junior_club_team" text ); Question: Name the sum of round for pick of 169 <|assistant|> SELECT SUM("round") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nhl_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college_junior_club_team" text ); Question: Name the nationality for pick of 16 <|assistant|> SELECT "nationality" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b2" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which Lead has a Skip of pavol pitonak? <|assistant|> SELECT "lead" FROM "group_b2" WHERE "skip"='p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b2" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the skip in Wales? <|assistant|> SELECT "skip" FROM "group_b2" WHERE "nation"='wales';<|end...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b2" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which Nation has a Second of tomas pitonak? <|assistant|> SELECT "nation" FROM "group_b2" WHERE "se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b2" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which Second has a Third of athanassios pantios? <|assistant|> SELECT "second" FROM "group_b2" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b2" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Where did Croatia lead? <|assistant|> SELECT "lead" FROM "group_b2" WHERE "nation"='croatia';<|endo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b2" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text ); Question: Which Skip has a Third of carlo alessandro zisa? <|assistant|> SELECT "skip" FROM "group_b2" WHERE ...
<|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 the nationality of Shaun Sabol? <|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 is the position of United States' player Brett Lawrence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s3_tc_format_comparison" ( "fourcc" text, "dx_10_name" text, "description" text, "alpha_premultiplied" text, "compression_ratio" text, "texture_type" text ); Question: Which DX 10 Name that h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s3_tc_format_comparison" ( "fourcc" text, "dx_10_name" text, "description" text, "alpha_premultiplied" text, "compression_ratio" text, "texture_type" text ); Question: Which Compression ratio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s3_tc_format_comparison" ( "fourcc" text, "dx_10_name" text, "description" text, "alpha_premultiplied" text, "compression_ratio" text, "texture_type" text ); Question: Which Alpha premultipli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "race" text, "distance" text, "venue" text, "radio" text ); Question: What is the venue of the napa auto parts 200 race with a mrn radio? <|assistant|> SELECT "venue" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "race" text, "distance" text, "venue" text, "radio" text ); Question: What is the race on 10/10/2008? <|assistant|> SELECT "race" FROM "schedule" WHERE "date"='10/10/20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "race" text, "distance" text, "venue" text, "radio" text ); Question: Which race has a distance of 201.44 miles? <|assistant|> SELECT "race" FROM "schedule" WHERE "dist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "race" text, "distance" text, "venue" text, "radio" text ); Question: What is the distance of the race at the Atlanta Motor Speedway? <|assistant|> SELECT "distance" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "race" text, "distance" text, "venue" text, "radio" text ); Question: What is the distance of the Sam's town 250 race? <|assistant|> SELECT "distance" FROM "schedule" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "race" text, "distance" text, "venue" text, "radio" text ); Question: What is the venue of teh carfax 250 race? <|assistant|> SELECT "venue" FROM "schedule" WHERE "race...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_rivalries" ( "teams" text, "name" text, "trophy" text, "first_met" real, "games_played" text, "series_record" text ); Question: What is the name of the event where Cornell-Penn playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_rivalries" ( "teams" text, "name" text, "trophy" text, "first_met" real, "games_played" text, "series_record" text ); Question: Who many games were played for the series with the Saw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real ); Question: How many games have Points smaller than 4, and an October smaller than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Game has a Record of 8–2–0, and Points larger than 16? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Score has an October smaller than 15, and a Record of 2–0–0? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: How many games have November 7 as the date, and points greater than 17...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: How many points have November of 15? <|assistant|> SELECT SUM("points"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: What is the men's doubles for 2003? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: What is the mixed doubles in the yea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_11" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_up" text ); Question: Name the winning score for 54 holes of 5 shot deficit <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_11" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_up" text ); Question: Name the winning score for jim barnes and year of 1924 <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_race_a_tt_final_standings" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text ); Question: What was the Rider of the LCR Honda 600CC Team with a Time of 59’ 22.80? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_race_a_tt_final_standings" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text ); Question: What Rider had a Speed of 108.347mph and Time of 1:02.40.93? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_race_a_tt_final_standings" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text ); Question: What Rider had a Time of 1:01.50.57? <|assistant|> SELECT "rider" FROM "2008_rac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "time" text, "record" text ); Question: What is the average attendance that has june 24 as the date? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "time" text, "record" text ); Question: What date has 2:59 as the time? <|assistant|> SELECT "date" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the surface when the tournament is manta, ecuador? <|assistant|> SELECT "surface"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the surface for the tournament of manta, ecuador? <|assistant|> SELECT "surface" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What tournament is lesley joseph the opponent? <|assistant|> SELECT "tournament" FROM "si...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What date was marcos daniel the opponent? <|assistant|> SELECT "date" FROM "singles_7" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1999" text, "copa_mercosur_1999" text, "copa_conmebol_1999" text, "intercontinental_cup_1999" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1999" text, "copa_mercosur_1999" text, "copa_conmebol_1999" text, "intercontinental_cup_1999" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1999" text, "copa_mercosur_1999" text, "copa_conmebol_1999" text, "intercontinental_cup_1999" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1999" text, "copa_mercosur_1999" text, "copa_conmebol_1999" text, "intercontinental_cup_1999" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1999" text, "copa_mercosur_1999" text, "copa_conmebol_1999" text, "intercontinental_cup_1999" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazilian_clubs_in_international_competi" ( "team" text, "copa_libertadores_1999" text, "copa_mercosur_1999" text, "copa_conmebol_1999" text, "intercontinental_cup_1999" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" real, "opponent" text, "venue" text, "result" text, "attendance" real, "competition" text ); Question: How many people attended the game that lost 2-4 and the date was hig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" real, "opponent" text, "venue" text, "result" text, "attendance" real, "competition" text ); Question: What kind of competition had an attendance of more than 914 people a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" real, "opponent" text, "venue" text, "result" text, "attendance" real, "competition" text ); Question: How many people attended the away league competition with a date of ...
<|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: Which Series has a Date of may 2? <|assistant|> SELECT "series" FROM "playoffs" WHERE "date"='may...
<|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: Which Game has a Series of bruins lead 3–1? <|assistant|> SELECT SUM("game") FROM "playoffs" WHER...
<|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: Which Opponent has a Series of bruins lead 2–1? <|assistant|> SELECT "opponent" FROM "playoffs" W...
<|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: Which Date has a Game of 4? <|assistant|> SELECT "date" FROM "playoffs" WHERE "game"=4;<|endoftex...
<|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: Which Game has a Score of 3–6? <|assistant|> SELECT SUM("game") FROM "playoffs" WHERE "score"='3–...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008" ( "rank" real, "first_quarter" text, "second_quarter" text, "third_quarter" text, "fourth_quarter" text ); Question: What is the Rank of industrial and commercial bank of china 277,236? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "score" text, "result" text, "competition" text ); Question: What was result of goal 4? <|assistant|> SELECT "result" FROM "international_goals"...
<|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: Who is the player that is part of the team Shawinigan Dynamo...
<|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 the highest round for the Minnesota Junior Stars (Mj...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "setanta_shield" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: When did woking compete? <|assistant|> SELECT "date" FROM "setanta_sh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "setanta_shield" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: Which Opponent has an Attendance of 375? <|assistant|> SELECT "oppone...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "setanta_shield" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: How much Attendance has an Opponent of oxford united? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "setanta_shield" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: Which Attendance has an Opponent of crawley town? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "podiums" real ); Question: How many Podiums where their total for the Series of Macau ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "podiums" real ); Question: How many wins where there total for Series named formula 3 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "podiums" real ); Question: What is the largest amount of wins that was before the 2007...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "podiums" real ); Question: What is the newest Season in which had 0 Podiums, and havin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "week" text, "date" text, "opponent" text, "result" text, "record" text ); Question: Name the week for december 4, 2009 <|assistant|> SELECT "week" FROM "2009_season" WHERE "date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "week" text, "date" text, "opponent" text, "result" text, "record" text ); Question: Name the opponent with record of 6-2 <|assistant|> SELECT "opponent" FROM "2009_season" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "week" text, "date" text, "opponent" text, "result" text, "record" text ); Question: Name the opponent with result of w 35-21 <|assistant|> SELECT "opponent" FROM "2009_season" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "week" text, "date" text, "opponent" text, "result" text, "record" text ); Question: Name the date with resultof w 35-7 <|assistant|> SELECT "date" FROM "2009_season" WHERE "resu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "week" text, "date" text, "opponent" text, "result" text, "record" text ); Question: Name the date with record of 3-1 <|assistant|> SELECT "date" FROM "2009_season" WHERE "record...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "week" text, "date" text, "opponent" text, "result" text, "record" text ); Question: Name the week for date of bye <|assistant|> SELECT "week" FROM "2009_season" WHERE "date"='by...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004" ( "136" real, "18_february" text, "friendly" text, "croatia" text, "germany" text ); Question: What is the friendly game for Germany of France? <|assistant|> SELECT "friendly" FROM "2004"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "acquisition_table" ( "number" real, "company" text, "business" text, "country" text, "price" text, "used_as_or_integrated_with" text ); Question: What company is numbered larger than 5 and pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "los_angeles_try_out" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text ); Question: Which category was william ivey long a nominee and nominated in? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_hassium_isotopes" ( "isotope" text, "half_life" text, "decay_mode" text, "discovery_year" text, "reaction" text ); Question: What is the half-life discovered in 2003? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_hassium_isotopes" ( "isotope" text, "half_life" text, "decay_mode" text, "discovery_year" text, "reaction" text ); Question: What is the decay mode of the 265m hs isotope discovered in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "network" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); Question: What is the Frequency MHz of Trinida...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "network" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); Question: What city of license has an ERP W sm...
<|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_1992_93" text ); Question: Which venue has a capacity larger than 5,000 for Molodechno team? <|assi...
<|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_1992_93" text ); Question: What is the smallest capacity for Fandok? <|assistant|> SELECT MIN("capa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the highest pick number of a defensive back w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the lowest pick number of John Scully? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "consolation_round_7_12_place" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: What is the total points with less than 5 games? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text ); Question: What was the outcome for the India Open? <|assistant|> SELECT "outcome" FROM "doubles" WHERE "ven...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text ); Question: What was the Outcome at the 1985 India Open? <|assistant|> SELECT "outcome" FROM "doubles" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "outcome" text, "event" text, "year" text, "venue" text, "partner" text ); Question: What was the outcome in 1982 with Kang Haeng-Suk as partner? <|assistant|> SELECT "outcome" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: Which Party has a First elected smaller than 1878, ...