instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_32 ( july VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the July temperature where plant hardiness zone is 2B and January figure is 12/ 23 c (10-9 f)? ### ...
SELECT july FROM table_name_32 WHERE plant_hardiness_zone = "2b" AND january = "−12/−23°c (10-9°f)"
### Instruction: CREATE TABLE table_35954 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tournament with a hard surface and Ruben de Kleijn as the opponent? ###...
SELECT "Tournament" FROM table_35954 WHERE "Surface" = 'hard' AND "Opponent" = 'ruben de kleijn'
### Instruction: CREATE TABLE table_40982 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of Matches for Vits Rimkus with a Rank of less than 3? ### Response:
SELECT AVG("Matches") FROM table_40982 WHERE "Name" = 'vits rimkus' AND "Rank" < '3'
### Instruction: CREATE TABLE table_46194 ( "Date" text, "Venue" text, "Score" text, "Competition" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the FIFA report on October 13, 2007? ### Response:
SELECT "Score" FROM table_46194 WHERE "Report" = 'fifa' AND "Date" = 'october 13, 2007'
### Instruction: CREATE TABLE table_2562572_26 ( population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population in (croatian: stari ednik)? ### Response:
SELECT population__2011_ FROM table_2562572_26 WHERE cyrillic_name_other_names = "Стари Жедник (Croatian: Stari Žednik)"
### Instruction: CREATE TABLE table_77464 ( "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. -- What is the Score of the game with a Record of 31 3...
SELECT "Score" FROM table_77464 WHERE "Record" = '31–37–9'
### Instruction: CREATE TABLE table_44833 ( "Game" text, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of the game with a Score of L 115 118 (OT)? #...
SELECT "Date" FROM table_44833 WHERE "Score" = 'l 115–118 (ot)'
### Instruction: CREATE TABLE table_25348 ( "County" text, "Population" real, "Unemployment Rate" text, "Market Income Per Capita" text, "Poverty Rate" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many counties have a popula...
SELECT COUNT("County") FROM table_25348 WHERE "Population" = '2266'
### Instruction: CREATE TABLE table_55511 ( "Pick" real, "Round" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When parnell dickinson was the player and the rounds were under 7, what's the highest pick...
SELECT MAX("Pick") FROM table_55511 WHERE "Player" = 'parnell dickinson' AND "Round" < '7'
### Instruction: CREATE TABLE table_75692 ( "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 sum of golds for ranks of 6 and totals over 3? ### Response:
SELECT SUM("Gold") FROM table_75692 WHERE "Rank" = '6' AND "Total" > '3'
### Instruction: CREATE TABLE table_36609 ( "Rank" real, "Country" text, "1st place" real, "2nd place" real, "3rd place" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Rank of Denmark County with a Total smaller ...
SELECT MIN("Rank") FROM table_36609 WHERE "Country" = 'denmark' AND "Total" < '1'
### Instruction: CREATE TABLE table_204_694 ( id number, "year" text, "name" text, "date" text, "stages" number, "distance" text, "winner" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many marlboro tours did carlo guie...
SELECT COUNT(*) FROM table_204_694 WHERE "winner" = 'carlo guieb'
### Instruction: CREATE TABLE table_45184 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text, "Competition" text, "Man of the Match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue had a lost 5-4 result...
SELECT "Venue" FROM table_45184 WHERE "Result" = 'lost 5-4'
### Instruction: CREATE TABLE table_22061 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many were in attendance when the game was ...
SELECT MIN("Attendance") FROM table_22061 WHERE "Game site" = 'Arrowhead Stadium'
### Instruction: CREATE TABLE table_40253 ( "Spoofed Title" text, "Actual Title" text, "Writer" text, "Artist" text, "Issue" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which artist has the Spoofed title Miscue 911? ### Respons...
SELECT "Artist" FROM table_40253 WHERE "Spoofed Title" = 'miscue 911'
### Instruction: CREATE TABLE table_8084 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Round, when Event is RITC 89 - Triple Main Event 89? ### Respon...
SELECT "Round" FROM table_8084 WHERE "Event" = 'ritc 89 - triple main event 89'
### Instruction: CREATE TABLE table_58772 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Location, when Opponent is 'Mario Rinaldi'? ...
SELECT "Location" FROM table_58772 WHERE "Opponent" = 'mario rinaldi'
### Instruction: CREATE TABLE table_4419 ( "Pick" text, "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. -- I want the player for NHL team for mighty duck...
SELECT "Player" FROM table_4419 WHERE "NHL team" = 'mighty ducks of anaheim'
### Instruction: CREATE TABLE table_200_12 ( id number, "year" text, "award" text, "category" text, "nominated work" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was prime suspects nominated for the bafta tv award ? ...
SELECT "year" FROM table_200_12 WHERE "nominated work" = 'prime suspect' AND "award" = 'bafta tv award'
### Instruction: CREATE TABLE table_23684 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won mixed doubles when wang yihan...
SELECT "Mixed doubles" FROM table_23684 WHERE "Womens singles" = 'Wang Yihan'
### Instruction: CREATE TABLE table_16066 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Vikings points" real, "Opponents" real, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The game number of ...
SELECT "Record" FROM table_16066 WHERE "Game" = '8'
### Instruction: CREATE TABLE table_35169 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick number for the player playing tackle position, and a round less...
SELECT SUM("Pick") FROM table_35169 WHERE "Position" = 'tackle' AND "Round" < '15'
### Instruction: CREATE TABLE table_76752 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Drawn has a Lost of 2, and Played smaller than 14? ### Respons...
SELECT SUM("Drawn") FROM table_76752 WHERE "Lost" = '2' AND "Played" < '14'
### Instruction: CREATE TABLE table_66506 ( "Debut year" real, "Player" text, "Games" real, "Goals" real, "Years at club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Debut year has a Player of bob hayton, and Games smaller than 2? ### Res...
SELECT AVG("Debut year") FROM table_66506 WHERE "Player" = 'bob hayton' AND "Games" < '2'
### Instruction: CREATE TABLE table_12270 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The event WC Rio De Janeiro with a total of 16 has what as rank points? ### R...
SELECT "Rank points" FROM table_12270 WHERE "Event" = 'wc rio de janeiro' AND "Total" = '16'
### Instruction: CREATE TABLE table_45369 ( "Stage" text, "Winner" text, "General Classification" text, "Mountains Classification" text, "Points Classification" text, "Sprints classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the t...
SELECT "Points Classification" FROM table_45369 WHERE "General Classification" = 'cyril dessel'
### Instruction: CREATE TABLE table_33738 ( "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 carlton as ...
SELECT "Venue" FROM table_33738 WHERE "Home team" = 'carlton'
### Instruction: CREATE TABLE table_203_47 ( id number, "game" number, "date" text, "opponent" text, "location" text, "score" text, "ot" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which date ha...
SELECT "date" FROM table_203_47 ORDER BY "attendance" DESC LIMIT 1
### Instruction: CREATE TABLE table_30205 ( "No." real, "Title" text, "Lyricist" text, "Composer" text, "Arrangement" text, "Sound Engineer" text, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which number was the lyricist ahmed me...
SELECT "No." FROM table_30205 WHERE "Lyricist" = 'Ahmed Metwally'
### Instruction: CREATE TABLE table_24510 ( "Series #" real, "Title" text, "Story #" real, "Artist" text, "Strip numbers" text, "Number of strips" text, "Dates of original publication of strip" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
SELECT "Series #" FROM table_24510 WHERE "Title" = 'The Golden Frog'
### Instruction: CREATE TABLE table_33890 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament was being played on August 11, 1984? ### Respon...
SELECT "Tournament" FROM table_33890 WHERE "Date" = 'august 11, 1984'
### Instruction: CREATE TABLE table_54459 ( "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 team plays against Footsc...
SELECT "Home team" FROM table_54459 WHERE "Away team" = 'footscray'
### Instruction: CREATE TABLE table_19171 ( "Song title" text, "Artist" text, "Language" text, "Decade" text, "Genre" text, "Exportable" text, "Family Friendly" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game allow the 1980s to be e...
SELECT "Exportable" FROM table_19171 WHERE "Decade" = '1980s'
### Instruction: CREATE TABLE table_name_28 ( object_type VARCHAR, apparent_magnitude VARCHAR, declination___j2000__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the object type which has an apparent magnitude more than 10.6 and declination of ...
SELECT object_type FROM table_name_28 WHERE apparent_magnitude > 10.6 AND declination___j2000__ = "°44′07″"
### Instruction: CREATE TABLE table_35423 ( "Name" text, "Innhabitants" real, "Area" real, "Mayor" text, "Party" text, "Municipal code" real, "Language form" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people does the KRF Party p...
SELECT AVG("Innhabitants") FROM table_35423 WHERE "Party" = 'krf'
### Instruction: CREATE TABLE table_38781 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent of the game with 33,628 folks in attendance? ##...
SELECT "Opponent" FROM table_38781 WHERE "Attendance" = '33,628'
### Instruction: CREATE TABLE table_78315 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps did Giancarlo Fisichella do with a grid larger than 15? ### Respon...
SELECT COUNT("Laps") FROM table_78315 WHERE "Driver" = 'giancarlo fisichella' AND "Grid" > '15'
### Instruction: CREATE TABLE table_59867 ( "Atomic property" text, "Helium" text, "Neon" text, "Argon" text, "Krypton" text, "Xenon" text, "Radon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Radon has Atomic property of outer shell...
SELECT "Radon" FROM table_59867 WHERE "Atomic property" = 'outer shell electron configuration'
### Instruction: CREATE TABLE table_12997 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game played after week 4 with 60,658 people in attendance? ##...
SELECT "Date" FROM table_12997 WHERE "Week" > '4' AND "Attendance" = '60,658'
### Instruction: CREATE TABLE table_65298 ( "Human Gene (Protein)" text, "Mouse Ortholog" text, "Yeast Ortholog" text, "Subpathway" text, "GeneCards Entry" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What human gene has a yeast ortholog of RAD26?...
SELECT "Human Gene (Protein)" FROM table_65298 WHERE "Yeast Ortholog" = 'rad26'
### Instruction: CREATE TABLE table_34305 ( "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 name of the tournament played on Jun 17, 1973? #...
SELECT "Tournament" FROM table_34305 WHERE "Date" = 'jun 17, 1973'
### Instruction: CREATE TABLE table_1081 ( "Position" text, "Number" real, "Name" text, "Height" text, "Weight" text, "Class" text, "Hometown" text, "Games\u2191" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the hometown for ventr...
SELECT "Hometown" FROM table_1081 WHERE "Name" = 'Ventrell Jenkins'
### Instruction: CREATE TABLE table_52644 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most laps for grid more than 9 and the driver being jan heyle...
SELECT MAX("Laps") FROM table_52644 WHERE "Grid" > '9' AND "Driver" = 'jan heylen'
### Instruction: CREATE TABLE table_36847 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year that there were 0 wins, team AJS, and under 12 points? ### Response:
SELECT COUNT("Year") FROM table_36847 WHERE "Wins" = '0' AND "Team" = 'ajs' AND "Points" < '12'
### Instruction: CREATE TABLE table_name_47 ( macedonian_population_in_vojvodina VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total 1961 number of the plandi te Macedonian population with a 1981 value greater than 1027? ### Response:
SELECT COUNT(1961) FROM table_name_47 WHERE macedonian_population_in_vojvodina = "plandište" AND 1981 > 1027
### Instruction: CREATE TABLE table_204_388 ( id number, "#" number, "date" text, "visitor" text, "score" text, "home" text, "record" text, "pts" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of points the blackhawk...
SELECT "pts" FROM table_204_388 WHERE "date" = 'march 4'
### Instruction: CREATE TABLE table_980 ( "Year" real, "Team Name" text, "Division" text, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the team finish in the seaso...
SELECT "Regular Season" FROM table_980 WHERE "Playoffs" = 'Divisional Finals'
### Instruction: CREATE TABLE table_41530 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" text, "Province / Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Caps, when Province / Club is DRFC, and when Position is Ce...
SELECT "Caps" FROM table_41530 WHERE "Province / Club" = 'drfc' AND "Position" = 'center'
### Instruction: CREATE TABLE table_26662 ( "Province, Community" text, "Contestant" text, "Age" real, "Height" text, "Hometown" text, "Geographical Regions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old is the person with the height of...
SELECT "Age" FROM table_26662 WHERE "Height" = 'm (ft 3⁄4 in)'
### Instruction: CREATE TABLE table_204_374 ( id number, "event" text, "gold" number, "silver" number, "bronze" number, "total" number, "ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- switzerland won at least 8 bronze metals in how ...
SELECT COUNT("event") FROM table_204_374 WHERE "bronze" >= 8
### Instruction: CREATE TABLE table_2447 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Adriano Buzaid...
SELECT "Date" FROM table_2447 WHERE "Pole Position" = 'Adriano Buzaid'
### Instruction: CREATE TABLE table_25221 ( "Rnd" real, "Date" text, "Race Name" text, "Length" text, "Track" text, "Location" text, "Pole Position" text, "Winning Driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the race name...
SELECT "Race Name" FROM table_25221 WHERE "Rnd" = '11'
### Instruction: CREATE TABLE representative ( Representative_ID VARCHAR, Party VARCHAR ) CREATE TABLE election ( Votes INTEGER, Representative_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of votes of representatives ...
SELECT AVG(T1.Votes) FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE T2.Party = "Republican"
### Instruction: CREATE TABLE table_204_788 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which d...
SELECT "driver" FROM table_204_788 WHERE "points" >= 7
### Instruction: CREATE TABLE table_40504 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What points average has a play...
SELECT AVG("Points") FROM table_40504 WHERE "Played" > '20'
### Instruction: CREATE TABLE table_45357 ( "Team" text, "Tries for" text, "Tries against" text, "Try diff" text, "Points for" text, "Points against" text, "Points diff" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Tries Against, w...
SELECT "Tries against" FROM table_45357 WHERE "Tries for" = '20'
### Instruction: CREATE TABLE table_63036 ( "Player" text, "County" text, "Tally" text, "Total" real, "Matches" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player was from Fermanagh and had an average score of 22? ### ...
SELECT AVG("Average") FROM table_63036 WHERE "Total" = '22' AND "County" = 'fermanagh'
### Instruction: CREATE TABLE table_name_8 ( new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger ...
SELECT new_returning_same_network FROM table_name_8 WHERE retitled_as_same = "same" AND last_aired > 1984
### Instruction: CREATE TABLE table_1981 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the film titled for marcel camus category:a...
SELECT "Film title used in nomination" FROM table_1981 WHERE "Director" = 'Marcel Camus Category:Articles with hCards'
### Instruction: CREATE TABLE table_58158 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most wins for earnings of 130,002 ### Response:
SELECT MAX("Wins") FROM table_58158 WHERE "Earnings ( $ )" = '130,002'
### Instruction: CREATE TABLE table_29621 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the most points scored in a g...
SELECT MAX("Points") FROM table_29621 WHERE "Score" = '1-2'
### Instruction: CREATE TABLE table_32617 ( "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. -- Where did St Kilda play as the ...
SELECT "Venue" FROM table_32617 WHERE "Away team" = 'st kilda'
### Instruction: CREATE TABLE table_26883 ( "Ship" text, "Laid down" text, "Builder" text, "Engine-builder" text, "Launched" text, "Completed" text, "Disposition" text, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the C...
SELECT "Launched" FROM table_26883 WHERE "Ship" = 'Carysfort'
### Instruction: CREATE TABLE table_67333 ( "Club" text, "Australian Marquee" text, "International Marquee" text, "Junior Marquee player" text, "Captain" text, "Vice-Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club captain is Jo...
SELECT "Club" FROM table_67333 WHERE "Captain" = 'john hutchinson'
### Instruction: CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) -- Using valid SQLite, answer the following questions for t...
SELECT Class, AVG(age) FROM captain GROUP BY Class
### Instruction: CREATE TABLE table_77315 ( "Position" real, "Driver / Passenger" text, "Equipment" text, "Bike No" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Equipment that has a Point bigger than 256, and a Position ...
SELECT "Equipment" FROM table_77315 WHERE "Points" > '256' AND "Position" = '3'
### Instruction: CREATE TABLE table_65355 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of picks from the PBA team of purefoods tender juic...
SELECT COUNT("Pick") FROM table_65355 WHERE "PBA team" = 'purefoods tender juicy hotdogs'
### Instruction: CREATE TABLE table_19183 ( "Home (1st leg)" text, "Home (2nd leg)" text, "1st Leg" text, "2nd leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was in 2nd leg when Boca Juniors was in home (1st leg)? ### Re...
SELECT "2nd leg" FROM table_19183 WHERE "Home (1st leg)" = 'Boca Juniors'
### Instruction: CREATE TABLE table_425 ( "State" 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 is the score for interview when the preliminaries...
SELECT "Interview" FROM table_425 WHERE "Preliminaries" = '8.425'
### Instruction: CREATE TABLE table_56088 ( "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. -- How many people attended Juncti...
SELECT SUM("Crowd") FROM table_56088 WHERE "Venue" = 'junction oval'
### Instruction: CREATE TABLE table_204_195 ( id number, "team" text, "home city" text, "stadium" text, "capacity" number, "last season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team other than maccabi tel aviv placed 1st last season ...
SELECT "team" FROM table_204_195 WHERE "team" <> 'maccabi tel aviv' AND "last season" = 1
### Instruction: CREATE TABLE table_38708 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Frequency MHz has a Call sign of w264bg? ...
SELECT COUNT("Frequency MHz") FROM table_38708 WHERE "Call sign" = 'w264bg'
### Instruction: CREATE TABLE table_43032 ( "Maximum Ceiling Temperature" text, "Temperature Rating" text, "Temperature Classification" text, "Color Code (with Fusible Link)" text, "Glass Bulb Color" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
SELECT "Temperature Rating" FROM table_43032 WHERE "Temperature Classification" = 'intermediate'
### Instruction: CREATE TABLE table_68890 ( "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. -- Who won the men's doubles in 1995...
SELECT "Men's doubles" FROM table_68890 WHERE "Year" = '1995'
### Instruction: CREATE TABLE table_12396 ( "English" text, "Crimean Gothic" text, "Bible Gothic" text, "German" text, "Dutch" text, "Icelandic" text, "Swedish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Icelandic word for rai...
SELECT "Icelandic" FROM table_12396 WHERE "English" = 'rain'
### Instruction: CREATE TABLE table_56431 ( "Episode #" text, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the episode # of the episode that aired on April 5, 1998? ...
SELECT "Episode #" FROM table_56431 WHERE "Original airdate" = 'april 5, 1998'
### Instruction: CREATE TABLE table_name_15 ( winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning team of the race on 31 August with Audi as the winning m...
SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "audi" AND winning_driver = "timo scheider" AND date = "31 august"
### Instruction: CREATE TABLE table_19489 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college was the wide receiver whose pick was less than 130.0 picked from? ##...
SELECT "College" FROM table_19489 WHERE "Position" = 'Wide Receiver' AND "Pick #" < '130.0'
### Instruction: CREATE TABLE table_29789_3 ( rank_2012 INTEGER, international_tourism_expenditure_2011 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many countries spent at least $51.0 billion in international tourism in 2012? ### Response:
SELECT MAX(rank_2012) FROM table_29789_3 WHERE international_tourism_expenditure_2011 = "$51.0 billion"
### Instruction: CREATE TABLE table_2850912_7 ( nhl_team VARCHAR, college_junior_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)? ### Respo...
SELECT COUNT(nhl_team) FROM table_2850912_7 WHERE college_junior_club_team = "Newton North High School (USHS-MA)"
### Instruction: CREATE TABLE table_73533 ( "Episode" text, "First broadcast" text, "Seans team" text, "Jasons team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many episodes did Sean's team include Jeremy Clarkson and James...
SELECT COUNT("Episode") FROM table_73533 WHERE "Seans team" = 'Jeremy Clarkson and James McQuillan'
### Instruction: CREATE TABLE table_41301 ( "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament was played on 12 February 2001? ...
SELECT "Tournament" FROM table_41301 WHERE "Date" = '12 february 2001'
### Instruction: CREATE TABLE student ( name VARCHAR, id VARCHAR, semester VARCHAR, YEAR VARCHAR ) CREATE TABLE takes ( name VARCHAR, id VARCHAR, semester VARCHAR, YEAR VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of...
SELECT name FROM student WHERE id IN (SELECT id FROM takes WHERE semester = 'Fall' AND YEAR = 2003)
### Instruction: CREATE TABLE table_name_74 ( viewers__millions_ INTEGER, episode__number VARCHAR, rating VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of million viewers for an episode before episode 5 with a rating/share of 1...
SELECT MIN(viewers__millions_) FROM table_name_74 WHERE rating / SHARE(18 AS –49) = 1.1 / 3 AND episode__number < 5
### Instruction: CREATE TABLE table_19892 ( "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 A when segment B...
SELECT "Segment A" FROM table_19892 WHERE "Segment B" = 'Snowboards'
### Instruction: CREATE TABLE table_11737 ( "Unit" text, "Type" text, "Start construction" text, "First criticality" text, "Electric power" text, "Construction" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the first citicality for electri...
SELECT "First criticality" FROM table_11737 WHERE "Electric power" = '1,380 mw'
### Instruction: CREATE TABLE table_56292 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent in the game with save ||33,723||93 64? ### Response:
SELECT "Opponent" FROM table_56292 WHERE "Save" = '||33,723||93–64'
### Instruction: CREATE TABLE table_10612 ( "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 was the date of the game a...
SELECT "Date" FROM table_10612 WHERE "Venue" = 'princes park'
### Instruction: CREATE TABLE table_6531 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Date of October 25, 1964 involves what record? ...
SELECT "Record" FROM table_6531 WHERE "Date" = 'october 25, 1964'
### Instruction: CREATE TABLE table_name_93 ( circuit VARCHAR, date VARCHAR, winning_team VARCHAR, winning_driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Circuit has the Winning Team of carlin motorsport, and the Winning Driver of oliver...
SELECT circuit FROM table_name_93 WHERE winning_team = "carlin motorsport" AND winning_driver = "oliver turvey" AND date = "24 march"
### Instruction: CREATE TABLE table_68416 ( "Vol." text, "English title" text, "Japanese title" text, "Release date (Japan)" text, "Sony Catalog No." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the English title of ? ### Response:
SELECT "English title" FROM table_68416 WHERE "Japanese title" = '餓狼伝説バトルアーカイブズ2'
### Instruction: CREATE TABLE table_4130 ( "Pick" text, "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 college club team did the Dallas Stars ch...
SELECT "College/junior/club team" FROM table_4130 WHERE "NHL team" = 'Dallas Stars'
### Instruction: CREATE TABLE table_25626 ( "County" text, "Gore %" text, "Gore #" real, "Bush %" text, "Bush #" real, "Others %" text, "Others #" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the couty for others% 5.8 ### Response:
SELECT "County" FROM table_25626 WHERE "Others %" = '5.8'
### Instruction: CREATE TABLE table_22139 ( "English name" text, "Thai name" text, "Abbr." text, "Transcription" text, "Sanskrit word" text, "Zodiac sign" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the abbreviation of the month in the...
SELECT "Abbr." FROM table_22139 WHERE "Zodiac sign" = 'Scorpio'
### Instruction: CREATE TABLE table_45424 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method of resolution when Katsuhisa Fu...
SELECT "Method" FROM table_45424 WHERE "Record" = '0-1'
### Instruction: CREATE TABLE table_50907 ( "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 was the event where justin robbins had a recor...
SELECT "Event" FROM table_50907 WHERE "Record" = '9-4-1'
### Instruction: CREATE TABLE table_203_804 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of mclare...
SELECT COUNT("constructor") FROM table_203_804 WHERE "constructor" = 'mclaren-ford'
### Instruction: CREATE TABLE table_7171 ( "Name" text, "Street address" text, "Years as tallest" text, "Height m / ft" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height m/ft where 207 w. hastings st. is the address? ...
SELECT "Height m / ft" FROM table_7171 WHERE "Street address" = '207 w. hastings st.'
### Instruction: CREATE TABLE table_203_497 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total number of bronze medals sri l...
SELECT "bronze" FROM table_203_497 WHERE "nation" = 'sri lanka'
### Instruction: CREATE TABLE table_name_61 ( sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the Sydney that has Adelaide, Gold Coast, Melbourne, and Auckla...
SELECT sydney FROM table_name_61 WHERE adelaide = "yes" AND gold_coast = "yes" AND melbourne = "yes" AND auckland = "yes"