instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_name_46 ( replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007? ### Response:
SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 2007"
### Instruction: CREATE TABLE table_57932 ( "Club/Team" text, "League" text, "Venue" text, "Established" real, "Premierships" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many premierships for the commonwealth bank trophy league? ### Response:
SELECT "Premierships" FROM table_57932 WHERE "League" = 'commonwealth bank trophy'
### Instruction: CREATE TABLE table_5729 ( "Name" text, "Position" text, "Height" text, "Weight" real, "Year" text, "Home Town" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average weight of Jeremy Case, who plays guard? ### Response:
SELECT AVG("Weight") FROM table_5729 WHERE "Position" = 'guard' AND "Name" = 'jeremy case'
### Instruction: CREATE TABLE table_50220 ( "Date" text, "Opponent#" text, "Rank #" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when they played at Michigan State? ### Response:
SELECT "Result" FROM table_50220 WHERE "Opponent#" = 'at michigan state'
### Instruction: CREATE TABLE table_70158 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Crowd" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the score of w 7-6? ### Response:
SELECT "Crowd" FROM table_70158 WHERE "Score" = 'w 7-6'
### Instruction: CREATE TABLE table_1338 ( "Series #" real, "Season #" real, "Title" text, "Directed by:" text, "Written by:" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original airdate when the season number is 4? ### Response:
SELECT "Original air date" FROM table_1338 WHERE "Season #" = '4'
### Instruction: CREATE TABLE table_16315 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position for the player with cfl team Winnipeg blue bombers? ### Response:
SELECT "Position" FROM table_16315 WHERE "CFL Team" = 'Winnipeg Blue Bombers'
### Instruction: CREATE TABLE table_204_655 ( id number, "year" number, "winner" text, "album" text, "other finalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which artists won in 2008 and 2009 respectively ? ### Response:
SELECT "winner" FROM table_204_655 WHERE "year" IN (2008, 2009)
### Instruction: CREATE TABLE table_39913 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the smallest March when the record is 22-12-6? ### Response:
SELECT MIN("March") FROM table_39913 WHERE "Record" = '22-12-6'
### Instruction: CREATE TABLE table_52736 ( "Number" real, "Name" text, "Builder" text, "Type" text, "Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the bo-bodh train with a number less than 5? ### Response:
SELECT "Name" FROM table_52736 WHERE "Number" < '5' AND "Type" = 'bo-bodh'
### Instruction: CREATE TABLE table_12282 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Venue of the 2002 World Cup Qualification? ### Response:
SELECT "Venue" FROM table_12282 WHERE "Competition" = '2002 world cup qualification'
### Instruction: CREATE TABLE table_24334163_1 ( Winners VARCHAR, total_money_won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many play-off legs were won when the prize money was 10,300? ### Response:
SELECT COUNT(Winners) AS play_off_legs_won FROM table_24334163_1 WHERE total_money_won = "£10,300"
### Instruction: CREATE TABLE table_name_71 ( proto_malayo_polynesian VARCHAR, proto_oceanic VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Proto-Malayo-Polynesian word for the Proto-Oceanic word of *saqit, *turi? ### Response:
SELECT proto_malayo_polynesian FROM table_name_71 WHERE proto_oceanic = "*saqit, *turi"
### Instruction: CREATE TABLE table_10413597_5 ( written_by VARCHAR, setting VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode that was set in winter 1541/february 13, 1542? ### Response:
SELECT written_by FROM table_10413597_5 WHERE setting = "Winter 1541/February 13, 1542"
### Instruction: CREATE TABLE table_2101431_1 ( broadcast_date VARCHAR, archive VARCHAR, run_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the broadcast date of the episode on 16mm t/r that ran 23:25? ### Response:
SELECT broadcast_date FROM table_2101431_1 WHERE archive = "16mm t/r" AND run_time = "23:25"
### Instruction: CREATE TABLE table_42726 ( "Institution name" text, "City/ town" text, "State/ province" text, "Total enrollment" text, "Year founded" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Howard Payne University's total enrollment? ### Response:
SELECT "Total enrollment" FROM table_42726 WHERE "Institution name" = 'howard payne university'
### Instruction: CREATE TABLE table_55381 ( "Sport" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the football Bronze with more than 1 Silver? ### Response:
SELECT AVG("Bronze") FROM table_55381 WHERE "Sport" = 'football' AND "Silver" > '1'
### Instruction: CREATE TABLE table_name_56 ( package_option VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd? ### Response:
SELECT package_option FROM table_name_56 WHERE content = "documentaries" AND hdtv = "yes" AND television_service = "history hd"
### Instruction: CREATE TABLE table_42743 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest silver that has a bronze less than 0? ### Response:
SELECT MIN("Silver") FROM table_42743 WHERE "Bronze" < '0'
### Instruction: CREATE TABLE table_name_62 ( draft INTEGER, player VARCHAR, pick VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest draft of player jim farrell, who has a pick greater than 197 and a round of 14? ### Response:
SELECT MIN(draft) FROM table_name_62 WHERE pick > 197 AND round = 14 AND player = "jim farrell"
### Instruction: CREATE TABLE table_name_44 ( tonnage__grt_ INTEGER, nationality VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tonnage (GRT) has a Nationality of united kingdom, and a Name of king gruffydd? ### Response:
SELECT MIN(tonnage__grt_) FROM table_name_44 WHERE nationality = "united kingdom" AND name = "king gruffydd"
### Instruction: CREATE TABLE table_64968 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest year when Ubisoft Montreal was the developer (s)? ### Response:
SELECT MIN("Year") FROM table_64968 WHERE "Developer(s)" = 'ubisoft montreal'
### Instruction: CREATE TABLE table_204_106 ( id number, "year" number, "title" text, "image" text, "dimensions" text, "collection" text, "comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the title of terence cuneo 's first work ? ### Response:
SELECT "title" FROM table_204_106 ORDER BY "year" LIMIT 1
### Instruction: CREATE TABLE injury_accident ( game_id VARCHAR, player VARCHAR ) CREATE TABLE game ( season VARCHAR, id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the season of the game which causes the player 'Walter Samuel' to get injured? ### Response:
SELECT T1.season FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id WHERE T2.player = 'Walter Samuel'
### Instruction: CREATE TABLE table_35652 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game is the lowest with 1 draw and less than 7 points? ### Response:
SELECT MIN("Games") FROM table_35652 WHERE "Drawn" = '1' AND "Points" < '7'
### Instruction: CREATE TABLE table_32481 ( "Week" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won when the Patriots played the Denver Broncos? ### Response:
SELECT "Record" FROM table_32481 WHERE "Opponent" = 'denver broncos'
### Instruction: CREATE TABLE table_59232 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average First Elected, when District is 'Massachusetts 3'? ### Response:
SELECT AVG("First elected") FROM table_59232 WHERE "District" = 'massachusetts 3'
### Instruction: CREATE TABLE table_6157 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player from Round 3 from Russia? ### Response:
SELECT "Player" FROM table_6157 WHERE "Round" = '3' AND "Nationality" = 'russia'
### Instruction: CREATE TABLE table_204_435 ( id number, "sport" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of gold medals won in the rowing category ? ### Response:
SELECT "gold" FROM table_204_435 WHERE "sport" = 'rowing'
### Instruction: CREATE TABLE table_33895 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the competition on October 21, 2003? ### Response:
SELECT "Competition" FROM table_33895 WHERE "Date" = 'october 21, 2003'
### Instruction: CREATE TABLE table_760 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district does incumbent james c. davis represent? ### Response:
SELECT "District" FROM table_760 WHERE "Incumbent" = 'James C. Davis'
### Instruction: CREATE TABLE table_28021 ( "Agency" text, "Route Number" text, "North/East Terminal" text, "South/West Terminal" text, "More Information" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the route number for santa rosa avenue ### Response:
SELECT "Route Number" FROM table_28021 WHERE "North/East Terminal" = 'Santa Rosa Avenue'
### Instruction: CREATE TABLE table_49781 ( "Year" real, "Series" text, "Make" text, "Driver" text, "Team" text, "Schedule" text, "Role" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year when the driver was kevin lepage? ### Response:
SELECT SUM("Year") FROM table_49781 WHERE "Driver" = 'kevin lepage'
### Instruction: CREATE TABLE table_name_71 ( rank VARCHAR, fastest_time__s_ VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank did the United States swimmer come in who posted 11.26 seconds in the 100-meter youth female division? ### Response:
SELECT COUNT(rank) FROM table_name_71 WHERE fastest_time__s_ = "11.26" AND nation = "united states"
### Instruction: CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE movie ( mid number, title text, year number, director text ) CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of all movies directed by Steven Spielberg? ### Response:
SELECT title FROM movie WHERE director = 'Steven Spielberg'
### Instruction: CREATE TABLE table_46773 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location of the game on February 2? ### Response:
SELECT "Location/Attendance" FROM table_46773 WHERE "Date" = 'february 2'
### Instruction: CREATE TABLE table_name_77 ( ppv_buyrate VARCHAR, date VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On September 10 during Strikeforce: Heavyweight Grand Prix Semifinals, what was the PPV buyrate? ### Response:
SELECT ppv_buyrate FROM table_name_77 WHERE date = "september 10" AND event = "strikeforce: heavyweight grand prix semifinals"
### Instruction: CREATE TABLE table_47703 ( "Game" real, "Date" text, "Team" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the most points in game 81? ### Response:
SELECT "High points" FROM table_47703 WHERE "Game" = '81'
### Instruction: CREATE TABLE table_21175 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "Best finish" text, "Earnings ( $ )" real, "Money list rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times did Casey Martin win? ### Response:
SELECT MAX("Wins") FROM table_21175
### Instruction: CREATE TABLE table_54243 ( "Name" text, "Party" text, "Province" text, "Term expires" real, "Term of office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Ken Wright of the National Party was from which province? ### Response:
SELECT "Province" FROM table_54243 WHERE "Party" = 'national' AND "Name" = 'ken wright'
### Instruction: CREATE TABLE table_15866 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school did Herb Williams go to? ### Response:
SELECT "School/Club Team" FROM table_15866 WHERE "Player" = 'Herb Williams'
### Instruction: CREATE TABLE table_22114 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Tim Holden first elected? ### Response:
SELECT MIN("First elected") FROM table_22114 WHERE "Incumbent" = 'Tim Holden'
### Instruction: CREATE TABLE table_1293 ( "Airline" text, "ICAO" text, "IATA" text, "Callsign" text, "Commenced operations" real, "Fleet size" real, "Headquarters" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the oldest airline start operations? ### Response:
SELECT MIN("Commenced operations") FROM table_1293
### Instruction: CREATE TABLE table_30279 ( "Position" text, "Number" real, "Player" text, "Super League" real, "Champions League" real, "Swiss Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the number of assists for the DF. ### Response:
SELECT MAX("Total") FROM table_30279 WHERE "Position" = 'DF'
### Instruction: CREATE TABLE table_10685 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament was andreas haider-maurer the opponent in? ### Response:
SELECT "Tournament" FROM table_10685 WHERE "Opponent" = 'andreas haider-maurer'
### Instruction: CREATE TABLE table_69413 ( "Format" text, "Filename extension" text, "Image support" text, "Interactivity support" text, "Word wrap support" text, "Open standard" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Word wrap support has a Format of mobipocket? ### Response:
SELECT "Word wrap support" FROM table_69413 WHERE "Format" = 'mobipocket'
### Instruction: CREATE TABLE table_74088 ( "Year" real, "Title" text, "Format" text, "Studio" text, "Release Date" text, "Copyright Information" text, "Catalog Number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the studio for super callanetics ### Response:
SELECT "Studio" FROM table_74088 WHERE "Title" = 'Super Callanetics'
### Instruction: CREATE TABLE table_66811 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Class has Laps of 31? ### Response:
SELECT "Class" FROM table_66811 WHERE "Laps" = '31'
### Instruction: CREATE TABLE table_49978 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Laps, when Ride is Aleix Espargaro? ### Response:
SELECT COUNT("Laps") FROM table_49978 WHERE "Rider" = 'aleix espargaro'
### Instruction: CREATE TABLE table_48643 ( "Discipline" text, "Circuit" text, "Event" text, "Session" text, "Cause" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The 1997 Japanese Formula 3 Championship is part of what circuit? ### Response:
SELECT "Circuit" FROM table_48643 WHERE "Event" = '1997 japanese formula 3 championship'
### Instruction: CREATE TABLE table_31175 ( "Player" text, "Starts" real, "Cuts made" real, "Best finish" text, "Money list rank" real, "Earnings ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the best finish record for Carl Paulson? ### Response:
SELECT "Best finish" FROM table_31175 WHERE "Player" = 'Carl Paulson'
### Instruction: CREATE TABLE table_38947 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the Points in the game with a Score of 2 7? ### Response:
SELECT SUM("Points") FROM table_38947 WHERE "Score" = '2–7'
### Instruction: CREATE TABLE table_name_96 ( date INTEGER, opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has an Opponent of milton keynes lightning, and an Attendance smaller than 1,771? ### Response:
SELECT AVG(date) FROM table_name_96 WHERE opponent = "milton keynes lightning" AND attendance < 1 OFFSET 771
### Instruction: CREATE TABLE table_52126 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Catalogue tojp 60121-22's Date? ### Response:
SELECT "Date" FROM table_52126 WHERE "Catalogue" = 'tojp 60121-22'
### Instruction: CREATE TABLE table_50706 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of the Player with a Score of 70-68=138? ### Response:
SELECT "Place" FROM table_50706 WHERE "Score" = '70-68=138'
### Instruction: CREATE TABLE table_39940 ( "singular" text, "singular gender" text, "plural" text, "plural gender" text, "meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the singular if the plural is xweer(a)du? ### Response:
SELECT "singular" FROM table_39940 WHERE "plural" = 'xweer(a)du'
### Instruction: CREATE TABLE table_54987 ( "Year" real, "Award" text, "Category" text, "Nomination" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result in 2010 for bgm cyworld ### Response:
SELECT "Result" FROM table_54987 WHERE "Year" = '2010' AND "Award" = 'bgm cyworld'
### Instruction: CREATE TABLE table_16003 ( "Nomination" text, "Actors Name" text, "Film Name" text, "Director" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nominations was the film 27 Stolen Kisses nominated for? ### Response:
SELECT "Nomination" FROM table_16003 WHERE "Film Name" = '27 Stolen Kisses'
### Instruction: CREATE TABLE table_27728 ( "Number" real, "Name" text, "Vertices" text, "Hypotenuse 0 c" text, "Vertical 0 b" text, "Horizontal 0 a" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the vertical for bian ### Response:
SELECT "Vertical 0 b" FROM table_27728 WHERE "Name" = '边 BIAN'
### Instruction: CREATE TABLE table_name_25 ( field_goals INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What the average amount of field goals Clark has if he has less than 3 touch downs and less than 5 points? ### Response:
SELECT AVG(field_goals) FROM table_name_25 WHERE touchdowns < 3 AND player = "clark" AND points < 5
### Instruction: CREATE TABLE table_9682 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average attendance on october 3, 1976? ### Response:
SELECT AVG("Attendance") FROM table_9682 WHERE "Date" = 'october 3, 1976'
### Instruction: CREATE TABLE table_3621 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was running in the section pennsylvania 5 ### Response:
SELECT "Candidates" FROM table_3621 WHERE "District" = 'Pennsylvania 5'
### Instruction: CREATE TABLE table_253 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which forward player has the number 22? ### Response:
SELECT "Player" FROM table_253 WHERE "No." = '22' AND "Position" = 'Forward'
### Instruction: CREATE TABLE table_34329 ( "Call sign" text, "Frequency MHz" text, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the class of w269ax ### Response:
SELECT "Class" FROM table_34329 WHERE "Call sign" = 'w269ax'
### Instruction: CREATE TABLE table_18 ( "Equivalent NATO Rank Code" text, "Rank in Spanish" text, "Rank in English" text, "Commonwealth equivalent" text, "US Air Force equivalent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What could a spanish coronel be addressed as in the commonwealth military? ### Response:
SELECT "Commonwealth equivalent" FROM table_18 WHERE "Rank in Spanish" = 'Coronel'
### Instruction: CREATE TABLE table_204_489 ( id number, "rank" number, "name" text, "height" text, "floors" number, "year" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the tallest building in bosie , idaho ? ### Response:
SELECT "name" FROM table_204_489 ORDER BY "height" DESC LIMIT 1
### Instruction: CREATE TABLE table_204_958 ( id number, "episode" number, "original broadcast date" text, "average" number, "rank" number, "remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the date of the last episode that was broadcast ? ### Response:
SELECT "original broadcast date" FROM table_204_958 ORDER BY "episode" DESC LIMIT 1
### Instruction: CREATE TABLE table_203_377 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the team with the most gold medals ### Response:
SELECT "nation" FROM table_203_377 ORDER BY "gold" DESC LIMIT 1
### Instruction: CREATE TABLE table_40859 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Opponent has an Attendance that is 26,880? ### Response:
SELECT "Opponent" FROM table_40859 WHERE "Attendance" = '26,880'
### Instruction: CREATE TABLE table_1867 ( "Team" text, "Location" text, "County" text, "Division" text, "Home ground" text, "Coach" text, "Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the coach of the team in Leicester? ### Response:
SELECT "Coach" FROM table_1867 WHERE "Location" = 'Leicester'
### Instruction: CREATE TABLE table_5668 ( "Draw" real, "Artist" text, "Song" text, "Jury" real, "Televoting" real, "Points" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Televoting smaller than 2 had what highest draw? ### Response:
SELECT MAX("Draw") FROM table_5668 WHERE "Televoting" < '2'
### Instruction: CREATE TABLE table_204_68 ( id number, "name" text, "profession" text, "hometown" text, "term expires" number, "office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total number of members from lawton and oklahoma city ### Response:
SELECT COUNT("name") FROM table_204_68 WHERE "hometown" IN ('lawton', 'oklahoma city')
### Instruction: CREATE TABLE table_69307 ( "Outcome" text, "Tournament" text, "Surface" text, "Partner" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the tournament in Edinburgh? ### Response:
SELECT "Outcome" FROM table_69307 WHERE "Tournament" = 'edinburgh'
### Instruction: CREATE TABLE table_23680576_2 ( may_2009 VARCHAR, jul_2009 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the polling average in July 2009 was 7.2%, what was it in May 2009? ### Response:
SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%"
### Instruction: CREATE TABLE table_name_57 ( name VARCHAR, height VARCHAR, date_of_birth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has the height of m (ft 9in) and was born on 1980-03-05? ### Response:
SELECT name FROM table_name_57 WHERE height = "m (ft 9in)" AND date_of_birth = "1980-03-05"
### Instruction: CREATE TABLE table_69819 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visitor on march 21? ### Response:
SELECT "Visitor" FROM table_69819 WHERE "Date" = 'march 21'
### Instruction: CREATE TABLE table_56299 ( "Model" text, "Years" text, "Engine code" text, "Power" text, "Torque" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Torque of the model with the engine code of M54B25? ### Response:
SELECT "Torque" FROM table_56299 WHERE "Engine code" = 'm54b25'
### Instruction: CREATE TABLE table_45221 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on December 2, 1962? ### Response:
SELECT "Opponent" FROM table_45221 WHERE "Date" = 'december 2, 1962'
### Instruction: CREATE TABLE table_17371 ( "Year" real, "Division" text, "League" text, "Reg. Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many open cups were hosted in 1993? ### Response:
SELECT COUNT("Open Cup") FROM table_17371 WHERE "Year" = '1993'
### Instruction: CREATE TABLE table_19725 ( "Character" text, "French voice actor" text, "Italian voice actor" text, "German voice actor" text, "Spanish voice actor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the character for sophie arthuys ### Response:
SELECT "Character" FROM table_19725 WHERE "French voice actor" = 'Sophie Arthuys'
### Instruction: CREATE TABLE table_52541 ( "Year" text, "Population" text, "Romanians" text, "Hungarians" text, "Germans" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population of the year featuring an 87.5% German population? ### Response:
SELECT "Population" FROM table_52541 WHERE "Germans" = '87.5%'
### Instruction: CREATE TABLE table_53904 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for Loss of schilling (5 2) ### Response:
SELECT "Date" FROM table_53904 WHERE "Loss" = 'schilling (5–2)'
### Instruction: CREATE TABLE table_204_637 ( id number, "type" text, "gauge" text, "railway" text, "works no." text, "year" text, "builder" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- builder that has the most experience ### Response:
SELECT "builder" FROM table_204_637 GROUP BY "builder" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_69379 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has a loss of Trachsel (10-11)? ### Response:
SELECT "Opponent" FROM table_69379 WHERE "Loss" = 'trachsel (10-11)'
### Instruction: CREATE TABLE table_29471 ( "Team" text, "Head coach" text, "Team captain" text, "Kit maker" text, "Shirt sponsor" text, "Past Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has Ali Daei as head coach? ### Response:
SELECT "Team" FROM table_29471 WHERE "Head coach" = 'Ali Daei'
### Instruction: CREATE TABLE table_203_672 ( id number, "week" number, "date" text, "opponent" text, "result" text, "venue" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what month were the most games played ? ### Response:
SELECT "date" FROM table_203_672 GROUP BY "date" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_5243 ( "Years" text, "Building" text, "City" text, "Height" text, "Storeys" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height for less than 45 storeys in Scotia Centre? ### Response:
SELECT "Height" FROM table_5243 WHERE "Storeys" < '45' AND "Building" = 'scotia centre'
### Instruction: CREATE TABLE table_name_57 ( max_1_min_wind_mph__km_h_ VARCHAR, min_press___mbar__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the max 1-min wind mph when the minimum press is 997? ### Response:
SELECT max_1_min_wind_mph__km_h_ FROM table_name_57 WHERE min_press___mbar__ = "997"
### Instruction: CREATE TABLE table_62531 ( "Name / Generation" text, "Model" text, "Frequency [MHz]" text, "Architecture version" text, "Cores" text, "Process [nm]" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the architecture version of Model 1b? ### Response:
SELECT "Architecture version" FROM table_62531 WHERE "Model" = '1b'
### Instruction: CREATE TABLE table_68176 ( "Party" text, "Party List votes" real, "Vote percentage" text, "Total Seats" text, "Seat percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What seat has a vote percentage of 100.0% ### Response:
SELECT "Seat percentage" FROM table_68176 WHERE "Vote percentage" = '100.0%'
### Instruction: CREATE TABLE table_72933 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results are listed for week 13? ### Response:
SELECT COUNT("Result") FROM table_72933 WHERE "Week" = '13'
### Instruction: CREATE TABLE table_203_164 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of wins ? ### Response:
SELECT COUNT(*) FROM table_203_164 WHERE "result" = 'won'
### Instruction: CREATE TABLE table_24496 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every reason for change for the Washington 3rd District? ### Response:
SELECT "Reason for change" FROM table_24496 WHERE "District" = 'Washington 3rd'
### Instruction: CREATE TABLE table_name_8 ( squad_no INTEGER, name VARCHAR, league_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17? ### Response:
SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 17
### Instruction: CREATE TABLE table_49201 ( "Player" text, "Nationality" text, "Jersey Number(s)" text, "Position" text, "Years" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the Jersey numbers for Notre Dame? ### Response:
SELECT "Jersey Number(s)" FROM table_49201 WHERE "From" = 'notre dame'
### Instruction: CREATE TABLE table_25952 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the minimal number of points scored in any game? ### Response:
SELECT MIN("Points") FROM table_25952
### Instruction: CREATE TABLE table_62104 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what round was Kelsey Tessier drafted? ### Response:
SELECT "Round" FROM table_62104 WHERE "Player" = 'kelsey tessier'
### Instruction: CREATE TABLE table_name_7 ( model VARCHAR, digital VARCHAR, tuner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the model for digital of dvb-t (cx22702) and tuner of thomson dtt75105 ### Response:
SELECT model FROM table_name_7 WHERE digital = "dvb-t (cx22702)" AND tuner = "thomson dtt75105"
### Instruction: CREATE TABLE table_name_74 ( year_of_disaffiliation INTEGER, city_of_license_market VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario? ### Response:
SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario"
### Instruction: CREATE TABLE table_43809 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY? ### Response:
SELECT "Away team" FROM table_43809 WHERE "Home team" = 'leicester city'