instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_45737 ( "Season" text, "Team 1" text, "Score" text, "Team 2" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Team 2 of Yokohama F. Marinos in the n/a venue had what score? ### Response:
SELECT "Score" FROM table_45737 WHERE "Venue" = 'n/a' AND "Team 2" = 'yokohama f. marinos'
### Instruction: CREATE TABLE table_204_630 ( id number, "no" number, "date" text, "race" text, "track" text, "winner" text, "reports" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is longer the carolina or kentucky race ? ### Respo...
SELECT "race" FROM table_204_630 WHERE "race" IN ('carolina 500', 'kentucky') ORDER BY "no" DESC LIMIT 1
### Instruction: CREATE TABLE table_8790 ( "Margin" real, "Score" text, "Winning Team" text, "Losing Team" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Margin, when Date is 19 July 2008 (Round 19)? ### ...
SELECT "Margin" FROM table_8790 WHERE "Date" = '19 july 2008 (round 19)'
### Instruction: CREATE TABLE table_47960 ( "Cycle" real, "Premiere date" text, "Winner" text, "Runner-up" text, "Number of contestants" text, "International Destinations" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Number of Contesta...
SELECT "Number of contestants" FROM table_47960 WHERE "International Destinations" = 'london lisbon'
### Instruction: CREATE TABLE table_41966 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest attendance when the Atlanta Falcons played for...
SELECT MAX("Attendance") FROM table_41966 WHERE "Opponent" = 'atlanta falcons' AND "Week" < '10'
### Instruction: CREATE TABLE table_8807 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ...
SELECT "Manufacturer" FROM table_8807 WHERE "Quantity made" = '6' AND "Quantity preserved" = '1'
### Instruction: CREATE TABLE table_66006 ( "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 highest number of bronze medals of west germany, which has more...
SELECT MAX("Bronze") FROM table_66006 WHERE "Nation" = 'west germany' AND "Gold" > '0'
### Instruction: CREATE TABLE table_80209 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which engine did dr ing f porsche kg use with the porsche rsk (f2) chassis? ### Respons...
SELECT "Engine" FROM table_80209 WHERE "Entrant" = 'dr ing f porsche kg' AND "Chassis" = 'porsche rsk (f2)'
### Instruction: CREATE TABLE table_70365 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0 ### Res...
SELECT SUM("Silver") FROM table_70365 WHERE "Total" > '1' AND "Bronze" = '1' AND "Gold" < '0'
### Instruction: CREATE TABLE table_49368 ( "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. -- What is Home Team, when Date is '13 March 1985', and when Tie No is '1'? ### Respons...
SELECT "Home team" FROM table_49368 WHERE "Date" = '13 march 1985' AND "Tie no" = '1'
### Instruction: CREATE TABLE table_42882 ( "Name" text, "GP-GS" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest gain with an 18 long, and a loss less than 191? ### Respons...
SELECT MIN("Gain") FROM table_42882 WHERE "Long" = '18' AND "Loss" < '191'
### Instruction: CREATE TABLE table_71521 ( "Team" text, "Car(s)" text, "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 is the Driver on Bob Keselow...
SELECT "Driver(s)" FROM table_71521 WHERE "Owner(s)" = 'bob keselowski'
### Instruction: CREATE TABLE table_29824 ( "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_29824 WHERE "Date" = 'November 25'
### Instruction: CREATE TABLE table_16692 ( "Rd." real, "Grand Prix" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provide...
SELECT "Date" FROM table_16692 WHERE "Location" = 'Jerez'
### Instruction: CREATE TABLE table_56105 ( "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. -- Which week has a resu...
SELECT "Week" FROM table_56105 WHERE "Result" = 'l 24-10'
### Instruction: CREATE TABLE table_45120 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT MIN("Game") FROM table_45120 WHERE "Date" = 'april 25'
### Instruction: CREATE TABLE table_66333 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the Cage Combat Fighting Champ...
SELECT "Record" FROM table_66333 WHERE "Event" = 'cage combat fighting championships: mayhem'
### Instruction: CREATE TABLE table_80420 ( "Year" text, "Carries" real, "Rushing Yards" real, "Average" real, "Touchdowns" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of carries associated with 80 points and fe...
SELECT SUM("Carries") FROM table_80420 WHERE "Points" = '80' AND "Touchdowns" < '16'
### Instruction: CREATE TABLE table_32554 ( "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 saw a crowd larger t...
SELECT "Venue" FROM table_32554 WHERE "Crowd" > '29,840'
### Instruction: CREATE TABLE table_18749 ( "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 "Game" FROM table_18749 WHERE "Record" = '29–3'
### Instruction: CREATE TABLE table_name_13 ( current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team does tariq kirksay, a guard who is taller than 1.8M and born ...
SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" AND year_born < 1982 AND player = "tariq kirksay"
### Instruction: CREATE TABLE table_47282 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the tournament where the score was 1 6, 6 3, 3 6? ###...
SELECT "Tournament" FROM table_47282 WHERE "Score" = '1–6, 6–3, 3–6'
### Instruction: CREATE TABLE table_name_16 ( area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area of the parish with a population larger than 1,172 and a census ranking of 1,871 of 5,008? ...
SELECT COUNT(area_km_2) FROM table_name_16 WHERE census_ranking = "1,871 of 5,008" AND population > 1 OFFSET 172
### Instruction: CREATE TABLE table_76105 ( "Features" text, "Foundation" text, "Standard" text, "Enterprise" text, "Datacenter" text, "Itanium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Datacenter for the Memory modules: hot ad...
SELECT "Datacenter" FROM table_76105 WHERE "Itanium" = 'yes' AND "Features" = 'memory modules: hot addition'
### Instruction: CREATE TABLE table_57393 ( "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. -- Which home team had a score of ...
SELECT "Home team" FROM table_57393 WHERE "Home team score" = '10.8 (68)'
### Instruction: CREATE TABLE table_204_697 ( id number, "song" text, "artist(s)" text, "concert" number, "film" number, "1978 album" number, "2002 album" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which artist has the most album ###...
SELECT "artist(s)" FROM table_204_697 GROUP BY "artist(s)" ORDER BY SUM("1978 album") DESC LIMIT 1
### Instruction: CREATE TABLE table_name_18 ( year INTEGER, crowd VARCHAR, winners VARCHAR, season_result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest year than hawthorn won with a season result of preliminary finalist and a crow...
SELECT MAX(year) FROM table_name_18 WHERE winners = "hawthorn" AND season_result = "preliminary finalist" AND crowd < 27 OFFSET 407
### Instruction: CREATE TABLE table_57468 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text, "3rd Member" text, "3rd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 3rd Party in th...
SELECT "3rd Party" FROM table_57468 WHERE "Election" = '1922'
### Instruction: CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) -- Using valid SQLite, answer the fol...
SELECT Country, COUNT(*) FROM climber GROUP BY Country ORDER BY Country
### Instruction: CREATE TABLE table_203_148 ( id number, "date" text, "name" text, "nationality" text, "tonnage\n(grt)" number, "fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first vessel sunk in may 1940 ? ### Response:
SELECT "name" FROM table_203_148 WHERE "date" = 1940 AND "date" = 5 ORDER BY "date" LIMIT 1
### Instruction: CREATE TABLE table_25220821_3 ( rider VARCHAR, thurs_3_june VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders? ### Response:
SELECT rider FROM table_25220821_3 WHERE thurs_3_june = "20' 27.93 110.615mph"
### Instruction: CREATE TABLE table_37038 ( "Rank" real, "Island's Name" text, "Area (sqmi)" real, "Area (km 2 )" real, "Location" text, "Population (2000)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total area of Kruzof island? ...
SELECT COUNT("Area (km 2 )") FROM table_37038 WHERE "Island's Name" = 'kruzof island'
### Instruction: CREATE TABLE table_9517 ( "Party" text, "Leader" text, "Seats" text, "% of seats" text, "First Pref votes" text, "% FPv" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the First Pref Votes where the Leader is n/a and the...
SELECT "First Pref votes" FROM table_9517 WHERE "Leader" = 'n/a' AND "Party" = 'independent'
### Instruction: CREATE TABLE table_46681 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponents, when Partner is Vitalia D...
SELECT "Opponents" FROM table_46681 WHERE "Partner" = 'vitalia diatchenko'
### Instruction: CREATE TABLE table_21453 ( "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 "High assists" FROM table_21453 WHERE "Date" = 'April 7'
### Instruction: CREATE TABLE table_14886 ( "Rider" text, "Years active" text, "Races" real, "Wins" real, "2nd pl." real, "3rd pl." real, "Titles." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the number of wins for race...
SELECT SUM("Wins") FROM table_14886 WHERE "3rd pl." < '0'
### Instruction: CREATE TABLE table_204_421 ( id number, "name" text, "nationality" text, "position" text, "spartak career" text, "appearances" number, "goals" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- baranov has played from 2004 to ...
SELECT "nationality" FROM table_204_421 WHERE "name" = 'vasili baranov'
### Instruction: CREATE TABLE table_48534 ( "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 away team had a 103-94 ...
SELECT "Away team" FROM table_48534 WHERE "Score" = '103-94'
### Instruction: CREATE TABLE table_59783 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 plac...
SELECT "To par" FROM table_59783 WHERE "Score" < '67' AND "Place" = 't1' AND "Player" = 'tiger woods'
### Instruction: CREATE TABLE table_35782 ( "Rank" real, "Airport" text, "Metropolitan area" text, "Passengers" real, "Carriers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Metropolitan area has Passengers larger than 130,903, and a Rank of...
SELECT "Metropolitan area" FROM table_35782 WHERE "Passengers" > '130,903' AND "Rank" = '4'
### Instruction: CREATE TABLE table_76732 ( "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 Round is the highest one that has a Pick smaller than 10, and a N...
SELECT MAX("Round") FROM table_76732 WHERE "Pick" < '10' AND "Name" = 'tory nixon'
### Instruction: CREATE TABLE table_74296 ( "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 earnings values are associated wi...
SELECT COUNT("Earnings (\u20ac)") FROM table_74296 WHERE "Best finish" = 'T38'
### Instruction: CREATE TABLE table_39327 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Partner on February 23, 1997? ...
SELECT "Partner" FROM table_39327 WHERE "Date" = 'february 23, 1997'
### Instruction: CREATE TABLE table_67709 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? ##...
SELECT "Venue" FROM table_67709 WHERE "Date" = '3,4,5,6,7 june 1993'
### Instruction: CREATE TABLE table_72881 ( "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 "High assists" FROM table_72881 WHERE "Date" = 'February 4'
### Instruction: CREATE TABLE table_66252 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Serial numbers" text, "Year made" text, "Quantity made" text, "Quantity preserved" text ) -- Using valid SQLite, answer the following questions for the tabl...
SELECT "Year made" FROM table_66252 WHERE "Quantity made" = '4'
### Instruction: CREATE TABLE table_27211 ( "Player" text, "Minutes" real, "Field Goals" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many field goals do...
SELECT MIN("Field Goals") FROM table_27211 WHERE "Rebounds" = '84'
### Instruction: CREATE TABLE table_16220 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks are there that include the date O...
SELECT COUNT("Week") FROM table_16220 WHERE "Date" = 'October 11, 1969'
### Instruction: CREATE TABLE table_51979 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Transfer window that has a Transfer fee of free, with...
SELECT "Transfer window" FROM table_51979 WHERE "Transfer fee" = 'free' AND "Moving to" = 'derby county'
### Instruction: CREATE TABLE table_5787 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Status of reelected, and a Incumbent of danny marshall iii is what highest elected? ...
SELECT MAX("Elected") FROM table_5787 WHERE "Status" = 'reelected' AND "Incumbent" = 'danny marshall iii'
### Instruction: CREATE TABLE table_80078 ( "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. -- Where is the school with state authority that has a rol...
SELECT "Area" FROM table_80078 WHERE "Authority" = 'state' AND "Roll" > '157'
### Instruction: CREATE TABLE table_39409 ( "Eviction No." real, "Nominee" text, "Vote to Save" text, "Vote to Evict" text, "Net vote" text, "Eviction result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Nominee has a Vote to Save of 1.9...
SELECT "Nominee" FROM table_39409 WHERE "Vote to Save" = '1.98%'
### Instruction: CREATE TABLE table_35358 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when points were 36 and points against 489 w...
SELECT "Lost" FROM table_35358 WHERE "Points" = '36' AND "Points against" = '489'
### Instruction: CREATE TABLE table_72157 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par dated may...
SELECT "To par" FROM table_72157 WHERE "Date" = 'May 4, 2003'
### Instruction: CREATE TABLE table_name_43 ( ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front ### Response:
SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"
### Instruction: CREATE TABLE table_43565 ( "Year" text, "Matches" real, "Wins" real, "Losses" real, "No Result" real, "Win %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of wins when there are 14 matches, and the No Result...
SELECT AVG("Wins") FROM table_43565 WHERE "Matches" = '14' AND "No Result" < '0'
### Instruction: CREATE TABLE table_29207 ( "Model" text, "Speed (GHz)" text, "L2 Cache (MB)" real, "L3 Cache (MB)" real, "FSB (MHz)" real, "TDP (W)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different FSB are there for the 7140N m...
SELECT COUNT("FSB (MHz)") FROM table_29207 WHERE "Model" = '7140N'
### Instruction: CREATE TABLE table_21785 ( "Poll Source" text, "Dates administered" text, "Democrat: John Lynch" text, "Republican: Joe Kenney" text, "Lead Margin" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of lead margin for re...
SELECT COUNT("Lead Margin") FROM table_21785 WHERE "Republican: Joe Kenney" = '31%'
### Instruction: CREATE TABLE table_47653 ( "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_47653 WHERE "Team" = 'philadelphia'
### Instruction: CREATE TABLE table_31974 ( "Party" text, "PR seats" real, "District seats" real, "Total Elected 2001" text, "Total Seats" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the highest total PR seats of 48 with a District seat l...
SELECT MAX("Total Seats") FROM table_31974 WHERE "PR seats" = '48' AND "District seats" > '73'
### Instruction: CREATE TABLE table_43153 ( "Week" real, "Date" text, "Time ( PT )" text, "Opponent" text, "Result" text, "Record" text, "Game site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks have September 14, 2008 as the...
SELECT SUM("Week") FROM table_43153 WHERE "Date" = 'september 14, 2008'
### Instruction: CREATE TABLE table_45604 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round did he win rof 29: aftershock in? ### ...
SELECT "Round" FROM table_45604 WHERE "Res." = 'win' AND "Event" = 'rof 29: aftershock'
### Instruction: CREATE TABLE table_11239 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the host team at Louisiana Superdome when the final score was 10-20...
SELECT "Host Team" FROM table_11239 WHERE "Stadium" = 'louisiana superdome' AND "Final Score" = '10-20'
### Instruction: CREATE TABLE table_68414 ( "Club" text, "League" text, "Sport" text, "Venue" text, "Established" real, "Championships" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sport with championships less than 1 and club of erie...
SELECT "Sport" FROM table_68414 WHERE "Championships" < '1' AND "Club" = 'erie bayhawks'
### Instruction: CREATE TABLE table_name_89 ( wins INTEGER, poles VARCHAR, series VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE HIGHEST WINS WITH A SERIES OF BRITISH FORMULA THREE, SEASON 2005, POLES SMALLER THAN 0? ###...
SELECT MAX(wins) FROM table_name_89 WHERE series = "british formula three" AND season = "2005" AND poles < 0
### Instruction: CREATE TABLE table_20358 ( "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 COUNT("High assists") FROM table_20358 WHERE "Team" = 'New Jersey'
### Instruction: CREATE TABLE table_20363 ( "Residence Hall" text, "Sex" text, "Established" real, "Rector" text, "Campus" text, "Capacity" real, "Colors" text, "Mascot" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mascot w...
SELECT "Mascot" FROM table_20363 WHERE "Colors" = 'Green and Navy'
### Instruction: CREATE TABLE table_39400 ( "Year" real, "Champion" text, "Country" text, "Venue" text, "Location" text, "Score" text, "Winner's share ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average winner's share w...
SELECT AVG("Winner's share ( $ )") FROM table_39400 WHERE "Champion" = 'billy casper'
### Instruction: CREATE TABLE table_15334 ( "Representative" text, "Title" text, "Presentation of Credentials" text, "Termination of Mission" text, "Appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Appointed has a Presentation of C...
SELECT "Appointed by" FROM table_15334 WHERE "Presentation of Credentials" = 'november 22, 1990'
### Instruction: CREATE TABLE table_203_156 ( 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 COUNT(*) FROM table_203_156
### Instruction: CREATE TABLE table_18476 ( "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 all the candidates listed in the race where the in...
SELECT "Candidates" FROM table_18476 WHERE "Incumbent" = 'Prince Hulon Preston, Jr.'
### Instruction: CREATE TABLE table_17534 ( "Departure" text, "Going to" text, "Calling at" text, "Arrival" text, "Operator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many trains call at Castor, Overton, Peterborough East and are operated b...
SELECT COUNT("Arrival") FROM table_17534 WHERE "Operator" = 'LNWR' AND "Calling at" = 'Castor, Overton, Peterborough East'
### Instruction: CREATE TABLE table_27302 ( "Team" text, "#" real, "Primary Sponsor" text, "Driver(s)" text, "Listed Owner(s)" text, "Engine" text, "Chassis" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of chassis on the angie's ...
SELECT "Chassis" FROM table_27302 WHERE "Primary Sponsor" = 'Angie''s List'
### Instruction: CREATE TABLE table_22404 ( "Episode" text, "Garfield Episode 1" text, "U.S. Acres Episode" text, "Garfield Episode 2" text, "Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the original airdate for shell sho...
SELECT "Original Airdate" FROM table_22404 WHERE "U.S. Acres Episode" = 'Shell Shocked Sheldon'
### Instruction: CREATE TABLE furniture ( name VARCHAR, Furniture_ID VARCHAR ) CREATE TABLE furniture_manufacte ( price_in_dollar VARCHAR, Furniture_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give me the names and prices of furnitures which s...
SELECT t1.name, t2.price_in_dollar FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID
### Instruction: CREATE TABLE table_15048 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Recipient" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What movie won with a date of 12/11/03 ...
SELECT "Recipient" FROM table_15048 WHERE "Date" = '12/11/03'
### Instruction: CREATE TABLE table_42809 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the Cleveland home game...
SELECT "Date" FROM table_42809 WHERE "Home" = 'cleveland' AND "Record" = '20-8'
### Instruction: CREATE TABLE table_5307 ( "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 Round is the average one that has a Pick # larger than 26, and a...
SELECT AVG("Round") FROM table_5307 WHERE "Pick #" > '26' AND "Position" = 'defensive back'
### Instruction: CREATE TABLE table_24361 ( "Type of Record" text, "Attendance" real, "Date/Year" text, "Stadium" text, "Result/Games" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What record was set when the result/game was equal to 9 games (28,5...
SELECT "Type of Record" FROM table_24361 WHERE "Result/Games" = '9 games (28,595 avg.)'
### Instruction: CREATE TABLE table_36442 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what City was Bulgaria the Opponent with Results of 1:0? ### Response:
SELECT "City" FROM table_36442 WHERE "Results\u00b9" = '1:0' AND "Opponent" = 'bulgaria'
### Instruction: CREATE TABLE table_203_218 ( id number, "pos" number, "class" text, "no" number, "team" text, "drivers" text, "chassis" text, "engine" text, "laps" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- was the team that h...
SELECT (SELECT MAX("laps") FROM table_203_218) > 250
### Instruction: CREATE TABLE table_77099 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of the Player with a Total less than 153 and Year(s) won of 1984...
SELECT "Country" FROM table_77099 WHERE "Total" < '153' AND "Year(s) won" = '1984'
### Instruction: CREATE TABLE table_60652 ( "Mission" text, "Location" text, "Type" text, "Head of Mission" text, "Position" text, "List" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the location when the type is embassy and the head o...
SELECT "Location" FROM table_60652 WHERE "Type" = 'embassy' AND "Head of Mission" = 'josé manuel castillo'
### Instruction: CREATE TABLE table_72071 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player played guard for toronto in 1996-9...
SELECT "Player" FROM table_72071 WHERE "Position" = 'Guard' AND "Years in Toronto" = '1996-97'
### Instruction: CREATE TABLE table_19876 ( "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 is the title of series episo...
SELECT "Segment D" FROM table_19876 WHERE "Series Ep." = '11-05'
### Instruction: CREATE TABLE table_20709 ( "Number in series" real, "Broadcast Order" text, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who d...
SELECT "Directed by" FROM table_20709 WHERE "Title" = 'Tjockare än vatten'
### Instruction: CREATE TABLE table_75519 ( "Rank" real, "# of Titles" real, "School" text, "City" text, "Sport" text, "First" real, "Last" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank number for Los Alamos' girls cr...
SELECT COUNT("Rank") FROM table_75519 WHERE "School" = 'los alamos' AND "Sport" = 'girls cross country'
### Instruction: CREATE TABLE table_21538 ( "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_21538 WHERE "Team" = 'Orlando'
### Instruction: CREATE TABLE table_27852 ( "Settlement" text, "Cyrillic Name Other Names" text, "Type" text, "Population (2011)" real, "Largest ethnic group (2002)" text, "Dominant religion (2002)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
SELECT "Settlement" FROM table_27852 WHERE "Type" = 'town'
### Instruction: CREATE TABLE table_5027 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" real, "2nd (m)" real, "Points" real, "Overall WC points (Rank)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Rank has a 1st (m) of ...
SELECT COUNT("Rank") FROM table_5027 WHERE "1st (m)" = '127'
### Instruction: CREATE TABLE table_69645 ( "Tournament" text, "Date" text, "Surface" text, "Round" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for grass surface for quarterfinal at the nsw building society open tou...
SELECT "Date" FROM table_69645 WHERE "Surface" = 'grass' AND "Round" = 'quarterfinal' AND "Tournament" = 'nsw building society open'
### Instruction: CREATE TABLE table_train_45 ( "id" int, "child_pugh_class" string, "consent" bool, "renal_disease" bool, "hepatic_disease" bool, "intestinal_obstruction" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided ab...
SELECT * FROM table_train_45 WHERE intestinal_obstruction = 1
### Instruction: CREATE TABLE table_36075 ( "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 is the Netflix episode that ...
SELECT "Netflix" FROM table_36075 WHERE "Series Ep." = '6-02'
### Instruction: CREATE TABLE table_8200 ( "Team" text, "Head coach" text, "Team captain" text, "Kitmaker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the shirt sponsor for the team with a head coach of andre schubert...
SELECT "Shirt sponsor" FROM table_8200 WHERE "Kitmaker" = 'puma' AND "Head coach" = 'andre schubert'
### Instruction: CREATE TABLE table_11056 ( "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. -- Which Venue has a crowd larger ...
SELECT "Away team" FROM table_11056 WHERE "Crowd" > '25,000'
### Instruction: CREATE TABLE table_44967 ( "Pollutant" text, "Type" text, "Standard" text, "Averaging Time" text, "Regulatory Citation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the standard when the pollutant is o 3 and averaging time...
SELECT "Standard" FROM table_44967 WHERE "Pollutant" = 'o 3' AND "Averaging Time" = '8-hour'
### Instruction: CREATE TABLE table_55825 ( "Year" real, "Championship" text, "54 holes" text, "Winning score" text, "Margin" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round of 54 holes in which Phil Mickels...
SELECT "54 holes" FROM table_55825 WHERE "Runner(s)-up" = 'phil mickelson'
### Instruction: CREATE TABLE table_29414 ( "Athlete" text, "Event" text, "Round of 32" text, "Round of 16" text, "Quarterfinals" text, "Semifinals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round of 32 for fatih kele ? ### Re...
SELECT "Round of 32" FROM table_29414 WHERE "Athlete" = 'Fatih Keleş'
### Instruction: CREATE TABLE table_64811 ( "Class" text, "Railway number(s)" text, "DRG number(s)" text, "Quantity" real, "Year(s) of manufacture" text, "Axle arrangement ( UIC ) Bauart" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which DRG ...
SELECT "DRG number(s)" FROM table_64811 WHERE "Railway number(s)" = 'xxx'
### Instruction: CREATE TABLE table_name_89 ( declination___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, constellation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the declination of the spiral galaxy Pegasus with 7337 NGC ##...
SELECT declination___j2000__ FROM table_name_89 WHERE object_type = "spiral galaxy" AND constellation = "pegasus" AND ngc_number = "7337"