text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_f" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Score has a Set 1 of 25–16? <|assistant|> SELECT "score" FROM "po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_f" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text ); Question: Which Back has a Supplier of Kooga and a Year of 2006-2008? <|assistant|> SELECT "back" FROM "kit" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text ); Question: Which Supplier has a Year of 2006-2008? <|assistant|> SELECT "supplier" FROM "kit" WHERE "year"='2006...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text ); Question: Which Sleeves have a Back of Unknown? <|assistant|> SELECT "sleeves" FROM "kit" WHERE "back"='unknown...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text ); Question: What is the Year for Supplier Kooga? <|assistant|> SELECT "year" FROM "kit" WHERE "supplier"='kooga';...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text ); Question: Which Sleeves have a Year of 2006-2008? <|assistant|> SELECT "sleeves" FROM "kit" WHERE "year"='2006-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text ); Question: Which Chest is Supplied by Gilbert? <|assistant|> SELECT "chest" FROM "kit" WHERE "supplier"='gilbert...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text ); Question: Which website was started in 2008? <|assistant|> SELECT "website" FROM "can...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text ); Question: Which Year started is the highest one that has a Current car of arctic sun,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text ); Question: Which Current car has a Number of cars of 1, and a Year started of 1999? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text ); Question: Which Year started is the lowest one that has a Number of cars larger than ...
<|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 total number of Round, when Position is "D", and...
<|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 Nationality, when College/Junior/Club Team (League) ...
<|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 Nationality, when Player is "Andrew Campbell"? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text ); Question: Which Power has a Name of 9 nc? <|assistant|> SELECT "pow...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text ); Question: Which Weight has a Power of kw (hp) at 1,800rpm, and a Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text ); Question: Which Bore has a Name of 9 adr? <|assistant|> SELECT "bor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text ); Question: Which Power has a Name of 9 ad? <|assistant|> SELECT "pow...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: When the pick was below 42 and the player was Chris H...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: When Kansas State had a pick of over 35, what's the h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1991_92" text, "1992_93" text, "1993_94" real ); Question: Total points with 114 played and average of 0.982? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1991_92" text, "1992_93" text, "1993_94" real ); Question: Team with average of 1.035? <|assistant|> SELECT "team" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1991_92" text, "1992_93" text, "1993_94" real ); Question: Total average with less than 105 points, 1993-1994 less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What was Chris Hanburger's position? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What was John Strohmeyer's average pick before round ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: what is the average points when position is more than 5 and played is le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: what is the average points when drawn is 0, lost is 5 and played is more...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: what is the average number lost when points is 14 and position is more t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: what is the average points when played is 9, name is ev pegnitz and posi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Place, when Score is 72-72=144, when Country is United States, and when Player is S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Country, when Score is 70-73=143? <|assistant|> SELECT "country" FROM "second_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Player, when Place is 2? <|assistant|> SELECT "player" FROM "second_round" WHERE "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Country, when Player is Billy Mayfair? <|assistant|> SELECT "country" FROM "second_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is To Par, when Player is K. J. Choi? <|assistant|> SELECT "to_par" FROM "second_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Score, when Player is Billy Mayfair? <|assistant|> SELECT "score" FROM "second_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What place did Don Whitt finish? <|assistant|> SELECT "place" FROM "second_round" WHERE "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What did Phil Rodgers score? <|assistant|> SELECT "score" FROM "second_round" WHERE "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What place was Gary Player after two rounds? <|assistant|> SELECT "place" FROM "second_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text ); Question: What is 1993, when Tournament is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text ); Question: What is 1994, when 1996 is "Grand...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text ); Question: What is Tournament, when 1996 is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text ); Question: What is 1993, when 1992 is "SF", ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country has a 70-73-70=213 score? <|assistant|> SELECT "country" FROM "third_round" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What place is player johnny miller, who has a to par of +2? <|assistant|> SELECT "place" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country is player mike sullivan from? <|assistant|> SELECT "country" FROM "third_round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the place with a 71-72-70=213 score? <|assistant|> SELECT "place" FROM "third_round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What was the record after the game on May 1, 2004? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What was the record after the game with the Manchester Wolves on July ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: Which game site hosted a match on April 10, 2004? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "school" text, "bask" text, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" text, "indoor_track" text, "volleyball" text ); Question: Does Green Bay have a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "school" text, "bask" text, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" text, "indoor_track" text, "volleyball" text ); Question: Does Detroit have a s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real ); Question: What is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real ); Question: What is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real ); Question: What is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real ); Question: What is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text ); Question: What is Win %, when Conference Titles is 0, and when Win-Loss is 20-1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text ); Question: What is Conference Titles, when Win % is .667? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text ); Question: What is Coach, when Win % is .352? <|assistant|> SELECT "coach" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text ); Question: What is Win-Loss, when Win % is .456? <|assistant|> SELECT "win_loss"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text ); Question: What is Years, when Win-Loss is 11-60? <|assistant|> SELECT "years" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text ); Question: What is the Date that has a Record of 33.952? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text ); Question: What is the Place that has a Date of 4 august 2012? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text ); Question: What is the Place that has a Date of 22 august 2004? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text ); Question: What is the Record that has a Nationality of new zeal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text ); Question: WHAT IS THE SKIP WITH A THIRD OF DEANNA DOIG? <|assistant|> SELECT "skip" FROM "women_s" WHERE "third"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text ); Question: WHAT IS THE THIRD WITH LEAD CINDY SIMMONS? <|assistant|> SELECT "third" FROM "women_s" WHERE "lead"='c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text ); Question: WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER? <|assistant|> SELECT "lead" FROM "women_s" WHERE "thi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text ); Question: WHAT IS THE LEAD WITH THIRD AS TARA GEORGE? <|assistant|> SELECT "lead" FROM "women_s" WHERE "third"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text ); Question: WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT? <|assistant|> SELECT "second" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text ); Question: WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS? <|assistant|> SELECT "city" FROM "women_s" WHERE "thi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What event has a 0:49 time? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is the record with a 3:5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kfk_competition_of_ukraine" ( "season" text, "zone" real, "champion" text, "second" text, "third" text, "top_scorer" text ); Question: Which Champion has a Third of blaho blahoyeve, and a Sea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kfk_competition_of_ukraine" ( "season" text, "zone" real, "champion" text, "second" text, "third" text, "top_scorer" text ); Question: Which Zone has a Champion of surozh sudak? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kfk_competition_of_ukraine" ( "season" text, "zone" real, "champion" text, "second" text, "third" text, "top_scorer" text ); Question: Which Third has a Champion of metalurh novomoskovsk? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the census ranking for the parish with an area larger than 243.3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the verb meaning for Saugen in part 1? <|assistant|> SELECT "verb_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the verb meaning for Gaben in part 3? <|assistant|> SELECT "verb_m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the class for Geholfen Gedroschen in part 4? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the class for trafen in part 3? <|assistant|> SELECT "class" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the verb meaning for class 4? <|assistant|> SELECT "verb_meaning" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1928_1939" ( "name" text, "born_died" text, "term_start" text, "term_end" text, "political_party" text ); Question: Who is the prime minister that had a term that ended on 5 March 1930? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); Question: What are the Poles fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); Question: If Podiums is 2 and F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); Question: If the Races is Test ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text ); Question: Can you tell me the lowest Race...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text ); Question: Can you tell me the sum of Pole...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text ); Question: Can you tell me the Series that...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: What is Venue, when Game is greater than 18, and when Opponent is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: What is the sum of Game, when Date is 29 January 2008? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text ); Question: What date had a catalog of kicp-1321? <|assistant|> SELECT "date" FROM "release_history" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text ); Question: What was the catalog when the label was frontiers records? <|assistant|> SELECT "catalog"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text ); Question: What was the format for the region of europe? <|assistant|> SELECT "format" FROM "release...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text ); Question: What was the region when the label was the universal music group? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text ); Question: What was the format when the label was loen entertainment? <|assistant|> SELECT "format" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real ); Question: With a works number of 40864 for the builder of Baldwin Locomotive Works, the number lis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real ); Question: Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real ); Question: Baldwin Locomotive Works, also with works number 40864, is listed as what number? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real ); Question: Hinkley Locomotive Works is listed as what number as it has a works number smaller than ...