text
stringlengths
310
1.28k
<|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 IS THE AVERAGE OVERALL, FOR MARK FISCHER? <|assi...
<|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 IS THE SUM OF PICK FOR DAVID TERRELL, WITH A ROU...
<|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 IS THE POSITION WITH A ROUND LARGER THAN 6, AND ...
<|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: Who is the player with a score of 68-71=139? <|assistant|> SELECT "player" FROM "second_rou...
<|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 the to par of player jerry pate, who has a 70-69=139 score? <|assistant|> SELECT "t...
<|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 the to par of the player with a t9 place and a score of 72-67=139? <|assistant|> SE...
<|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 the place of the player witha 69-69=138 score? <|assistant|> SELECT "place" FROM "s...
<|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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What week had attendance of 64,146? <|assistant|> SELECT MIN("week") FROM "schedule" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the attendance of week 12? <|assistant|> SELECT MIN("attendance") FROM "schedule" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the attendance from November 3, 1974? <|assistant|> SELECT "attendance" FROM "schedu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the attendance of week 8? <|assistant|> SELECT COUNT("attendance") 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" real ); Question: What is the date of the game on week 9 with attendance greater than 41,863? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s_eagles_13_10" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: Who was the loser against the New York Giants in 2001? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s_eagles_13_10" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What was the location with the 24-21 result? <|assistant|> SELECT "loc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s_eagles_13_10" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: Who was the winner with the 24-21 result? <|assistant|> SELECT "winner...
<|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" real ); Question: What is the average To Par, when Place is "T3", and when Player is "Ben Hogan"? <|assistant...
<|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" real ); Question: What is the average To Par, when Player is "Julius Boros"? <|assistant|> SELECT AVG("to_par...
<|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" real ); Question: What is the highest To Par, when Score is "72-73=145"? <|assistant|> SELECT MAX("to_par") F...
<|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" real ); Question: What is Score, when Place is "T1"? <|assistant|> SELECT "score" FROM "second_round" WHERE "...
<|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" real ); Question: What is Place, when To Par is "5", and when Score is "72-73=145"? <|assistant|> SELECT "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What is the highest pick # after round 11? <|assistant|> SELECT MAX("pick_num") FROM "nfl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: Which college has a pick # 84 in round 3? <|assistant|> SELECT "college" FROM "nfl_draft"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What was the pick # for round 11? <|assistant|> SELECT "pick_num" FROM "nfl_draft" WHERE ...
<|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: Which Pick has a Round larger than 8, a Name of kenny...
<|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: Which Position has a Round larger than 7, and a Name ...
<|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: Which Overall has a Name of markus koch? <|assistant|...
<|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: Which Position has a Round smaller than 8, a Pick of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the score when Fulham is the away team? <|assistant|> SELECT "score" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which away team has a tie number of 14? <|assistant|> SELECT "away_team" FROM "th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the tie number in the game on 5 January 1986 where Exeter City is the awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_county" ( "county" text, "obamapct" text, "obamanum" real, "mc_cainpct" text, "mc_cainnum" real, "total" real ); Question: What is the total average for McCain% of 55.0% and Obama# higher ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2...
<|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 ); Question: What is the average round for the record of 1-1?...
<|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 ); Question: What method had a record 12-2-3? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "townships" ( "name" text, "chinese" text, "hanyu_pinyin" text, "wade_giles" text, "hokkien_pe_h_e_j" text, "english_meaning" text ); Question: What Hanyu Pinyin is in the Jinning Township? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text ); Question: How many times did Sham Kwok Fai score in the game that was played on 22 Februar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: The home team york city has what score? <|assistant|> SELECT "score" FROM "fifth_...
<|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 is the total number of Week(s), when Attendance is 61,603? <|assistant|> SELECT COUNT("...
<|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 is Opponent, when Attendance is 62,170? <|assistant|> SELECT "opponent" FROM "schedule"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: HOW MANY POINTS DOES ALEX SPERAFICO HAVE WITH A GRID LARGER THAN 17? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: WHAT ARE THE LAPS WITH POINTS LARGER THAN 5, WITH FORSYTHE RACING, AND GRID 5? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: WHAT IS THE SCORE WHEN THE COMPETITION WAS 1978 world cup qualifica...
<|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 is the average pick number for jerry hackenbruck...
<|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 is the lowest draft pick number for mark doak wh...
<|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 position did the player have who was from the co...
<|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 college did jerry hackenbruck come from who had ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "site" text, "city" text ); Question: What team was the opponent on 03/18/08? <|assistant|> SELECT "opponent" FROM "21st_cent...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "site" text, "city" text ); Question: What is the site where the game was held in the city of Delaware? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "site" text, "city" text ); Question: What city was the game held in when the opponent was Towson? <|assistant|> SELECT "city...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "site" text, "city" text ); Question: What team was opponen in baltimore, at 2:00pm, on 4/06/08? <|assistant|> SELECT "oppone...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "site" text, "city" text ); Question: What date was the game held at UMBC Field? <|assistant|> SELECT "date" FROM "21st_centu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "site" text, "city" text ); Question: What date was the game held in Towson? <|assistant|> SELECT "date" FROM "21st_century_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1_5" ( "series" real, "premiere" text, "finale" text, "episodes" real, "specials" real ); Question: Which season premiered on 29 October 1990 and had more than 6 episodes? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: WHAT DATE HAD A SCORE OF 71-64? <|assistant|> SELECT "date" FROM "playoffs" WHERE "score"='71-6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: WHAT SCORE WAS ON SEPTEMBER 21? <|assistant|> SELECT "score" FROM "playoffs" WHERE "date"='sept...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: WHAT SCORE HAD A RECORD OF 1-1? <|assistant|> SELECT "score" FROM "playoffs" WHERE "record"='1-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: WHAT OPPONENT HAD A DATE OF SEPTEMBER 28? <|assistant|> SELECT "opponent" FROM "playoffs" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text ); Question: WHAT SCORE HAD A LOSS AND RECORD OF 1-1? <|assistant|> SELECT "score" FROM "playoffs" WHERE "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_ice_officials" ( "season" text, "coach" text, "captain" text, "alternate_1" text, "alternate_2" text ); Question: Who is the alternate for Andy Brown, and Nick Grady? <|assistant|> SELECT "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_ice_officials" ( "season" text, "coach" text, "captain" text, "alternate_1" text, "alternate_2" text ); Question: Which captain has Gintare Karpaviciute as an alternate? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "on_ice_officials" ( "season" text, "coach" text, "captain" text, "alternate_1" text, "alternate_2" text ); Question: Which coach works with Robert Harvey? <|assistant|> SELECT "coach" FROM "on_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: Which Nickname has Founded of 1954? <|assistant|> SELECT "nickname" FROM "201...
<|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, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|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, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" text ); Question: Which driver had a grid of 2? <|assistant|> SELECT "driver" FROM "race" WHERE "gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" text ); Question: What is the smallest grid value that had 16 points and a team of Mi-Jack Conquest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" text ); Question: What is the number of points associated with 165 laps? <|assistant|> SELECT "poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" text ); Question: What is the total number of laps associated with 8 points and a grid under 8? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "rank" real, "rank_fortune_500" real, "name" text, "headquarters" text, "revenue_millions" real, "profit_millions" real, "employees" real, "industry" text ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_beverly_perdue" text, "republican_pat_mc_crory" text, "libertarian_michael_munger" text, "l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_beverly_perdue" text, "republican_pat_mc_crory" text, "libertarian_michael_munger" text, "l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_beverly_perdue" text, "republican_pat_mc_crory" text, "libertarian_michael_munger" text, "l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_completed_buildings" ( "name" text, "height_m" real, "height_ft" real, "location" text, "year_built" real ); Question: What is the lowest height in feet for the building located in plat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_completed_buildings" ( "name" text, "height_m" real, "height_ft" real, "location" text, "year_built" real ); Question: What is the sum of the heights in meters for the commerzbank tower...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_completed_buildings" ( "name" text, "height_m" real, "height_ft" real, "location" text, "year_built" real ); Question: What is the earliest year that the building in sonnemannstraße/rüc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_completed_buildings" ( "name" text, "height_m" real, "height_ft" real, "location" text, "year_built" real ); Question: What is the lowest height in meters for the building located in ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the average population vlue for an area smaller than 26.69 sq...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "release_type" text, "label" text, "hungarian_top_40_album_charts" text ); Question: What's the name of the album from 2012 with a Hammer Music / Nail ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "release_type" text, "label" text, "hungarian_top_40_album_charts" text ); Question: What year had the Hungarian top 40 album charts of 3? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "release_type" text, "label" text, "hungarian_top_40_album_charts" text ); Question: What type of release was Napisten Hava? <|assistant|> SELECT "rele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "release_type" text, "label" text, "hungarian_top_40_album_charts" text ); Question: What was the name of the album that was a demo release? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1973_to_1983" ( "issued" text, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: What is the serials issued in 1982 with a format of ABC-123? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1973_to_1983" ( "issued" text, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: Which design has a serial format of AB-12-34? <|assistant|> SELECT "design" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1973_to_1983" ( "issued" text, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: Which serials were issued with a design of black on yellow? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|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: How many times is the position lb and the overall is ...
<|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 is the college when the overall is more than 76 ...
<|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 is the pick when the overall is less than 297 an...
<|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 is the highest round when the college is penn st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "changes_in_poverty_rates_on_largest_rese" ( "reservation" text, "location" text, "1969" real, "1979" real, "1989" real, "2000" real ); Question: What is the 1989 number when the 200 number is...