instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE player ( Player VARCHAR, Years_Played VARCHAR, Team VARCHAR ) CREATE TABLE team ( Team_id VARCHAR, Name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the players and years played for players from team 'Columbu...
SELECT T1.Player, T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew"
### Instruction: CREATE TABLE table_26931 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Wildcats points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all opponents from the 4-4 scoring g...
SELECT "Opponent" FROM table_26931 WHERE "Record" = '4-4'
### Instruction: CREATE TABLE table_61690 ( "Date From" text, "Date To" text, "Position" text, "Name" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the person who plays the GK position and is from the Wolverhampton ...
SELECT "Name" FROM table_61690 WHERE "Position" = 'gk' AND "From" = 'wolverhampton wanderers'
### Instruction: CREATE TABLE table_40588 ( "Result" text, "Record" text, "Opponent" text, "Method" text, "Date" text, "Round" real, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Record, when Date is 199...
SELECT "Record" FROM table_40588 WHERE "Date" = '1996'
### Instruction: CREATE TABLE table_14320 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the attendance with angels opponent for july 9 ### Response:
SELECT "Attendance" FROM table_14320 WHERE "Opponent" = 'angels' AND "Date" = 'july 9'
### Instruction: CREATE TABLE table_19893 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was segment D when segment B...
SELECT "Segment D" FROM table_19893 WHERE "Segment B" = 'Jeans'
### Instruction: CREATE TABLE table_21127 ( "English name" text, "Irish name" text, "Numeral" text, "Reverse" text, "Introduction" text, "Withdrawal" text, "\u00a31 Fraction" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the 6...
SELECT "Introduction" FROM table_21127 WHERE "Numeral" = '6d'
### Instruction: CREATE TABLE table_29013 ( "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. -- Which school did harold duvall attend? ##...
SELECT "College/junior/club team" FROM table_29013 WHERE "Player" = 'Harold Duvall'
### Instruction: CREATE TABLE table_66270 ( "School" text, "Mascot" text, "Location" text, "Enrollment" real, "IHSAA Class" text, "IHSAA Football Class" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What county is Whiteland C...
SELECT "County" FROM table_66270 WHERE "School" = 'whiteland community'
### Instruction: CREATE TABLE table_203_410 ( id number, "game" number, "date" text, "opponent" text, "location" text, "score" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games were played ...
SELECT COUNT("game") FROM table_203_410 WHERE "location" = 'prudential center'
### Instruction: CREATE TABLE table_name_20 ( rna_segment__gene_ INTEGER, protein VARCHAR, size___s_base_pair__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest RNA segment having a protein of vp2 and a base pair size over 2690? ### R...
SELECT MAX(rna_segment__gene_) FROM table_name_20 WHERE protein = "vp2" AND size___s_base_pair__ > 2690
### Instruction: CREATE TABLE table_23616 ( "Divisions" text, "Prize (EUR)" text, "Odds of winning (1in)" text, "Number of winning tickets" real, "In order to win" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many odd of winning have 6th as th...
SELECT "Odds of winning (1in)" FROM table_23616 WHERE "Divisions" = '6th'
### Instruction: CREATE TABLE table_64460 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the ship laid down when it was completed on 3 july 1926...
SELECT "Laid down" FROM table_64460 WHERE "Completed" = '3 july 1926'
### Instruction: CREATE TABLE table_73682 ( "Name" text, "Position" text, "Period" text, "Appearances\u00b9" real, "Goals\u00b9" real, "Nationality\u00b2" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the number of active years for attaqua...
SELECT "Period" FROM table_73682 WHERE "Position" = 'Attaquant'
### Instruction: CREATE TABLE table_79124 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the H/A on 29 july 1992? ### Response:
SELECT "H / A" FROM table_79124 WHERE "Date" = '29 july 1992'
### Instruction: CREATE TABLE table_32137 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the total number for costa rica and rank more than 8 ### Response...
SELECT COUNT("Total") FROM table_32137 WHERE "Nation" = 'costa rica' AND "Rank" > '8'
### Instruction: CREATE TABLE table_33696 ( "Episode Number" real, "Title" text, "Podcast Date" text, "Run time" text, "Historical References" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode that aired on September 25...
SELECT "Title" FROM table_33696 WHERE "Podcast Date" = 'september 25, 2005'
### Instruction: CREATE TABLE table_name_43 ( player VARCHAR, year_s__won VARCHAR, total VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If 1967 is the winning year and a player has a total recorded as wd with a To par under 16, what's...
SELECT player FROM table_name_43 WHERE total = "wd" AND to_par < 16 AND year_s__won = "1967"
### Instruction: CREATE TABLE table_51935 ( "Club" text, "Sport" text, "League" text, "Venue" text, "Established" real, "Championships" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many championships did the team or teams established in 19...
SELECT SUM("Championships") FROM table_51935 WHERE "Established" = '1976'
### Instruction: CREATE TABLE table_30236 ( "Round" text, "Clubs remaining" real, "Clubs involved" real, "Winners from previous round" text, "New entries this round" text, "Leagues entering at this round" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT "Clubs remaining" FROM table_30236 WHERE "Round" = 'Preliminary round'
### Instruction: CREATE TABLE table_19168 ( "State" text, "Highest point" text, "Highest elevation" text, "Lowest point" text, "Lowest elevation" text, "Mean elevation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the lowest point with ...
SELECT "Lowest point" FROM table_19168 WHERE "Highest point" = 'Mount Greylock'
### Instruction: CREATE TABLE table_77339 ( "Call sign" text, "Frequency" text, "City of license" text, "State" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the FCC info for the radio station in West Lafayette, Indiana? ...
SELECT "FCC info" FROM table_77339 WHERE "State" = 'indiana' AND "City of license" = 'west lafayette'
### Instruction: CREATE TABLE table_204_438 ( id number, "year" number, "title" text, "album" text, "us r&b" number, "us pop" number, "us dance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which album was the next one to end up on the u...
SELECT "album" FROM table_204_438 ORDER BY "us dance" DESC LIMIT 1
### Instruction: CREATE TABLE table_46929 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played when 71,060 people a...
SELECT "Game Site" FROM table_46929 WHERE "Attendance" = '71,060'
### Instruction: CREATE TABLE table_76387 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the tournament with olivier dela tre as the opponen...
SELECT "Score" FROM table_76387 WHERE "Opponent in the final" = 'olivier delaître'
### Instruction: CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number ) CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text ) -- Using valid ...
SELECT name FROM actor WHERE age <> 20
### Instruction: CREATE TABLE editor ( Editor_ID int, Name text, Age real ) CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text ) CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int ) -- Using valid SQLite, answer the following q...
SELECT Name, COUNT(Name) FROM editor GROUP BY Name
### Instruction: CREATE TABLE table_name_38 ( longitude VARCHAR, latitude VARCHAR, geo_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the longitude with a latitude of 48.930222 with a Geo ID smaller than 3806755660? ### Response:
SELECT COUNT(longitude) FROM table_name_38 WHERE latitude = 48.930222 AND geo_id < 3806755660
### Instruction: CREATE TABLE table_76812 ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is 1980 when 1979 is 951? ### Response:
SELECT "1980" FROM table_76812 WHERE "1979" = '951'
### Instruction: CREATE TABLE table_16338 ( "Model" text, "RU" real, "Max processors" text, "Processor frequency" text, "Max memory" text, "Max disk capacity" text, "GA Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What max processor ...
SELECT "Max processors" FROM table_16338 WHERE "Max memory" = '256 GB'
### Instruction: CREATE TABLE table_73993 ( "Edition" text, "Year" real, "Host city" text, "Host country" text, "Date" text, "No. of athletes" text, "Nations" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number of athletes for...
SELECT "No. of athletes" FROM table_73993 WHERE "Edition" = '7th'
### Instruction: CREATE TABLE table_51037 ( "Date" text, "Series" text, "Circuit" text, "City / State" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the city/state of the circuit where Russell Ingall Larry Pe...
SELECT "City / State" FROM table_51037 WHERE "Winner" = 'russell ingall larry perkins'
### Instruction: CREATE TABLE table_1310499_1 ( input_splines VARCHAR, tag_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 3rd ratio for tag number 1386-000-017 and input splines of 26? ### Response:
SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = "1386-000-017"
### Instruction: CREATE TABLE table_48199 ( "Player" text, "Nationality" text, "Jersey Number(s)" real, "Position" text, "Years" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is From, when Player is Jackie Robinson Category:Ar...
SELECT "From" FROM table_48199 WHERE "Player" = 'jackie robinson category:articles with hcards'
### Instruction: CREATE TABLE table_name_21 ( lead VARCHAR, season VARCHAR, third VARCHAR, second VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead has a Third of randy ferbey (skip), a Second of scott pfeifer, and a Season of 2009 10? ### ...
SELECT lead FROM table_name_21 WHERE third = "randy ferbey (skip)" AND second = "scott pfeifer" AND season = "2009–10"
### Instruction: CREATE TABLE table_36009 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- After 1983, what was the Position in Seoul, South Korea? ### Response:
SELECT "Position" FROM table_36009 WHERE "Year" > '1983' AND "Venue" = 'seoul, south korea'
### Instruction: CREATE TABLE table_9908 ( "Generation" text, "Birthday" text, "Birthplace" text, "Blood Type" text, "Agency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the agency of the member born on 1998.11.09? ### Response:
SELECT "Agency" FROM table_9908 WHERE "Birthday" = '1998.11.09'
### Instruction: CREATE TABLE table_203_660 ( id number, "county" text, "obama%" text, "obama#" number, "mccain%" text, "mccain#" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which county did mccain have the least amount ...
SELECT "county" FROM table_203_660 ORDER BY "mccain#" LIMIT 1
### Instruction: CREATE TABLE table_30723 ( "Team" text, "Head Coach" text, "Years at School" real, "Overall Record" text, "Record at School" text, "ACC Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record at School of Tom O...
SELECT "Record at School" FROM table_30723 WHERE "Head Coach" = 'Tom O''Brien'
### Instruction: CREATE TABLE table_79473 ( "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 highest draw when the place is less than 3 and the percentage is 30.71%? ###...
SELECT MAX("Draw") FROM table_79473 WHERE "Place" < '3' AND "Percentage" = '30.71%'
### Instruction: CREATE TABLE table_68128 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did the ATS Wheels entrant with an ATS D2 chassis have? ### Response:
SELECT "Points" FROM table_68128 WHERE "Entrant" = 'ats wheels' AND "Chassis" = 'ats d2'
### Instruction: CREATE TABLE table_74910 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Record of 21 29 10 had what total number of points?...
SELECT COUNT("Points") FROM table_74910 WHERE "Record" = '21–29–10'
### Instruction: CREATE TABLE table_204_23 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days held" number, "location" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the ...
SELECT "days held" FROM table_204_23 WHERE "#" = 1
### Instruction: CREATE TABLE table_10955 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the notes for the hypo-meeting tournament in 2012? ### Response:
SELECT "Notes" FROM table_10955 WHERE "Tournament" = 'hypo-meeting' AND "Year" = '2012'
### Instruction: CREATE TABLE table_train_230 ( "id" int, "anemia" bool, "diabetic" string, "lactose_intolerance" bool, "hb" float, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- lactose intolerance ##...
SELECT * FROM table_train_230 WHERE lactose_intolerance = 1
### Instruction: CREATE TABLE table_name_74 ( club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe la...
SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = "11" AND scorer = "joe laidlaw"
### Instruction: CREATE TABLE table_54528 ( "Team" text, "Outgoing Manager" text, "Manner of Departure" text, "Date of vacancy" text, "Replaced By" text, "Position in the table \u2212" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the repl...
SELECT "Replaced By" FROM table_54528 WHERE "Team" = 'racing santander'
### Instruction: CREATE TABLE table_23835213_2 ( undisclosed VARCHAR, wycombe_wanderers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United? ### Response:
SELECT undisclosed FROM table_23835213_2 WHERE "aldershot_town" = "aldershot_town" AND wycombe_wanderers = "Oxford United"
### Instruction: CREATE TABLE table_42297 ( "Office" text, "Democratic ticket" text, "Republican ticket" text, "American Labor ticket" text, "Socialist ticket" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Republican ticket with a Democra...
SELECT "Republican ticket" FROM table_42297 WHERE "Democratic ticket" = 'm. william bray'
### Instruction: CREATE TABLE table_203_151 ( id number, "no." number, "date" text, "tournament" text, "winning score" text, "margin of\nvictory" text, "runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many winning scores wer...
SELECT COUNT(*) FROM table_203_151 WHERE "winning score" > -14
### Instruction: CREATE TABLE table_48824 ( "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. -- For a year that is later than 2002 what is the class...
SELECT "Class Pos." FROM table_48824 WHERE "Year" > '2002'
### Instruction: CREATE TABLE table_203_683 ( id number, "season" text, "league" text, "gold" text, "silver" text, "bronze" text, "winning manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which league won the least number of golds ? ...
SELECT "league" FROM table_203_683 GROUP BY "league" ORDER BY COUNT("gold") LIMIT 1
### Instruction: CREATE TABLE table_204_592 ( id number, "#" number, "title" text, "type" text, "opening\ndate" text, "closing\ndate" text, "performances" number, "comment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which title has t...
SELECT "title" FROM table_204_592 ORDER BY "performances" DESC LIMIT 1
### Instruction: CREATE TABLE table_49024 ( "School Year" text, "Volleyball" text, "Cross Country" text, "Soccer" text, "Tennis" text, "Golf" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Tennis, when School Year is 2004-05? ### Respo...
SELECT "Tennis" FROM table_49024 WHERE "School Year" = '2004-05'
### Instruction: CREATE TABLE table_48525 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which highest overall has a College of idaho, and a Round smaller than ...
SELECT MAX("Overall") FROM table_48525 WHERE "College" = 'idaho' AND "Round" < '1'
### Instruction: CREATE TABLE table_28210383_1 ( no__episode__number_ VARCHAR, directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What numbered episode was directed by greg colton and written by patrick meighan? ### Response...
SELECT no__episode__number_ FROM table_28210383_1 WHERE directed_by = "Greg Colton" AND written_by = "Patrick Meighan"
### Instruction: CREATE TABLE table_77928 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "Team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest pick number for players from ...
SELECT MIN("Pick") FROM table_77928 WHERE "College" = 'king''s (ny)'
### Instruction: CREATE TABLE table_38523 ( "Round" text, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a nationality of Czech Republic and a position o...
SELECT "Player" FROM table_38523 WHERE "Position" = 'right wing' AND "Nationality" = 'czech republic'
### Instruction: CREATE TABLE table_52966 ( "Year" real, "Stage" real, "Category" text, "Start" text, "Finish" text, "Leader at the summit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the leader at the summit for the race in 2005? #...
SELECT "Leader at the summit" FROM table_52966 WHERE "Year" = '2005'
### Instruction: CREATE TABLE table_539 ( "Team" text, "Car(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Owner(s)" text, "Crew Chief" text, "Rounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who drove for team C...
SELECT "Driver(s)" FROM table_539 WHERE "Team" = 'Circle Sport'
### Instruction: CREATE TABLE table_10476 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps have a Time/Retired of +1:35.553? ### Response:
SELECT COUNT("Laps") FROM table_10476 WHERE "Time/Retired" = '+1:35.553'
### Instruction: CREATE TABLE table_11213 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Kickoff [a ]" text, "Game site" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the date tha...
SELECT "Date" FROM table_11213 WHERE "Week" = '9'
### Instruction: CREATE TABLE table_9296 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the sum of the numbers listed under against when currie cup 'b' section was ...
SELECT SUM("Against") FROM table_9296 WHERE "Opposing Team" = 'currie cup "b" section'
### Instruction: CREATE TABLE table_54047 ( "Year" text, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Time" text, "Purse" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a Purse of $83,925? ### Response:
SELECT "Year" FROM table_54047 WHERE "Purse" = '$83,925'
### Instruction: CREATE TABLE table_64708 ( "Group" text, "Name" text, "Nationality" text, "4.00" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Anastasija Reiberger from Germany had what 4.00? ### Response:
SELECT "4.00" FROM table_64708 WHERE "Nationality" = 'germany' AND "Name" = 'anastasija reiberger'
### Instruction: CREATE TABLE table_17364 ( "Country" text, "Preliminaries" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the interview with swimsuit being 9.140 #...
SELECT "Interview" FROM table_17364 WHERE "Swimsuit" = '9.140'
### Instruction: CREATE TABLE table_15779 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the crowd size of 71,789? #...
SELECT "Date" FROM table_15779 WHERE "Attendance" = '71,789'
### Instruction: CREATE TABLE table_21930 ( "Episode #" text, "Season #" real, "Title" text, "Writer(s)" text, "Director" text, "Originalairdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on what date did the episode titled 'A Bright and Sh...
SELECT "Originalairdate" FROM table_21930 WHERE "Title" = 'A Bright and Shiny Future'
### Instruction: CREATE TABLE table_24946 ( "Rank" real, "Athlete" text, "Nation" text, "Olympics" text, "Gold" real, "Silver" real, "Bronze" real, "Total(min. 2 medals)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smalles...
SELECT MIN("Silver") FROM table_24946
### Instruction: CREATE TABLE table_203_644 ( id number, "pos." number, "driver" text, "co-driver" text, "car" text, "time" text, "difference" text, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many points earned by bob ...
SELECT "points" FROM table_203_644 WHERE "driver" = 'bob neyret'
### Instruction: CREATE TABLE table_47983 ( "Match" text, "Date" text, "Location" text, "Lineup" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lineup for match 12 that had a competition of Group S...
SELECT "Lineup" FROM table_47983 WHERE "Competition" = 'group stage' AND "Match" = '12'
### Instruction: CREATE TABLE table_18606 ( "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 is the sitting Representative In the New York 10 po...
SELECT "Incumbent" FROM table_18606 WHERE "District" = 'New York 10'
### Instruction: CREATE TABLE table_34994 ( "Name" text, "Years" text, "Seasons" real, "Lost" real, "Pct." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average percent for the coach from 1905 and more than 7 losses? ### Response:
SELECT AVG("Pct.") FROM table_34994 WHERE "Years" = '1905' AND "Lost" > '7'
### Instruction: CREATE TABLE table_204_400 ( id number, "district" number, "senator" text, "party" text, "caucus" text, "first elected" number, "counties represented" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- number of state senators f...
SELECT COUNT("senator") FROM table_204_400 WHERE "first elected" = 2002
### Instruction: CREATE TABLE table_30309 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is listed under mens singles when the year locatio...
SELECT "Mens Singles" FROM table_30309 WHERE "Year Location" = '2009 Doha'
### Instruction: CREATE TABLE table_66410 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many lanes have a Time of 53.61, and a Rank larger than 3? ### Response:
SELECT SUM("Lane") FROM table_66410 WHERE "Time" = '53.61' AND "Rank" > '3'
### Instruction: CREATE TABLE table_42174 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory on Apr 8, 1979? ### Response:
SELECT "Margin of victory" FROM table_42174 WHERE "Date" = 'apr 8, 1979'
### Instruction: CREATE TABLE table_203_277 ( id number, "entered" number, "wrestler" text, "place" text, "eliminated by" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wrestler junior fatu was eliminated by a total of how many wres...
SELECT "eliminated by" FROM table_203_277 WHERE "wrestler" = 'junior fatu'
### Instruction: CREATE TABLE table_66430 ( "Millewa" text, "Wins" real, "Forfeits" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Losses have a Millewa of nangiloc? ### Response:
SELECT COUNT("Losses") FROM table_66430 WHERE "Millewa" = 'nangiloc'
### Instruction: CREATE TABLE table_204_60 ( id number, "sl no" number, "constituency\nname" text, "constituency\nnumber" number, "member of legislative assembly" text, "political party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which const...
SELECT "constituency\nname" FROM table_204_60 WHERE "constituency\nnumber" = 1
### Instruction: CREATE TABLE table_26957063_3 ( length__aa_ INTEGER, ncbi_accession_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? ### Response:
SELECT MIN(length__aa_) FROM table_26957063_3 WHERE ncbi_accession_number = "CAM15594.1"
### Instruction: CREATE TABLE table_34396 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the Tournament named danny thomas mem...
SELECT "Score" FROM table_34396 WHERE "Tournament" = 'danny thomas memphis classic'
### Instruction: CREATE TABLE table_26574 ( "Processor" text, "Brand name" text, "Model (list)" text, "Cores" real, "L2 Cache" text, "Socket" text, "TDP" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of cores associated w...
SELECT "Cores" FROM table_26574 WHERE "Model (list)" = 'E2xxx'
### Instruction: CREATE TABLE table_29695 ( "Team" text, "Chairman" text, "Head Coach" text, "Captain" text, "Kitmaker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the captain when teh shirt sponsor i...
SELECT "Captain" FROM table_29695 WHERE "Shirt sponsor" = 'N/A'
### Instruction: CREATE TABLE table_52516 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue features essendon at...
SELECT "Venue" FROM table_52516 WHERE "Home team" = 'essendon'
### Instruction: CREATE TABLE table_62820 ( "Location" text, "Year" text, "Champion" text, "Runner-up" text, "Score" text, "Name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name when the runner-up was Sania Mirza Elena Vesnina? ...
SELECT "Name" FROM table_62820 WHERE "Runner-up" = 'sania mirza elena vesnina'
### Instruction: CREATE TABLE table_3065 ( "Round" real, "Date" text, "Country" text, "Circuit" text, "Sprint Winner" text, "Main Winner" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the circuit for france and portugal ...
SELECT "Circuit" FROM table_3065 WHERE "Main Winner" = 'France' AND "Country" = 'Portugal'
### Instruction: CREATE TABLE table_8395 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S? ### Response:
SELECT MIN("Diameter (km)") FROM table_8395 WHERE "Latitude" = '52.0s'
### Instruction: CREATE TABLE table_59457 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Winning driver of mercedes on 22 august? ...
SELECT "Winning driver" FROM table_59457 WHERE "Winning constructor" = 'mercedes' AND "Date" = '22 august'
### Instruction: CREATE TABLE table_22788 ( "Match no." real, "Match Type" text, "Team Europe" text, "Score" text, "Team USA" text, "Progressive Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different scores did Team Europe get ...
SELECT COUNT("Score") FROM table_22788 WHERE "Team Europe" = 'Mika Koivuniemi'
### Instruction: CREATE TABLE table_15756 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which result has a Venue of away, and an Opponent of marbella? ### Response:
SELECT "Result" FROM table_15756 WHERE "Venue" = 'away' AND "Opponent" = 'marbella'
### Instruction: CREATE TABLE table_5891 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a Rank larger than 3 with a speed of 119.838mph? ### Response:
SELECT "Rider" FROM table_5891 WHERE "Rank" > '3' AND "Speed" = '119.838mph'
### Instruction: CREATE TABLE table_name_18 ( sprints_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Sprints classification has the Points classification, Mark Cavendish and ...
SELECT sprints_classification FROM table_name_18 WHERE points_classification = "mark cavendish" AND team_classification = "caisse d'epargne"
### Instruction: CREATE TABLE table_78269 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the retired time on someone who had 43 laps on a grip of 18? ### Respon...
SELECT "Time/Retired" FROM table_78269 WHERE "Laps" = '43' AND "Grid" = '18'
### Instruction: CREATE TABLE table_203_105 ( id number, "name" text, "street address" text, "years as tallest" text, "height\nft (m)" text, "floors" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how tall is it to the top of the ids tower in ...
SELECT "height\nft (m)" FROM table_203_105 WHERE "name" = 'ids tower'
### Instruction: CREATE TABLE table_name_33 ( goals_for VARCHAR, points_1 VARCHAR, drawn VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of goals for when the drawn is less than 7, less than 21 games have been lo...
SELECT COUNT(goals_for) FROM table_name_33 WHERE drawn < 7 AND lost < 21 AND points_1 = "33"
### Instruction: CREATE TABLE table_55953 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where week is greater than 7 and attendance is 66,251 what is the result? ### Respons...
SELECT "Result" FROM table_55953 WHERE "Week" > '7' AND "Attendance" = '66,251'
### Instruction: CREATE TABLE table_25703_2 ( birth_2012 INTEGER, january_december_2012 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the total number of 2012 births for the January December 2012 Tver Oblast region? ### Response:
SELECT MIN(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Tver Oblast"
### Instruction: CREATE TABLE table_53044 ( "Metropolitan Area" text, "Media Market Ranking" real, "Since" real, "MLB Team(s)" text, "NBA Team(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the media market ranking for new york, new york...
SELECT "Media Market Ranking" FROM table_53044 WHERE "Metropolitan Area" = 'new york, new york'
### Instruction: CREATE TABLE table_22596 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is t...
SELECT "Title" FROM table_22596 WHERE "No. in season" = '2'