instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_9770 ( "Episode #" text, "Original airdate (UK)" text, "Episode title" text, "Doctor Who episode" text, "Webcast link" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Doctor Who episode has a Original airdate (UK) of dvd only? ### Response:
SELECT "Doctor Who episode" FROM table_9770 WHERE "Original airdate (UK)" = 'dvd only'
### Instruction: CREATE TABLE table_11955 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score occurred when the save was ||27,108||63 44? ### Response:
SELECT "Score" FROM table_11955 WHERE "Save" = '||27,108||63–44'
### Instruction: CREATE TABLE table_52471 ( "Productions" text, "Rose" text, "Louise" text, "Dainty June" text, "Herbie" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Dainty June when Boyd Gaines was Herbie? ### Response:
SELECT "Dainty June" FROM table_52471 WHERE "Herbie" = 'boyd gaines'
### Instruction: CREATE TABLE table_57667 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the lowest week with a date of december 19, 2004 ### Response:
SELECT MIN("Week") FROM table_57667 WHERE "Date" = 'december 19, 2004'
### Instruction: CREATE TABLE table_30179 ( "Proceed to Quarter-final" text, "Match points" text, "Aggregate score" text, "Points margin" real, "Eliminated from competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When brive proceeded to quarter final what were the match points? ### Response:
SELECT "Match points" FROM table_30179 WHERE "Proceed to Quarter-final" = 'Brive'
### Instruction: CREATE TABLE table_27329061_2 ( default_desktop_environment VARCHAR, code_base VARCHAR, edition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the default desktop environment when the code base is ubuntu 8.04 and edition is fluxbox ce? ### Response:
SELECT default_desktop_environment FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE"
### Instruction: CREATE TABLE table_40491 ( "Rank" real, "City" text, "Airport" text, "Passengers" real, "Carriers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number of passengers going to MCO with a rank larger than 9? ### Response:
SELECT COUNT("Passengers") FROM table_40491 WHERE "Airport" = 'mco' AND "Rank" > '9'
### Instruction: CREATE TABLE table_name_42 ( almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg? ### Response:
SELECT almaty_, _kazakhstan FROM table_name_42 WHERE sergey_filimonov___kaz__ = "210kg"
### Instruction: CREATE TABLE table_5843 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has an Attendance of 24,791? ### Response:
SELECT "Opponent" FROM table_5843 WHERE "Attendance" = '24,791'
### Instruction: CREATE TABLE table_1245 ( "No. in season" real, "No. disc" 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 air date for episode 17 in the season? ### Response:
SELECT "Original air date" FROM table_1245 WHERE "No. in season" = '17'
### Instruction: CREATE TABLE table_75690 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Distance (Miles)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning time for the winning horse, Kentucky ii? ### Response:
SELECT "Time" FROM table_75690 WHERE "Winner" = 'kentucky ii'
### Instruction: CREATE TABLE table_38058 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has an attendance of 17,015? ### Response:
SELECT "Opponent" FROM table_38058 WHERE "Attendance" = '17,015'
### Instruction: CREATE TABLE table_58897 ( "Class" text, "Number(s)" text, "Quantity" real, "Year(s) of Manufacture" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which class has fewer than 10 and number(s) names? ### Response:
SELECT "Class" FROM table_58897 WHERE "Quantity" < '10' AND "Number(s)" = 'names'
### Instruction: CREATE TABLE table_232 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Would built the winning car in the IV J.C.C. Jersey Road Race? ### Response:
SELECT "Constructor" FROM table_232 WHERE "Race Name" = 'IV J.C.C. Jersey Road Race'
### Instruction: CREATE TABLE table_18696 ( "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. -- How many districts does john j. douglass represent? ### Response:
SELECT COUNT("District") FROM table_18696 WHERE "Incumbent" = 'John J. Douglass'
### Instruction: CREATE TABLE table_name_74 ( time_of_airing_on_channel_4 VARCHAR, episode_number VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time did Channel 4 air an episode number larger than 106 with the title of Marry Me A Little? ### Response:
SELECT time_of_airing_on_channel_4 FROM table_name_74 WHERE episode_number > 106 AND title = "marry me a little"
### Instruction: CREATE TABLE table_34645 ( "Year" real, "US Cham. Rank" real, "US Cham. Spending" text, "Next Highest Spender" text, "Next Highest Amount" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year is the lowest one that has a US Cham Rank smaller than 1? ### Response:
SELECT MIN("Year") FROM table_34645 WHERE "US Cham. Rank" < '1'
### Instruction: CREATE TABLE table_18574 ( "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. -- Name the candidates for ellsworth b. buck ### Response:
SELECT "Candidates" FROM table_18574 WHERE "Incumbent" = 'Ellsworth B. Buck'
### Instruction: CREATE TABLE table_name_38 ( studio_host VARCHAR, play_by_play VARCHAR, colour_commentator_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the studio host that has a play-by-play announcer of Bob Cole and a colour commentator of Harry Neale? ### Response:
SELECT studio_host FROM table_name_38 WHERE play_by_play = "bob cole" AND colour_commentator_s_ = "harry neale"
### Instruction: CREATE TABLE table_23683 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won womens doubles in 2010 ### Response:
SELECT "Womens doubles" FROM table_23683 WHERE "Year" = '2010'
### Instruction: CREATE TABLE table_44635 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title for Hui that ruled from 864 BC? ### Response:
SELECT "Title" FROM table_44635 WHERE "Name" = 'hui' AND "From" = '864 bc'
### Instruction: CREATE TABLE table_31419 ( "Official name" text, "INE code" real, "Name in Spanish" text, "Name in Basque" text, "Population (2007)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the official name of the municipality whose name in Spanish is Vitoria? ### Response:
SELECT "Official name" FROM table_31419 WHERE "Name in Spanish" = 'Vitoria'
### Instruction: CREATE TABLE table_66348 ( "Model" text, "Year Introduced" real, "Number of CPUs" text, "Performance (MIPS)" text, "Memory (GB)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Memory (GB) has a Number of CPUs of 1 6? ### Response:
SELECT "Memory (GB)" FROM table_66348 WHERE "Number of CPUs" = '1–6'
### Instruction: CREATE TABLE table_name_86 ( number_of_episodes VARCHAR, status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Number Of Episodes, when Status is '2001 - 2003, 2005 - 2009'? ### Response:
SELECT number_of_episodes FROM table_name_86 WHERE status = "2001 - 2003, 2005 - 2009"
### Instruction: CREATE TABLE table_204_198 ( id number, "club" text, "nickname" text, "no. of premierships" number, "premiership years" text, "moved to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- four corners has 13 premierships listed , what was their nickname ? ### Response:
SELECT "nickname" FROM table_204_198 WHERE "club" = 'four corners'
### Instruction: CREATE TABLE table_39521 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" real, "Song" text, "Artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song is done by Terence Trent D'Arby? ### Response:
SELECT "Song" FROM table_39521 WHERE "Artist" = 'terence trent d''arby'
### Instruction: CREATE TABLE table_70333 ( "Date" text, "Location" text, "Score" text, "Scorers for Chad" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the match on February 29, 2012? ### Response:
SELECT "Location" FROM table_70333 WHERE "Date" = 'february 29, 2012'
### Instruction: CREATE TABLE table_24786 ( "Year (Ceremony)" text, "English title" text, "Portuguese title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Portuguese name of the film who's English title is, Belle Toujours? ### Response:
SELECT "Portuguese title" FROM table_24786 WHERE "English title" = 'Belle Toujours'
### Instruction: CREATE TABLE table_1717824_1 ( _percentage_2011 VARCHAR, _percentage_2001 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the percentage in 2011 of the province that had 2.4% population in 2001? ### Response:
SELECT _percentage_2011 FROM table_1717824_1 WHERE _percentage_2001 = "2.4%"
### Instruction: CREATE TABLE table_203_670 ( id number, "pos" text, "driver" text, "entrant" text, "constructor" text, "time/retired" text, "grid" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what entrant has the most drivers ? ### Response:
SELECT "entrant" FROM table_203_670 GROUP BY "entrant" ORDER BY COUNT("driver") DESC LIMIT 1
### Instruction: CREATE TABLE table_2980 ( "Series" real, "Start date" text, "End date" text, "Episodes" real, "Average viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different end dates are there for the series seen by 4.2 million people? ### Response:
SELECT COUNT("End date") FROM table_2980 WHERE "Average viewers (millions)" = '4.2'
### Instruction: CREATE TABLE table_204_961 ( id number, "title" text, "director" text, "production" text, "music" text, "cast" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of directors for arunthathi . ### Response:
SELECT "director" FROM table_204_961 WHERE "title" = 'arunthathi'
### Instruction: CREATE TABLE table_3712 ( "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 air date for ratings of 2.19 million ### Response:
SELECT "Originalairdate" FROM table_3712 WHERE "Ratings" = '2.19 Million'
### Instruction: CREATE TABLE table_20248 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 20 questions for 8-04 ### Response:
SELECT "20 Questions" FROM table_20248 WHERE "Date" = '8-04'
### Instruction: CREATE TABLE table_69701 ( "Date" text, "Opponents" text, "Result F\u2013A" text, "Attendance" real, "Group position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Result F A of 5 0 had what group position? ### Response:
SELECT "Group position" FROM table_69701 WHERE "Result F\u2013A" = '5–0'
### Instruction: CREATE TABLE table_203_730 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number, "bye" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who did the broncos play against during the last game of the season ? ### Response:
SELECT "opponent" FROM table_203_730 ORDER BY "week" DESC LIMIT 1
### Instruction: CREATE TABLE table_60445 ( "Year" real, "Delegate" text, "Hometown" text, "Placement in Miss Universe" text, "Other awards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Placement in Miss Universe is armi barbara quiray crespo? ### Response:
SELECT "Placement in Miss Universe" FROM table_60445 WHERE "Delegate" = 'armi barbara quiray crespo'
### Instruction: CREATE TABLE table_66902 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the entrant for the ferrari v8 with points less than 4? ### Response:
SELECT "Entrant" FROM table_66902 WHERE "Engine" = 'ferrari v8' AND "Points" < '4'
### Instruction: CREATE TABLE table_72343 ( "Submitting country" text, "Film title used in nomination" text, "Original title" text, "Language(s)" text, "Director(s)" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country submitted miehen ty ? ### Response:
SELECT "Submitting country" FROM table_72343 WHERE "Original title" = 'Miehen työ'
### Instruction: CREATE TABLE table_31091 ( "Name" text, "Occupation" text, "Gender" text, "Prison connection" text, "Played by" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many characters does Maurice Dean Wint play in the movie Cube? ### Response:
SELECT COUNT("Status") FROM table_31091 WHERE "Played by" = 'Maurice Dean Wint'
### Instruction: CREATE TABLE table_name_70 ( time INTEGER, react VARCHAR, lane VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of time with a lane larger than 6, a nationality of canada, and the react smaller than 0.151? ### Response:
SELECT SUM(time) FROM table_name_70 WHERE lane > 6 AND nationality = "canada" AND react < 0.151
### Instruction: CREATE TABLE table_66539 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district has an assembly segment named mahidpur? ### Response:
SELECT "District" FROM table_66539 WHERE "Name" = 'mahidpur'
### Instruction: CREATE TABLE table_11279 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis was used by roy salvadori? ### Response:
SELECT "Chassis" FROM table_11279 WHERE "Driver" = 'roy salvadori'
### Instruction: CREATE TABLE table_13104 ( "Result" text, "Opponent" text, "Type" text, "Rd., Time" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Tony Oakey's Rd., Time when he fought against hastings rasani? ### Response:
SELECT "Rd., Time" FROM table_13104 WHERE "Opponent" = 'hastings rasani'
### Instruction: CREATE TABLE table_24720 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Title in the original language" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the film titled 'Steam of Life'? ### Response:
SELECT "Director" FROM table_24720 WHERE "Film title used in nomination" = 'Steam of Life'
### Instruction: CREATE TABLE table_17603 ( "#" real, "Nation" text, "Winners" real, "Runners-up" real, "3rd Place" real, "4th Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the runners-up with nation being malaysia ### Response:
SELECT "Runners-up" FROM table_17603 WHERE "Nation" = 'Malaysia'
### Instruction: CREATE TABLE table_203_763 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many of the competitions that took place were based in a venue in the united states ? ### Response:
SELECT COUNT("competition") FROM table_203_763 WHERE "venue" = 'united states'
### Instruction: CREATE TABLE table_19943 ( "#" real, "Season" real, "Bowl game" text, "Result" text, "Opponent" text, "Stadium" text, "Location" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of #1? ### Response:
SELECT "Location" FROM table_19943 WHERE "#" = '1'
### Instruction: CREATE TABLE table_38631 ( "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 surfside beach, SC frequency? ### Response:
SELECT "Frequency MHz" FROM table_38631 WHERE "City of license" = 'surfside beach, sc'
### Instruction: CREATE TABLE table_10466 ( "Independent" text, "Lost" real, "Tied" real, "Pct." real, "Years" real, "Total Games" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the PCT when the total number of games is less than 944? ### Response:
SELECT "Pct." FROM table_10466 WHERE "Total Games" < '944'
### Instruction: CREATE TABLE table_28034 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the minimum touchdowns of the Fullback player? ### Response:
SELECT MIN("Touchdowns") FROM table_28034 WHERE "Position" = 'Fullback'
### Instruction: CREATE TABLE table_61818 ( "Perpetrator" text, "Date" text, "Year" real, "Location" text, "Country" text, "Killed" real, "Additional Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who went on a rampage in Baghdad? ### Response:
SELECT "Perpetrator" FROM table_61818 WHERE "Location" = 'baghdad'
### Instruction: CREATE TABLE table_55676 ( "Romaji title" text, "Japanese title" text, "Release date" text, "Reference" text, "Oricon" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Oricon has a Romaji title of nakitakunalu? ### Response:
SELECT MAX("Oricon") FROM table_55676 WHERE "Romaji title" = 'nakitakunalu'
### Instruction: CREATE TABLE table_64501 ( "Track" text, "Song Title" text, "Writer(s)" text, "Original Artist" text, "Original Release" real, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original Release date of the Track written by Dallas Frazier? ### Response:
SELECT "Original Release" FROM table_64501 WHERE "Writer(s)" = 'dallas frazier'
### Instruction: CREATE TABLE table_32864 ( "Club" text, "Played" real, "Lost" real, "Drawn" real, "Against" real, "Diff." real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average diff when games played are more than 6? ### Response:
SELECT AVG("Diff.") FROM table_32864 WHERE "Played" > '6'
### Instruction: CREATE TABLE table_56196 ( "Outcome" text, "Date" real, "Championship" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what Championship was the Opponent Jeff Borowiak? ### Response:
SELECT "Championship" FROM table_56196 WHERE "Opponent" = 'jeff borowiak'
### Instruction: CREATE TABLE table_14250 ( "Elector" text, "Place of birth" text, "Cardinalatial title" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed as the Place of Birth for the Elector of Pandolfo? ### Response:
SELECT "Place of birth" FROM table_14250 WHERE "Elector" = 'pandolfo'
### Instruction: CREATE TABLE table_11654169_1 ( population_in_1000__1931_ VARCHAR, voivodeship_separate_city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population in the city of Pomorskie? ### Response:
SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE voivodeship_separate_city = "pomorskie"
### Instruction: CREATE TABLE table_31602 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the venue for notes of 10.93 secs ### Response:
SELECT "Venue" FROM table_31602 WHERE "Notes" = '10.93 secs'
### Instruction: CREATE TABLE table_76471 ( "Round" real, "Selection" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Selection has a Player of jamaar taylor, and a Round larger than 6? ### Response:
SELECT MIN("Selection") FROM table_76471 WHERE "Player" = 'jamaar taylor' AND "Round" > '6'
### Instruction: CREATE TABLE table_55970 ( "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gold has a Nation of united states, and a Total larger than 5? ### Response:
SELECT MIN("Gold") FROM table_55970 WHERE "Nation" = 'united states' AND "Total" > '5'
### Instruction: CREATE TABLE table_204_279 ( id number, "name of place" text, "number\nof\ncounties" number, "principal\ncounty" text, "zip code\nlower" number, "zip code\nupper" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many low zip codes are there in total ? ### Response:
SELECT COUNT("zip code\nlower") FROM table_204_279
### Instruction: CREATE TABLE table_18457 ( "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. -- which affiliation is james h. morrison part of ### Response:
SELECT "Party" FROM table_18457 WHERE "Incumbent" = 'James H. Morrison'
### Instruction: CREATE TABLE table_name_2 ( model_number VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the model number with a release price of $303, and a sSpec number of sr14q(c0)? ### Response:
SELECT model_number FROM table_name_2 WHERE release_price___usd__ = "$303" AND sspec_number = "sr14q(c0)"
### Instruction: CREATE TABLE table_204_235 ( id number, "season" text, "team" text, "country" text, "competition" text, "matches" number, "goals" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many matches did jones kusi asare play in in his first season ? ### Response:
SELECT "matches" FROM table_204_235 ORDER BY "season" LIMIT 1
### Instruction: CREATE TABLE table_name_25 ( home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home in mellon arena at 7:30 pm with a record o 2-5-2? ### Response:
SELECT home FROM table_name_25 WHERE time = "7:30 pm" AND location_attendance = "mellon arena" AND record = "2-5-2"
### Instruction: CREATE TABLE table_46558 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the game where the opponent is listed as @ Indiana Pacers, what was the end record? ### Response:
SELECT "Record" FROM table_46558 WHERE "Opponent" = '@ indiana pacers'
### Instruction: CREATE TABLE table_58751 ( "South West DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of wins that has byes less than 0? ### Response:
SELECT COUNT("Wins") FROM table_58751 WHERE "Byes" < '0'
### Instruction: CREATE TABLE table_74295 ( "Player" text, "Starts" real, "Cuts made" real, "Best finish" text, "Money list rank" real, "Earnings (\u20ac)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cuts did Bernd Wiesberger make? ### Response:
SELECT "Cuts made" FROM table_74295 WHERE "Player" = 'Bernd Wiesberger'
### Instruction: CREATE TABLE table_55707 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Report includes Monaco? ### Response:
SELECT "Report" FROM table_55707 WHERE "Location" = 'monaco'
### Instruction: CREATE TABLE table_12079 ( "Round" text, "Pick" text, "Position" text, "Team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the pick for the game at the College of Kentucky with the team Washington Capitols? ### Response:
SELECT "Pick" FROM table_12079 WHERE "College" = 'kentucky' AND "Team" = 'washington capitols'
### Instruction: CREATE TABLE table_685 ( "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. -- In which district is the incumbent Marcia C. Kaptur? ### Response:
SELECT "District" FROM table_685 WHERE "Incumbent" = 'Marcia C. Kaptur'
### Instruction: CREATE TABLE table_52264 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the away team when played at junction oval? ### Response:
SELECT "Away team" FROM table_52264 WHERE "Venue" = 'junction oval'
### Instruction: CREATE TABLE table_62236 ( "South West DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the wins average when 17 games were lost? ### Response:
SELECT AVG("Wins") FROM table_62236 WHERE "Losses" = '17'
### Instruction: CREATE TABLE table_203_102 ( id number, "event" text, "performance" text, "athlete" text, "nation" text, "place" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what country 's 200 m was the quickest ? ### Response:
SELECT "nation" FROM table_203_102 WHERE "event" = '200 m'
### Instruction: CREATE TABLE table_37166 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day in october was game number 4 with under 3 points? ### Response:
SELECT COUNT("October") FROM table_37166 WHERE "Game" = '4' AND "Points" < '3'
### Instruction: CREATE TABLE table_11526 ( "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 total attendance of the game with Toronto as the visitor team? ### Response:
SELECT COUNT("Attendance") FROM table_11526 WHERE "Visitor" = 'toronto'
### Instruction: CREATE TABLE table_14354 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was there a result of 4-5 and a score of 1-1? ### Response:
SELECT "Venue" FROM table_14354 WHERE "Result" = '4-5' AND "Score" = '1-1'
### Instruction: CREATE TABLE table_73128 ( "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 players have the pick number 166? ### Response:
SELECT COUNT("Player") FROM table_73128 WHERE "Pick #" = '166'
### Instruction: CREATE TABLE table_47626 ( "Year" real, "Winner" text, "Runners-up" text, "Aggregate" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2nd leg for 2004? ### Response:
SELECT "2nd leg" FROM table_47626 WHERE "Year" = '2004'
### Instruction: CREATE TABLE table_66477 ( "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 identifier has 100000 watts as the power? ### Response:
SELECT "Identifier" FROM table_66477 WHERE "Power" = '100000 watts'
### Instruction: CREATE TABLE table_64948 ( "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 lowest number of bronze medals for a nation with fewer than 1 total medal? ### Response:
SELECT MIN("Bronze") FROM table_64948 WHERE "Total" < '1'
### 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. -- how tall -lrb- in meters -rrb- is the tallest building ? ### Response:
SELECT "height" FROM table_204_489 ORDER BY "height" DESC LIMIT 1
### Instruction: CREATE TABLE table_23674 ( "County" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did McCain get 20226 votes? ### Response:
SELECT "County" FROM table_23674 WHERE "McCain#" = '20226'
### Instruction: CREATE TABLE table_62957 ( "Draw" real, "Artist" text, "Song" text, "Percentage" text, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of Draw 1 by Artist Monika Kirovska? ### Response:
SELECT AVG("Place") FROM table_62957 WHERE "Artist" = 'monika kirovska' AND "Draw" < '1'
### Instruction: CREATE TABLE table_204_130 ( 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. -- how many consecutive times is china represented ? ### Response:
SELECT COUNT(*) FROM table_204_130 WHERE "opponent" = 'china'
### Instruction: CREATE TABLE table_203_739 ( 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. -- how many gold medals did the top 3 nations earn altogether ? ### Response:
SELECT SUM("gold") FROM table_203_739 WHERE "rank" <= 3
### Instruction: CREATE TABLE table_4826 ( "Award" text, "Year" real, "Category" text, "Nominated Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What category is the nominated work of cecilie, winner of the robert award? ### Response:
SELECT "Category" FROM table_4826 WHERE "Nominated Work" = 'cecilie' AND "Award" = 'robert award'
### Instruction: CREATE TABLE table_53848 ( "Species" text, "Strain" text, "Type" text, "Base Pairs" real, "Genes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type has an unspecified species and less than 367 genes? ### Response:
SELECT "Type" FROM table_53848 WHERE "Species" = 'unspecified' AND "Genes" < '367'
### Instruction: CREATE TABLE table_42897 ( "Year" real, "Award" text, "Category" text, "Recipient" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the 2010 Kids' Choice Awards? ### Response:
SELECT "Recipient" FROM table_42897 WHERE "Award" = '2010 kids'' choice awards' AND "Result" = 'won'
### Instruction: CREATE TABLE table_16195 ( "Rank" real, "Member Association" text, "Points" text, "Group stage" real, "Play-off" real, "AFC Cup" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Did any team score games that totaled up to 860.5? ### Response:
SELECT "Play-off" FROM table_16195 WHERE "Points" = '860.5'
### Instruction: CREATE TABLE table_5932 ( "Country" text, "Project Name" text, "Year startup" text, "Operator" text, "Peak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country did the project, Bonga SW; Aparo with a shell operator take place? ### Response:
SELECT "Country" FROM table_5932 WHERE "Operator" = 'shell' AND "Project Name" = 'bonga sw; aparo'
### Instruction: CREATE TABLE table_59447 ( "Party" text, "% votes" real, "% change" real, "Seats" real, "Change" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the fewest seats with fewer than 5.4% seats and more than -1 change? ### Response:
SELECT MIN("Seats") FROM table_59447 WHERE "% votes" < '5.4' AND "Change" > '-1'
### Instruction: CREATE TABLE table_32856 ( "Sanctioning" text, "Race Name" text, "Circuit" text, "City/Location" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the Gould Rex Mays Classic 150 occur? ### Response:
SELECT "City/Location" FROM table_32856 WHERE "Race Name" = 'gould rex mays classic 150'
### Instruction: CREATE TABLE table_name_30 ( score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3 2 had what score? ### Response:
SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oilers lead 3–2"
### Instruction: CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number ) CREATE TABLE tags ( index number, id number, tag text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the artist/groups that released only one CD? ### Response:
SELECT artist FROM torrents GROUP BY artist HAVING COUNT(*) = 1
### Instruction: CREATE TABLE table_232458_1 ( population__2010_census_ INTEGER, area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the area is 66.34, what is the minimum (2010 census) population? ### Response:
SELECT MIN(population__2010_census_) FROM table_232458_1 WHERE area__km²_ = "66.34"
### Instruction: CREATE TABLE table_57925 ( "Release format" text, "Country" text, "Label(s)" text, "Cat. no." text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the cat no for the label mute and the standard cd format? ### Response:
SELECT "Cat. no." FROM table_57925 WHERE "Label(s)" = 'mute' AND "Release format" = 'standard cd'
### Instruction: CREATE TABLE table_79353 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins did Cobden have when draws were more than 0? ### Response:
SELECT COUNT("Wins") FROM table_79353 WHERE "Club" = 'cobden' AND "Draws" > '0'
### Instruction: CREATE TABLE table_203_603 ( id number, "service" text, "service id" text, "bit rate" text, "audio channels" text, "description" text, "analogue availability" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long is the bit rate number for gold radio service ? ### Response:
SELECT "bit rate" FROM table_203_603 WHERE "service" = 'gold'