instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_41832 ( "Year" text, "Team" text, "Comp" text, "Rate" text, "RAtt" text, "RYds" text, "RAvg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the RAtt in the year 1988? ### Response:
SELECT "RAtt" FROM table_41832 WHERE "Year" = '1988'
### Instruction: CREATE TABLE table_3398 ( "Player" text, "Touchdowns (5 points)" real, "Extra points 1 point" real, "Field goals (4 points)" real, "Safeties (2 points)" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least number of field goals scored by a player? ### Response:
SELECT MIN("Field goals (4 points)") FROM table_3398
### Instruction: CREATE TABLE table_12767 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on Feb 25? ### Response:
SELECT "Record" FROM table_12767 WHERE "Date" = 'feb 25'
### Instruction: CREATE TABLE table_75666 ( "Wrestler" text, "Reign" text, "Days held" text, "Location" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the reign for super kendo who held it for 35 days? ### Response:
SELECT "Reign" FROM table_75666 WHERE "Days held" = '35' AND "Wrestler" = 'super kendo'
### Instruction: CREATE TABLE table_28910 ( "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. -- What was the result in the district represented by Thomas R. Gold? ### Response:
SELECT "Result" FROM table_28910 WHERE "Incumbent" = 'Thomas R. Gold'
### Instruction: CREATE TABLE table_21622 ( "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. -- If Arthur Albert is the director, what is the maximum series number? ### Response:
SELECT MAX("Series #") FROM table_21622 WHERE "Directed by" = 'Arthur Albert'
### Instruction: CREATE TABLE table_33269 ( "Year" real, "Winner" text, "Score" text, "Runner-up" text, "Finals Venue (surface)" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the 1966 final played? ### Response:
SELECT "Finals Venue (surface)" FROM table_33269 WHERE "Year" = '1966'
### Instruction: CREATE TABLE table_23588 ( "Title" text, "Author" text, "Reader" text, "Format" text, "Company" text, "Release Date" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which company uses pinborough, sarah sarah pinborough? ### Response:
SELECT "Company" FROM table_23588 WHERE "Author" = 'Pinborough, Sarah Sarah Pinborough'
### Instruction: CREATE TABLE table_26808 ( "Episode no." real, "Airdate" text, "Viewers" text, "BBC Three weekly ranking" text, "Cable rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the number of viewers when the cable rank for Russell Howard's Good New was 5. ### Response:
SELECT "Viewers" FROM table_26808 WHERE "Cable rank" = '5'
### Instruction: CREATE TABLE table_56320 ( "Episode" text, "Title" text, "Date of emission" text, "Audience" text, "Share" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the share when the audience was 3.944.000? ### Response:
SELECT "Share" FROM table_56320 WHERE "Audience" = '3.944.000'
### Instruction: CREATE TABLE table_15475 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Domenico Fioravanti's time on lane 5? ### Response:
SELECT "Time" FROM table_15475 WHERE "Lane" = '5' AND "Name" = 'domenico fioravanti'
### Instruction: CREATE TABLE table_27743641_2 ( gt_winning_team VARCHAR, gtc_winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing? ### Response:
SELECT gt_winning_team FROM table_27743641_2 WHERE gtc_winning_team = "No. 54 Black Swan Racing"
### Instruction: CREATE TABLE table_40913 ( "Title" text, "Director" text, "Producer" text, "Production Cost" text, "Singapore Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the film with director listed as 1998, what was the gross in Singapore? ### Response:
SELECT "Singapore Gross" FROM table_40913 WHERE "Director" = '1998'
### Instruction: CREATE TABLE table_5688 ( "Game #" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Score has a Record of 35-28-6? ### Response:
SELECT "Score" FROM table_5688 WHERE "Record" = '35-28-6'
### Instruction: CREATE TABLE table_14954 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which engine has more than 0 points and a year before 1984? ### Response:
SELECT "Engine(s)" FROM table_14954 WHERE "Points" > '0' AND "Year" < '1984'
### Instruction: CREATE TABLE table_3711 ( "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Originalairdate" text, "Ratings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of ratings for 'forests of prejudice ### Response:
SELECT COUNT("Ratings") FROM table_3711 WHERE "Title" = 'Forests of Prejudice'
### Instruction: CREATE TABLE table_70322 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team that played against the Boston Bruins on January 11? ### Response:
SELECT "Home" FROM table_70322 WHERE "Visitor" = 'boston bruins' AND "Date" = 'january 11'
### Instruction: CREATE TABLE table_56294 ( "Player" 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 nationality has Years for Jazz of 1984-85? ### Response:
SELECT "Nationality" FROM table_56294 WHERE "Years for Jazz" = '1984-85'
### Instruction: CREATE TABLE table_21083 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every name for longitude of 152.0E? ### Response:
SELECT "Name" FROM table_21083 WHERE "Longitude" = '152.0E'
### Instruction: CREATE TABLE table_76519 ( "Verb" text, "2 (VF)" text, "2 (F)" text, "3 (F)" text, "2/3 (P)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 3rd for the 2nd Tui Dhuli? ### Response:
SELECT "3 (F)" FROM table_76519 WHERE "2 (VF)" = 'tui dhuli'
### Instruction: CREATE TABLE table_25620 ( "Player" text, "Class Year" real, "Position" text, "Teams" text, "Career" text, "Highlight(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the player whose highlights were 5 career INTs play? ### Response:
SELECT "Position" FROM table_25620 WHERE "Highlight(s)" = '5 Career INTs'
### Instruction: CREATE TABLE table_49452 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is date when against is smaller than 6 and location was durban? ### Response:
SELECT "Date" FROM table_49452 WHERE "Against" < '6' AND "Venue" = 'durban'
### Instruction: CREATE TABLE table_43324 ( "Competition" text, "Ladder Position" text, "Coach" text, "Captain(s)" text, "Details" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the captain of the 2012 NRL season competition? ### Response:
SELECT "Captain(s)" FROM table_43324 WHERE "Competition" = '2012 nrl season'
### Instruction: CREATE TABLE table_38019 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of laps for the Time/Retired of +16.445? ### Response:
SELECT "Laps" FROM table_38019 WHERE "Time/Retired" = '+16.445'
### Instruction: CREATE TABLE table_47988 ( "Year" real, "Round" real, "Pick" real, "Player" text, "NBA Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round was the player Ty Lawson with a pick earlier than 18? ### Response:
SELECT AVG("Round") FROM table_47988 WHERE "Player" = 'ty lawson' AND "Pick" < '18'
### Instruction: CREATE TABLE table_421 ( "Symbol" text, "Description" text, "Success" text, "Date of completion" text, "Deadline for completion" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of deadline for completion where description is facebook becomes a publicly traded company ### Response:
SELECT COUNT("Deadline for completion") FROM table_421 WHERE "Description" = 'Facebook becomes a publicly traded company'
### Instruction: CREATE TABLE table_80275 ( "Year" text, "Team" text, "Chassis" text, "Engine" text, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank did the dallara chassis finish in 2000? ### Response:
SELECT "Rank" FROM table_80275 WHERE "Year" = '2000' AND "Chassis" = 'dallara'
### Instruction: CREATE TABLE table_203_580 ( id number, "title" text, "release" number, "genre" text, "computer" text, "console" text, "handheld" text, "smartphone" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first game released ? ### Response:
SELECT "title" FROM table_203_580 ORDER BY "release" LIMIT 1
### Instruction: CREATE TABLE table_40557 ( "Season" text, "Winner" text, "Score" text, "Runner-up" text, "Losing Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Score when the Losing Semifinalists were Toluca Unam? ### Response:
SELECT "Score" FROM table_40557 WHERE "Losing Semifinalists" = 'toluca unam'
### Instruction: CREATE TABLE table_2100 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams have a player named Denis Andersen? ### Response:
SELECT COUNT("NHL team") FROM table_2100 WHERE "Player" = 'Denis Andersen'
### Instruction: CREATE TABLE table_17016 ( "Ships name" text, "Entered service" text, "Ended service" text, "Gross Tonnage" real, "Type of Vessel" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum gross tonnage of the Munich? ### Response:
SELECT MIN("Gross Tonnage") FROM table_17016 WHERE "Ships name" = 'Munich'
### Instruction: CREATE TABLE table_29635868_1 ( origin VARCHAR, title_ VARCHAR, _link_to_episode_on_youtube VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many origins have titles of Samoan cricket bats? ### Response:
SELECT COUNT(origin) FROM table_29635868_1 WHERE title_ & _link_to_episode_on_youtube = "Samoan Cricket Bats"
### Instruction: CREATE TABLE table_204_775 ( 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. -- what number of bronze medals did iran receive ? ### Response:
SELECT "bronze" FROM table_204_775 WHERE "nation" = 'iran'
### Instruction: CREATE TABLE table_58545 ( "Awards" text, "Year" real, "Category" text, "Result" text, "Production" text, "Roll" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What category of the British Soap Awards resulted in nominated? ### Response:
SELECT "Category" FROM table_58545 WHERE "Awards" = 'british soap awards' AND "Result" = 'nominated'
### Instruction: CREATE TABLE table_2221374_3 ( original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the episode originally aired that was directed by James Widdoes and the production code is 320? ### Response:
SELECT original_air_date FROM table_2221374_3 WHERE directed_by = "James Widdoes" AND production_code = 320
### Instruction: CREATE TABLE table_13790 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest week that has September 14, 2003 as the date? ### Response:
SELECT MAX("Week") FROM table_13790 WHERE "Date" = 'september 14, 2003'
### Instruction: CREATE TABLE representative ( representative_id number, name text, state text, party text, lifespan text ) CREATE TABLE election ( election_id number, representative_id number, date text, votes number, vote_percent number, seats number, place number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many distinct parties are there for representatives? ### Response:
SELECT COUNT(DISTINCT party) FROM representative
### Instruction: CREATE TABLE table_57941 ( "Year" text, "Driver" text, "Constructor" text, "Category" text, "Location" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the constructor when report shows report in 1955? ### Response:
SELECT "Constructor" FROM table_57941 WHERE "Report" = 'report' AND "Year" = '1955'
### Instruction: CREATE TABLE table_70424 ( "Year" real, "Entrant" text, "Class" text, "Chassis" text, "Engine" text, "Rank" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which entrant has 25th as the rank? ### Response:
SELECT "Entrant" FROM table_70424 WHERE "Rank" = '25th'
### Instruction: CREATE TABLE table_50969 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time/retired with a toyota constructor and a 5 grid? ### Response:
SELECT "Time/Retired" FROM table_50969 WHERE "Constructor" = 'toyota' AND "Grid" = '5'
### Instruction: CREATE TABLE table_203_146 ( id number, "year" number, "association" text, "category" text, "nominated work" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many awards did jones win in 2009 ? ### Response:
SELECT COUNT(*) FROM table_203_146 WHERE "year" = 2009 AND "result" = 'won'
### Instruction: CREATE TABLE table_1492 ( "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the writer of the episode titled 'Pier Pressure'? ### Response:
SELECT "Written by" FROM table_1492 WHERE "Title" = 'Pier Pressure'
### Instruction: CREATE TABLE table_6221 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Competition has a Venue of jan breydel, bruges, belgium? ### Response:
SELECT "Competition" FROM table_6221 WHERE "Venue" = 'jan breydel, bruges, belgium'
### Instruction: CREATE TABLE table_name_23 ( language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service? ### Response:
SELECT language FROM table_name_23 WHERE hdtv = "no" AND package_option = "sky famiglia" AND television_service = "national geographic channel"
### Instruction: CREATE TABLE table_125 ( "Series #" real, "Episode #" 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. -- Who directed the second episode of 'The Homecoming' which was written by Tommy Thompson? ### Response:
SELECT "Directed by" FROM table_125 WHERE "Written by" = 'Tommy Thompson'
### Instruction: CREATE TABLE table_2147588_3 ( reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What change caused a change of staff in March 9, 1865? ### Response:
SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 9, 1865"
### Instruction: CREATE TABLE table_37354 ( "Call sign" text, "Frequency MHz" real, "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 FCC info is listed for the ERP W of 2? ### Response:
SELECT "FCC info" FROM table_37354 WHERE "ERP W" = '2'
### Instruction: CREATE TABLE table_11361 ( "Season" real, "Competition" text, "Round" text, "Club" text, "Home" text, "Away" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition did the maccabi haifa fc club play? ### Response:
SELECT "Competition" FROM table_11361 WHERE "Club" = 'maccabi haifa fc'
### Instruction: CREATE TABLE table_23279 ( "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 incumbent was first elected in 2009? ### Response:
SELECT "Incumbent" FROM table_23279 WHERE "First elected" = '2009'
### Instruction: CREATE TABLE table_17246 ( "Full Name" text, "Nickname" text, "Gender" text, "Weight at birth" text, "Meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of nicknames for the meaning of god knows my journey. ### Response:
SELECT COUNT("Nickname") FROM table_17246 WHERE "Meaning" = 'God Knows My Journey'
### Instruction: CREATE TABLE table_8305 ( "Rank" real, "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 total number of silver medals of the nation with more than 16 total medals? ### Response:
SELECT COUNT("Silver") FROM table_8305 WHERE "Total" > '16'
### Instruction: CREATE TABLE table_36908 ( "Club" text, "Sport" text, "Founded" real, "League" text, "Venue" text, "Head Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Sport of gaelic football and hurling is what league? ### Response:
SELECT "League" FROM table_36908 WHERE "Sport" = 'gaelic football and hurling'
### Instruction: CREATE TABLE table_79502 ( "Title" text, "Series" text, "Director" text, "Release date" text, "reissue?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Was there a reissue of the film released on 1953-10-03? ### Response:
SELECT "reissue?" FROM table_79502 WHERE "Release date" = '1953-10-03'
### Instruction: CREATE TABLE table_23694 ( "County" text, "McCain #" real, "McCain %" text, "Obama #" real, "Obama %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the mccain % where obama got 19.3% ### Response:
SELECT "McCain %" FROM table_23694 WHERE "Obama %" = '19.3%'
### Instruction: CREATE TABLE table_71233 ( "Capital" text, "Prefecture" text, "Region" text, "Island" text, "Pop. \u00b9" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of pop for shizuoka ### Response:
SELECT SUM("Pop. \u00b9") FROM table_71233 WHERE "Prefecture" = 'shizuoka'
### Instruction: CREATE TABLE table_name_2 ( rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628? ### Response:
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628
### Instruction: CREATE TABLE table_name_19 ( reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is Yes? ### Response:
SELECT reserved_instruments FROM table_name_19 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes"
### Instruction: CREATE TABLE table_36541 ( "Number" text, "Wrestler" text, "Entered" real, "Pinned" text, "Method" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wrestler has an Entered of 5, and a Pinned of mvp? ### Response:
SELECT "Wrestler" FROM table_36541 WHERE "Entered" = '5' AND "Pinned" = 'mvp'
### Instruction: CREATE TABLE table_32163 ( "Region" text, "Date" real, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the lowest date for catalog of 6561910008-1 ### Response:
SELECT MIN("Date") FROM table_32163 WHERE "Catalog" = '6561910008-1'
### Instruction: CREATE TABLE table_204_494 ( id number, "episode #" text, "original air date (uk)" text, "episode title" text, "guest cast" text, "dvd # 1" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of guests listed on episode two ? ### Response:
SELECT "guest cast" FROM table_204_494 WHERE id = 2
### Instruction: CREATE TABLE table_249 ( "Comparisons" text, "Hub Base Class" text, "Emulated Class" text, "Semi-DDM Class" text, "DDM Class" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is wireless combo keyboard and mouse support part of the hub base class? ### Response:
SELECT "Hub Base Class" FROM table_249 WHERE "Comparisons" = 'Wireless Combo keyboard and mouse support'
### Instruction: CREATE TABLE table_18644 ( "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. -- Who are all the candidates when Sam Rayburn was incumbent? ### Response:
SELECT "Candidates" FROM table_18644 WHERE "Incumbent" = 'Sam Rayburn'
### Instruction: CREATE TABLE table_203_95 ( id number, "year" text, "democratic\nparty" number, "republican\nparty" number, "independent\n/ other" text, "majority" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the only year where the majority was 4 ? ### Response:
SELECT "year" FROM table_203_95 WHERE "majority" = 4
### Instruction: CREATE TABLE table_name_20 ( wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws? ### Response:
SELECT AVG(wins) FROM table_name_20 WHERE against > 1155 AND club = "warrnambool" AND draws > 0
### Instruction: CREATE TABLE table_203_476 ( id number, "no." number, "title (latin)" text, "title (english translation)" text, "subject" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of encyclicals to take place in december ? ### Response:
SELECT COUNT("title (latin)") FROM table_203_476 WHERE "date" = 12
### Instruction: CREATE TABLE table_name_74 ( bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the bronze when silver is 1, gold is 0 the rank is 11 and the total is more than 1? ### Response:
SELECT MAX(bronze) FROM table_name_74 WHERE silver = 1 AND gold = 0 AND rank = "11" AND total > 1
### Instruction: CREATE TABLE table_23923 ( "Country/Region" text, "Title" text, "Television network" text, "Winners" text, "Presenters" text, "Trainers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Silvio Santos is the presenter in what country? ### Response:
SELECT "Country/Region" FROM table_23923 WHERE "Presenters" = 'Silvio Santos'
### Instruction: CREATE TABLE table_9518 ( "Party" text, "Leader" text, "Seats" text, "% of seats" text, "First Pref votes" text, "% FPv" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of Seats for Leader Enda kenny? ### Response:
SELECT "Seats" FROM table_9518 WHERE "Leader" = 'enda kenny'
### Instruction: CREATE TABLE table_64083 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the team that has a pick less than 154 and an offensive guard position? ### Response:
SELECT "Team" FROM table_64083 WHERE "Position" = 'offensive guard' AND "Pick" < '154'
### Instruction: CREATE TABLE table_6631 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text, "Ends" text, "Transfer fee" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ends has transferred as the type? ### Response:
SELECT "Ends" FROM table_6631 WHERE "Type" = 'transferred'
### Instruction: CREATE TABLE table_203_622 ( id number, "date" text, "team" text, "name" text, "position" text, "years in nba" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players retired after playing 12 years ? ### Response:
SELECT COUNT("team") FROM table_203_622 WHERE "years in nba" > 12
### Instruction: CREATE TABLE table_275 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most series number with season 3? ### Response:
SELECT MAX("Series #") FROM table_275 WHERE "Season #" = '3'
### Instruction: CREATE TABLE table_name_20 ( laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8? ### Response:
SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton"
### Instruction: CREATE TABLE table_26345 ( "Music Library" text, "Year" real, "Media type" text, "Name of the media" text, "Composition name" text, "Composer" text, "Genre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every media type for the World genre? ### Response:
SELECT "Media type" FROM table_26345 WHERE "Genre" = 'World'
### Instruction: CREATE TABLE table_16964 ( "Series no." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code of 'surprise, surprise'? ### Response:
SELECT MAX("Production Code") FROM table_16964 WHERE "Title" = 'Surprise, Surprise'
### Instruction: CREATE TABLE table_203_622 ( id number, "date" text, "team" text, "name" text, "position" text, "years in nba" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player has the most years in the nba ? ### Response:
SELECT "name" FROM table_203_622 ORDER BY "years in nba" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_51 ( runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Runner(s)-Up, when Margin of Victory is 1 Stroke, and when Tournament is Joburg Open 1? ### Response:
SELECT runner_s__up FROM table_name_51 WHERE margin_of_victory = "1 stroke" AND tournament = "joburg open 1"
### Instruction: CREATE TABLE table_75978 ( "Rank" real, "Location" text, "Total Passengers" real, "Annual change" text, "Capacity" real, "Capacity in use" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location has a capacity that has a rank of 23? ### Response:
SELECT "Capacity in use" FROM table_75978 WHERE "Rank" = '23'
### Instruction: CREATE TABLE table_25668962_1 ( no_in_series INTEGER, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number in the series was viewed by 13.66 million people in the U.S.? ### Response:
SELECT MAX(no_in_series) FROM table_25668962_1 WHERE us_viewers__million_ = "13.66"
### Instruction: CREATE TABLE table_3920 ( "Episode #" real, "Series #" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text, "Viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote 'what you mean by home'? ### Response:
SELECT "Writer" FROM table_3920 WHERE "Title" = 'What You Mean By Home'
### Instruction: CREATE TABLE table_70336 ( "Race" real, "Circuit" text, "Location / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first race in Launceston, Tasmania? ### Response:
SELECT MIN("Race") FROM table_70336 WHERE "Location / State" = 'launceston, tasmania'
### Instruction: CREATE TABLE table_76495 ( "Game" real, "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result on 20 July 2008? ### Response:
SELECT "Result" FROM table_76495 WHERE "Date" = '20 july 2008'
### Instruction: CREATE TABLE table_53887 ( "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. -- What is the record of the game with a score of 1 5? ### Response:
SELECT "Record" FROM table_53887 WHERE "Score" = '1 – 5'
### Instruction: CREATE TABLE table_42126 ( "Year" real, "Country" text, "Team" text, "Individual" text, "Location" text, "Runners-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the runners-up when the individual winner was Tiger Woods? ### Response:
SELECT "Runners-up" FROM table_42126 WHERE "Individual" = 'tiger woods'
### Instruction: CREATE TABLE table_7958 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Bronze with a 17 Rank and a Total less than 5 ### Response:
SELECT MIN("Bronze") FROM table_7958 WHERE "Rank" = '17' AND "Total" < '5'
### Instruction: CREATE TABLE table_1710426_2 ( best_10_year_period VARCHAR, best_15_year_period VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which people had the best 10-year period when Capablanca had the best 15-year period? ### Response:
SELECT best_10_year_period FROM table_1710426_2 WHERE best_15_year_period = "Capablanca"
### Instruction: CREATE TABLE table_52752 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the outcome with marina erakovic as opponent? ### Response:
SELECT "Outcome" FROM table_52752 WHERE "Opponent" = 'marina erakovic'
### Instruction: CREATE TABLE table_66475 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What city of license has cbon-fm-11 as the identifier? ### Response:
SELECT "City of license" FROM table_66475 WHERE "Identifier" = 'cbon-fm-11'
### Instruction: CREATE TABLE table_44667 ( "Rider" text, "Manufacturer" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps have a time/retired of +23.080? ### Response:
SELECT "Laps" FROM table_44667 WHERE "Time/Retired" = '+23.080'
### Instruction: CREATE TABLE table_40282 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Attendance for the game on November 1, 1981? ### Response:
SELECT AVG("Attendance") FROM table_40282 WHERE "Date" = 'november 1, 1981'
### Instruction: CREATE TABLE table_name_64 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1982, when 1978 is 'A', when 1985 is '4R', and when 1991 is '1R'? ### Response:
SELECT 1982 FROM table_name_64 WHERE 1978 = "a" AND 1985 = "4r" AND 1991 = "1r"
### Instruction: CREATE TABLE table_203_591 ( id number, "high school" text, "join\nyear" text, "from" text, "left" text, "league left to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many high schools had a league leave to big nine conference ? ### Response:
SELECT COUNT("high school") FROM table_203_591 WHERE "league left to" = 'big nine conference'
### Instruction: CREATE TABLE table_77103 ( "Rank" real, "Name" text, "Stories" real, "Height" text, "Year Completed" text, "Primary Purpose" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total stories that rank number 10? ### Response:
SELECT COUNT("Stories") FROM table_77103 WHERE "Rank" = '10'
### Instruction: CREATE TABLE table_name_69 ( name VARCHAR, period VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What name is for the period 1945-1949 & 1953-1954 1949-1952? ### Response:
SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952"
### Instruction: CREATE TABLE table_name_32 ( player VARCHAR, to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player when the to par is more than 11 and the score is 71-71-71-79=292? ### Response:
SELECT player FROM table_name_32 WHERE to_par > 11 AND score = 71 - 71 - 71 - 79 = 292
### Instruction: CREATE TABLE table_62510 ( "Date" text, "Venue" text, "Opponent" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score for the match held on April 11, 2007? ### Response:
SELECT "Score" FROM table_62510 WHERE "Date" = 'april 11, 2007'
### Instruction: CREATE TABLE round ( Member_ID VARCHAR, Rank_in_Round INTEGER ) CREATE TABLE member ( Name VARCHAR, Member_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the names of members that have a rank in round higher than 3. ### Response:
SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID WHERE T2.Rank_in_Round > 3
### Instruction: CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the total number from each flag ### Response:
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag
### Instruction: CREATE TABLE table_204_474 ( id number, "year" number, "host" text, "champion" text, "second place" text, "third place" text, "fourth place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the top player in 2012 ? ### Response:
SELECT "champion" FROM table_204_474 WHERE "year" = 2012
### Instruction: CREATE TABLE table_203_81 ( id number, "date" text, "constituency" text, "gain" text, "loss" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first gain on may 30th , 1963 ? ### Response:
SELECT "gain" FROM table_203_81 WHERE "date" = '30 may 1963'