instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_57617 ( "Serial Title" text, "Year" text, "Chapters" text, "Director" text, "Cast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the cast for director of colbert clark and armand schaefer for burn 'em up b...
SELECT "Cast" FROM table_57617 WHERE "Director" = 'colbert clark and armand schaefer' AND "Serial Title" = 'burn ''em up barnes'
### Instruction: CREATE TABLE table_16749 ( "Rnd" real, "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. ...
SELECT "Pole Position" FROM table_16749 WHERE "Rnd" = '3'
### Instruction: CREATE TABLE table_24900 ( "Code & location" text, "Missile Type" text, "Defense Area" text, "Dates" text, "Control Site condition/owner" text, "Launch Site condition/owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is...
SELECT "Missile Type" FROM table_24900 WHERE "Code & location" = 'M-20 Harbor Drive'
### Instruction: CREATE TABLE table_73101 ( "District" text, "Location" text, "Representative" text, "Cook PVI" text, "2012 election results" text, "Median household income (2011)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2012 ...
SELECT "2012 election results" FROM table_73101 WHERE "Representative" = 'Barbara Lee'
### Instruction: CREATE TABLE table_19783 ( "English gloss" text, "Santee-Sisseton" text, "Yankton-Yanktonai" text, "Northern Lakota" text, "Southern Lakota" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the southern lakota for wak ye a ### ...
SELECT "Southern Lakota" FROM table_19783 WHERE "Yankton-Yanktonai" = 'wakȟáŋyeža'
### Instruction: CREATE TABLE table_36385 ( "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 largest episode number's Net...
SELECT MAX("Episode") FROM table_36385 WHERE "Netflix" = 's05e23'
### Instruction: CREATE TABLE table_11214212_1 ( numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the numer of jamaicans granted british citizenship with naturalisation ...
SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927
### Instruction: CREATE TABLE table_20301 ( "#" real, "Advocate # 1" text, "Advocate # 2" text, "Root of All Evil" text, "Poll winner" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When steroids won the poll, who was a...
SELECT "Advocate # 1" FROM table_20301 WHERE "Poll winner" = 'Steroids'
### Instruction: CREATE TABLE table_32594 ( "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 away side scores 11.10 (76...
SELECT "Away team" FROM table_32594 WHERE "Away team score" = '11.10 (76)'
### Instruction: CREATE TABLE table_42037 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Set 4" text, "Set 5" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has a set 4 of 25-19? ### Res...
SELECT "Date" FROM table_42037 WHERE "Set 4" = '25-19'
### Instruction: CREATE TABLE table_58315 ( "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. -- When did the away team score 12...
SELECT "Date" FROM table_58315 WHERE "Away team score" = '12.14 (86)'
### Instruction: CREATE TABLE table_48533 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Crowd" real, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team which ...
SELECT "Home team" FROM table_48533 WHERE "Venue" = 'win entertainment centre'
### Instruction: CREATE TABLE table_40162 ( "Locale" text, "Skip" text, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Madeleine Dupont's shot pct....
SELECT "Shot Pct." FROM table_40162 WHERE "Skip" = 'madeleine dupont'
### Instruction: CREATE TABLE table_20181 ( "Week" real, "Date" text, "Result" text, "Record" text, "Opponent" text, "Points For" real, "Points Against" real, "First Downs" real, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above...
SELECT "First Downs" FROM table_20181 WHERE "Points Against" = '0'
### Instruction: CREATE TABLE table_66238 ( "State (class)" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date of successor's formal installation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which State (class) has a Successo...
SELECT "State (class)" FROM table_66238 WHERE "Successor" = 'harry f. byrd, jr. (d)'
### Instruction: CREATE TABLE table_24163 ( "University" text, "Nick" text, "University status" real, "Founded" real, "Location" text, "Division" text, "Specialization" text, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ...
SELECT "Specialization" FROM table_24163 WHERE "Website" = 'jstu.edu.bd'
### Instruction: CREATE TABLE table_4045 ( "School" text, "Gender" text, "Age Range" text, "Religious Affiliation" text, "Location" text, "School website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many schools have a website of http://w...
SELECT COUNT("School") FROM table_4045 WHERE "School website" = 'http://www.camp.herts.sch.uk/'
### Instruction: CREATE TABLE table_30378 ( "No. in series" real, "No. in 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 was ...
SELECT "Original air date" FROM table_30378 WHERE "Production code" = '322'
### Instruction: CREATE TABLE table_76325 ( "Episode" text, "First broadcast" text, "Graeme's guest" text, "Jeremy's guest" text, "Votes (%)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Jeremy's Guest, when First Broadcast is '20 March 19...
SELECT "Jeremy's guest" FROM table_76325 WHERE "First broadcast" = '20 march 1998'
### Instruction: CREATE TABLE table_72660 ( "Year" text, "Best Film" text, "Best Director" text, "Best Actor" text, "Best Actress" text, "Best Supporting Actor" text, "Best Supporting Actress" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- N...
SELECT "Year" FROM table_72660 WHERE "Best Supporting Actor" = 'Sammo Hung for Ip Man 2'
### Instruction: CREATE TABLE table_28871 ( "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 candidate(s) ran for election when nathaniel h. cl...
SELECT "Candidates" FROM table_28871 WHERE "Incumbent" = 'Nathaniel H. Claiborne'
### Instruction: CREATE TABLE table_16020 ( "Episode #" real, "Production code" real, "Title" text, "Directed by" text, "Written by" text, "Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the episode # for title 'the yindianapoli...
SELECT "Episode #" FROM table_16020 WHERE "Title" = 'The Yindianapolis 500 / Personality Problem'
### Instruction: CREATE TABLE table_25497 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Location Attendance" FROM table_25497 WHERE "Game" = '41'
### Instruction: CREATE TABLE table_69463 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest attendance when the opponent was the Indians and...
SELECT MAX("Attendance") FROM table_69463 WHERE "Opponent" = 'indians' AND "Record" = '13-4'
### Instruction: CREATE TABLE table_22423 ( "No. in series" text, "Title" text, "Directed By" text, "Written By" text, "air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1008/1009 is the production code how ma...
SELECT COUNT("Directed By") FROM table_22423 WHERE "Production code" = '1008/1009'
### Instruction: CREATE TABLE table_62582 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has money ($) greater than 400, with gene sarazen as th...
SELECT "Score" FROM table_62582 WHERE "Money ( $ )" > '400' AND "Player" = 'gene sarazen'
### Instruction: CREATE TABLE table_27341 ( "Shirt No" real, "Nationality" text, "Player" text, "Birth Date" text, "Height" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the birth date for estonia for spiker and height of ...
SELECT "Birth Date" FROM table_27341 WHERE "Nationality" = 'Estonia' AND "Position" = 'Spiker' AND "Height" = '189'
### Instruction: CREATE TABLE table_15839 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Before 1976 and with 12 points, what chassis did the Ford V8 have? ### Response:
SELECT "Chassis" FROM table_15839 WHERE "Engine" = 'ford v8' AND "Year" < '1976' AND "Points" = '12'
### Instruction: CREATE TABLE table_13500 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the silver when the nation is syria (syr) and gold is more than 0? ...
SELECT SUM("Silver") FROM table_13500 WHERE "Nation" = 'syria (syr)' AND "Gold" > '0'
### Instruction: CREATE TABLE table_43856 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which men's singles has mixed dou...
SELECT "Men's singles" FROM table_43856 WHERE "Mixed doubles" = 'kevin cao melody liang'
### Instruction: CREATE TABLE ARTIST ( Name VARCHAR, ArtistID VARCHAR ) CREATE TABLE ALBUM ( ArtistId VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Please list the name and id of all artists that have at least 3 albums in alphabetical order. ### Resp...
SELECT T2.Name, T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T1.ArtistId HAVING COUNT(*) >= 3 ORDER BY T2.Name
### Instruction: CREATE TABLE table_22348 ( "State (class)" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date of successors formal installation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who vacated his post when his succe...
SELECT "Vacator" FROM table_22348 WHERE "Date of successors formal installation" = 'May 11, 1966'
### Instruction: CREATE TABLE table_49050 ( "Source Version" text, "Target Version" text, "Last Release" text, "License" text, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Target Version, when Last Release is 2009-08-09, 1.2.9? ...
SELECT "Target Version" FROM table_49050 WHERE "Last Release" = '2009-08-09, 1.2.9'
### Instruction: CREATE TABLE table_33661 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
SELECT "Replaced by" FROM table_33661 WHERE "Team" = 'bolton wanderers'
### Instruction: CREATE TABLE table_9302 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Attendance, when Venue is 'A', and when Date is '5 January 2005'? ...
SELECT AVG("Attendance") FROM table_9302 WHERE "Venue" = 'a' AND "Date" = '5 january 2005'
### Instruction: CREATE TABLE table_56733 ( "Edition" real, "Zone" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Partner" text, "Opponents" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the...
SELECT "Zone" FROM table_56733 WHERE "Against" = 'estonia'
### Instruction: CREATE TABLE table_51603 ( "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 driver went 14 rounds with a 193 Chassis?...
SELECT "Driver" FROM table_51603 WHERE "Chassis" = '193' AND "Rounds" = '14'
### Instruction: CREATE TABLE table_204_30 ( id number, "year built" text, "works number" number, "wheel arr." text, "gauge" text, "original owner" text, "name" text, "current location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provid...
SELECT "original owner" FROM table_204_30 GROUP BY "original owner" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_39209 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Height m ( ft )" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Frequency M...
SELECT "Frequency MHz" FROM table_39209 WHERE "City of license" = 'trinidad, colorado'
### Instruction: CREATE TABLE table_67477 ( "Party" text, "Party List votes" real, "Vote percentage" text, "Total Seats" real, "Seat percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of party list votes for a vote percent...
SELECT SUM("Party List votes") FROM table_67477 WHERE "Total Seats" = '0' AND "Vote percentage" = '2.6%'
### Instruction: CREATE TABLE table_850 ( "Rnd" real, "Circuit" text, "GTO Winning Team" text, "GTU Winning Team" text, "TO Winning Team" text, "TU Winning Team" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the GTU ...
SELECT "GTU Winning Team" FROM table_850 WHERE "TO Winning Team" = 'Steve Ross'
### Instruction: CREATE TABLE table_54908 ( "From" text, "Adult Rate" text, "Development Rate" text, "16-17 Year Olds Rate" text, "Apprentice Rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the rate for 16-17 year olds 3.40? ### Resp...
SELECT "From" FROM table_54908 WHERE "16-17 Year Olds Rate" = '£3.40'
### Instruction: CREATE TABLE table_46748 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To par of the T4 Place Player with a Score of 72-69-73=214? ### Response:
SELECT "To par" FROM table_46748 WHERE "Place" = 't4' AND "Score" = '72-69-73=214'
### Instruction: CREATE TABLE table_203_498 ( id number, "first issued" text, "design" text, "slogan" text, "serial format" text, "serials issued" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the next design year after 1967 h...
SELECT "serial format" FROM table_203_498 WHERE "first issued" > 1967 ORDER BY "first issued" LIMIT 1
### Instruction: CREATE TABLE table_203_273 ( id number, "name" text, "japanese" text, "distance\n(km)" number, "connections" text, "location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which has the most distance , hattori or kibitsu ? ##...
SELECT "name" FROM table_203_273 WHERE "name" IN ('hattori', 'kibitsu') ORDER BY "distance\n(km)" DESC LIMIT 1
### Instruction: CREATE TABLE table_22996 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- h...
SELECT COUNT("Directed by") FROM table_22996 WHERE "Title" = 'Dead Inside'
### Instruction: CREATE TABLE table_36427 ( "NTFA Div 1" 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 byes associated with fewer than 8 wins and...
SELECT COUNT("Byes") FROM table_36427 WHERE "Draws" < '1' AND "Wins" < '8'
### Instruction: CREATE TABLE table_56389 ( "Runs" text, "Balls" text, "Batsman" text, "Versus" text, "Venue" text, "Date" text, "Strike Rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many runs were scored when the strike rate was ...
SELECT "Runs" FROM table_56389 WHERE "Strike Rate" = '101.42'
### Instruction: CREATE TABLE table_48002 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Place, when Score is '71-71-69-71=282'? ### Response:
SELECT "Place" FROM table_48002 WHERE "Score" = '71-71-69-71=282'
### Instruction: CREATE TABLE table_52328 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first set with a third set o...
SELECT "Set 1" FROM table_52328 WHERE "Set 3" = '25–21'
### Instruction: CREATE TABLE table_23144 ( "County" text, "Starky #" real, "Starky %" text, "Hancock #" real, "Hancock %" text, "McCain #" real, "McCain %" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the least t...
SELECT MIN("Total") FROM table_23144 WHERE "County" = 'Gila'
### Instruction: CREATE TABLE table_4214 ( "Skip (Club)" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 6 is the...
SELECT "PA" FROM table_4214 WHERE "W" = '6'
### Instruction: CREATE TABLE table_72430 ( "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's the district with candidates being harry lane en...
SELECT "District" FROM table_72430 WHERE "Candidates" = 'Harry Lane Englebright (R) Unopposed'
### Instruction: CREATE TABLE table_77884 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which date was the 2006 FIFA World Cup Qualification in Manama, Bahrain? ### Respon...
SELECT "Date" FROM table_77884 WHERE "Venue" = 'manama, bahrain' AND "Competition" = '2006 fifa world cup qualification'
### Instruction: CREATE TABLE table_57718 ( "Name" text, "Election Year" real, "Party" text, "Birth State" text, "Resident State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the birth state of Charles Cotesworth Pinckney who was elected ...
SELECT "Birth State" FROM table_57718 WHERE "Name" = 'charles cotesworth pinckney' AND "Election Year" = '1808'
### Instruction: CREATE TABLE table_74117 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
SELECT COUNT("Manner of departure") FROM table_74117 WHERE "Outgoing manager" = 'Antonio Gómez'
### Instruction: CREATE TABLE table_48733 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Team" FROM table_48733 WHERE "Record" = '32–50'
### Instruction: CREATE TABLE table_3539 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many differen...
SELECT COUNT("Kickoff") FROM table_3539 WHERE "Opponent" = 'at Rhein Fire'
### Instruction: CREATE TABLE table_31491 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What civil paris appears when Ballynamona is the townland with 126...
SELECT "Civil parish" FROM table_31491 WHERE "Townland" = 'Ballynamona' AND "Area( acres )" = '126'
### Instruction: CREATE TABLE table_49687 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Gold, when Nation is Yugoslavia, and when Silver is gre...
SELECT AVG("Gold") FROM table_49687 WHERE "Nation" = 'yugoslavia' AND "Silver" > '0'
### Instruction: CREATE TABLE table_74270 ( "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. -- What position does that draft pick play from ...
SELECT "Position" FROM table_74270 WHERE "College/junior/club team" = 'Lake Superior State University (NCAA)'
### Instruction: CREATE TABLE table_61468 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Playing against Chelmsford City on 15 November 1986, who was the home team? ### Resp...
SELECT "Home team" FROM table_61468 WHERE "Date" = '15 november 1986' AND "Away team" = 'chelmsford city'
### Instruction: CREATE TABLE table_50072 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a Streak of loss 1, and a Score of 110 111? ### Response:
SELECT "Game" FROM table_50072 WHERE "Streak" = 'loss 1' AND "Score" = '110–111'
### Instruction: CREATE TABLE table_17520 ( "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 was the womens doubles when the m...
SELECT "Womens doubles" FROM table_17520 WHERE "Mixed doubles" = 'Jacco Arends Selena Piek'
### Instruction: CREATE TABLE table_204_860 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the first venue in calende...
SELECT "venue" FROM table_204_860 WHERE "date" = 2012 ORDER BY "date" LIMIT 1
### Instruction: CREATE TABLE table_203_450 ( id number, "team" text, "outgoing manager" text, "manner of departure" text, "date of vacancy" text, "replaced by" text, "date of appointment" text, "position in table" text ) -- Using valid SQLite, answer the following questions for the ta...
SELECT "outgoing manager" FROM table_203_450 ORDER BY "date of appointment" DESC LIMIT 1
### Instruction: CREATE TABLE table_49316 ( "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. -- How many Points have a Home of pittsburgh, and a Sc...
SELECT SUM("Points") FROM table_49316 WHERE "Home" = 'pittsburgh' AND "Score" = '1–7'
### Instruction: CREATE TABLE table_33972 ( "Season" real, "Team" text, "Wins" real, "Losses" real, "Draws" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14? ...
SELECT MIN("Wins") FROM table_33972 WHERE "Season" < '1920' AND "Losses" < '14'
### Instruction: CREATE TABLE table_37792 ( "County" text, "Irish name" text, "County town" text, "Most populous city/town" text, "Province" text, "Region" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- County town of d n laoghaire has the most ...
SELECT "Most populous city/town" FROM table_37792 WHERE "County town" = 'dún laoghaire'
### Instruction: CREATE TABLE table_name_66 ( rank INTEGER, lose VARCHAR, goal_loss VARCHAR, point VARCHAR, draw VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average rank of a player with more than 52 points, fewer than 10 draws, a...
SELECT AVG(rank) FROM table_name_66 WHERE point > 52 AND draw < 10 AND goal_loss < 44 AND lose < 15
### Instruction: CREATE TABLE table_62417 ( "Pick #" real, "Player" text, "Nationality" text, "Position" text, "Team from" text, "League from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has a League from of western hockey leag...
SELECT "Position" FROM table_62417 WHERE "League from" = 'western hockey league' AND "Team from" = 'everett silvertips'
### Instruction: CREATE TABLE table_203_219 ( id number, "no" number, "name" text, "date of birth" text, "height" text, "weight" text, "spike" text, "block" text, "2008 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which playe...
SELECT "name" FROM table_203_219 ORDER BY "height" LIMIT 1
### Instruction: CREATE TABLE table_30739 ( "Region Represented" text, "First Place" real, "Second Place" real, "Third Place" real, "Total Top 3 Placements" real, "First Place Winning Year(s) (if applicable)" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT MAX("Second Place") FROM table_30739 WHERE "Region Represented" = 'Tajikistan'
### Instruction: CREATE TABLE table_name_41 ( best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the best finish when money list rank is n/a, earnings ($) is more tha...
SELECT best_finish FROM table_name_41 WHERE money_list_rank = "n/a" AND earnings___$__ > 0 AND cuts_made > 1
### Instruction: CREATE TABLE table_12324 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the to par at the T5 for the player with a score of 74-69-66=209? ### Response:...
SELECT "To par" FROM table_12324 WHERE "Place" = 't5' AND "Score" = '74-69-66=209'
### Instruction: CREATE TABLE table_54891 ( "Year" real, "Place" text, "Event" text, "Performance" text, "Age (years)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year when the performance is 60.73m and the age (years) is more than 45...
SELECT COUNT("Year") FROM table_54891 WHERE "Performance" = '60.73m' AND "Age (years)" > '45'
### Instruction: CREATE TABLE table_42942 ( "Year" text, "Venue" text, "Champion" text, "Country" text, "Score" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the match won by Willie Hunter at the Royal Liv...
SELECT "Score" FROM table_42942 WHERE "Venue" = 'royal liverpool golf club' AND "Champion" = 'willie hunter'
### Instruction: CREATE TABLE table_68590 ( "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 average points that Centro Asegurador earned with the McLaren M23 chassis? ...
SELECT AVG("Points") FROM table_68590 WHERE "Chassis" = 'mclaren m23' AND "Entrant" = 'centro asegurador'
### Instruction: CREATE TABLE table_25536 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number in the ser...
SELECT MAX("No. in series") FROM table_25536 WHERE "Directed by" = 'Harvey S. Laidman'
### Instruction: CREATE TABLE table_43009 ( "Game" real, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a Team of at phoenix, and a Score of 107-119? #...
SELECT COUNT("Game") FROM table_43009 WHERE "Team" = 'at phoenix' AND "Score" = '107-119'
### Instruction: CREATE TABLE table_14620 ( "Celebrity" text, "Background" text, "Original Team" text, "Hometown" text, "Result" text, "Raised" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much did the Hydra team from Bronx, New York raise...
SELECT "Raised" FROM table_14620 WHERE "Original Team" = 'hydra' AND "Hometown" = 'bronx, new york'
### Instruction: CREATE TABLE table_18600760_15 ( water__sqmi_ VARCHAR, county VARCHAR, geo_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many square miles of water is in Ramsey County with a geo id larger than 3807159460.0? ### Response:
SELECT water__sqmi_ FROM table_18600760_15 WHERE county = "Ramsey" AND geo_id > 3807159460.0
### Instruction: CREATE TABLE table_22069 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT COUNT("Games played") FROM table_22069 WHERE "Points" = '22'
### Instruction: CREATE TABLE table_69298 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the roll number of the school in Aramoho with a...
SELECT "Roll" FROM table_69298 WHERE "Area" = 'aramoho' AND "Decile" = '1'
### Instruction: CREATE TABLE table_204_778 ( id number, "code" number, "county" text, "former province" text, "area (km2)" number, "population\ncensus 2009" number, "capital" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the total...
SELECT SUM("population\ncensus 2009") FROM table_204_778
### Instruction: CREATE TABLE table_name_24 ( week_1 VARCHAR, week_3 VARCHAR, week_8 VARCHAR, week_9 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of Week 1 has a Week 8 of not eligible, and a Week 9 of no nominations, and a Week 3 of cyri...
SELECT week_1 FROM table_name_24 WHERE week_8 = "not eligible" AND week_9 = "no nominations" AND week_3 = "cyril"
### Instruction: CREATE TABLE table_57984 ( "Block A" text, "Ryuji Hijikata" text, "Shuji Kondo" text, "MAZADA" text, "El Samurai" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the MAZADA for El Samurai of mazada (16:22) ### Response:
SELECT "MAZADA" FROM table_57984 WHERE "El Samurai" = 'mazada (16:22)'
### Instruction: CREATE TABLE table_34114 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total is the highest one that has a Gold of 1, and a Nation of czecho...
SELECT MAX("Total") FROM table_34114 WHERE "Gold" = '1' AND "Nation" = 'czechoslovakia'
### Instruction: CREATE TABLE table_36994 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance (Away)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least attendance with venue of away on 24 august 2007 ### Response:
SELECT MIN("Attendance (Away)") FROM table_36994 WHERE "Venue" = 'away' AND "Date" = '24 august 2007'
### Instruction: CREATE TABLE table_13217 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To par of the T6 Place Player with a Score of 68-69-70=207? ### Response:
SELECT "To par" FROM table_13217 WHERE "Place" = 't6' AND "Score" = '68-69-70=207'
### Instruction: CREATE TABLE table_56270 ( "Driver" text, "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the entrant when the engine is talbot l6 and the driver is...
SELECT "Entrant" FROM table_56270 WHERE "Engine" = 'talbot l6' AND "Driver" = 'pierre levegh'
### Instruction: CREATE TABLE table_67656 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has a Date of 16 february 2003? ...
SELECT "Opponent" FROM table_67656 WHERE "Date" = '16 february 2003'
### Instruction: CREATE TABLE table_63159 ( "Source" text, "Date" text, "Jody Wagner" text, "Pat Edmonson" text, "Michael Signer" text, "Rich Savage" text, "Jon Bowerbank" text, "Undecided" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
SELECT "Date" FROM table_63159 WHERE "Michael Signer" = '4%'
### Instruction: CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Visualize ...
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY AVG(age) DESC
### Instruction: CREATE TABLE table_69589 ( "Model" text, "Graded Hammer (Non GH3)" text, "Graded Hammer Three (GH3)" text, "Natural Wood Keyboard" text, "Synthetic Ivory Keytops" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is Natural Wood ...
SELECT "Natural Wood Keyboard" FROM table_69589 WHERE "Model" = 'clps306'
### Instruction: CREATE TABLE table_203_727 ( id number, "year" number, "miss northern ireland" text, "hometown" text, "placement at miss world" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which town in ireland is home to the mo...
SELECT "hometown" FROM table_203_727 GROUP BY "hometown" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_38533 ( "Game" text, "Date" text, "Referee" text, "Umpire" text, "Head Linesman" text, "Line Judge" text, "Field Judge" text, "Back Judge" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game was ...
SELECT "Game" FROM table_38533 WHERE "Date" = '14 january 1973'
### Instruction: CREATE TABLE table_63523 ( "Club" text, "League" text, "Sport" text, "Venue" text, "Established" real, "Capacity" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the league established before 1930 with the rayo vallecano ...
SELECT "League" FROM table_63523 WHERE "Established" < '1930' AND "Club" = 'rayo vallecano'
### Instruction: CREATE TABLE table_25210 ( "District name" text, "Dist. ID" real, "ISD" text, "County" text, "Authorizing agency" text, "Date opened" text, "Services" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the district name is th...
SELECT "Authorizing agency" FROM table_25210 WHERE "District name" = 'Academy of Flint'
### Instruction: CREATE TABLE table_47858 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did jerry hackenbruck come from who had an overall pick le...
SELECT "College" FROM table_47858 WHERE "Overall" < '344' AND "Name" = 'jerry hackenbruck'