instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_53792 ( "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 points" FROM table_53792 WHERE "Team" = 'charlotte'
### Instruction: CREATE TABLE table_60975 ( "English name" text, "Chinese name" text, "Year signed" real, "Year separated" text, "Reason for separation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most current year signed for separati...
SELECT MAX("Year signed") FROM table_60975 WHERE "Reason for separation" = '†' AND "Year separated" = '1997'
### Instruction: CREATE TABLE table_11811 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the home team when the home team score is ...
SELECT "Home team" FROM table_11811 WHERE "Home team score" = '6.17 (53)'
### Instruction: CREATE TABLE table_34406 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has a Nationality of canada, and a Player...
SELECT "Position" FROM table_34406 WHERE "Nationality" = 'canada' AND "Player" = 'pat janostin'
### Instruction: CREATE TABLE table_5680 ( "Gauge" text, "Railway" text, "Class" text, "Works no." text, "Year" text, "Builder" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which works number has a class of 15th and year of 1940? ### Respons...
SELECT "Works no." FROM table_5680 WHERE "Class" = '15th' AND "Year" = '1940'
### Instruction: CREATE TABLE table_33222 ( "Country" text, "Currency" text, "Value in Euro" text, "Value in USD" real, "Central Bank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country uses pound sterling with a value higher than 1.33 USD...
SELECT "Country" FROM table_33222 WHERE "Value in USD" > '1.33' AND "Currency" = 'pound sterling'
### Instruction: CREATE TABLE table_25527 ( "Episode #" real, "Prod #" real, "Title" text, "Directed by" text, "Written by" text, "Originalairdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How manu original airdates have 'a cellar full of ...
SELECT COUNT("Originalairdate") FROM table_25527 WHERE "Title" = 'A Cellar Full of Silence'
### Instruction: CREATE TABLE table_2824 ( "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 a...
SELECT "Location Attendance" FROM table_2824 WHERE "Team" = 'Memphis'
### Instruction: CREATE TABLE table_71702 ( "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. -- Name the years when decile was less than 7 for waitoa s...
SELECT "Years" FROM table_71702 WHERE "Decile" < '7' AND "Name" = 'waitoa school'
### Instruction: CREATE TABLE table_19985 ( "Stage" real, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Combination classification" text, "Team classification" text ) -- Using valid SQLite, answer the following questions for t...
SELECT COUNT("General classification") FROM table_19985 WHERE "Team classification" = 'Quick Step'
### Instruction: CREATE TABLE table_203_204 ( id number, "year" number, "film" text, "language" text, "actors" text, "music" text, "banner" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films were directed in the y...
SELECT COUNT("film") FROM table_203_204 WHERE "year" = 1961
### Instruction: CREATE TABLE table_33833 ( "Ship" text, "Built As" text, "Reclassified As" text, "Class" text, "Commissioned\u2013 Decommissioned" text, "NVR link" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where the ship is Dahlgren what i...
SELECT "Built As" FROM table_33833 WHERE "Ship" = 'dahlgren'
### Instruction: CREATE TABLE table_35100 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What incumbent has a re-elected result and first elected larger than 1884? #...
SELECT "Incumbent" FROM table_35100 WHERE "Result" = 're-elected' AND "First elected" > '1884'
### Instruction: CREATE TABLE table_62565 ( "Outcome" text, "Year" real, "Championship" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the opponent in the final john higgins category:articles...
SELECT "Year" FROM table_62565 WHERE "Opponent in the final" = 'john higgins category:articles with hcards'
### Instruction: CREATE TABLE table_15848 ( "Order Year" text, "Manufacturer" text, "Model" text, "Fleet Series (Quantity)" text, "Powertrain (Engine/Transmission)" text, "Fuel Propulsion" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many ...
SELECT COUNT("Manufacturer") FROM table_15848 WHERE "Model" = 'GE40LFR'
### Instruction: CREATE TABLE table_66847 ( "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 loss was against the angels with a 50-31 record? ### Response:...
SELECT "Loss" FROM table_66847 WHERE "Opponent" = 'angels' AND "Record" = '50-31'
### Instruction: CREATE TABLE table_32440 ( "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 is the date of the game at...
SELECT "Date" FROM table_32440 WHERE "Venue" = 'arden street oval'
### Instruction: CREATE TABLE table_18291 ( "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 party with candidates being silvio conte (r)...
SELECT "Party" FROM table_18291 WHERE "Candidates" = 'Silvio Conte (R) Unopposed'
### Instruction: CREATE TABLE table_204_597 ( id number, "main author" text, "no. of patients" number, "duration of follow-up years" number, "linearized rate of infection" text, "actuarial freedom from infective endocarditis" text ) -- Using valid SQLite, answer the following questions for the...
SELECT MIN("duration of follow-up years") FROM table_204_597
### Instruction: CREATE TABLE table_72911 ( "Country" text, "Preliminary" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the swimsuit score for the country with the...
SELECT "Swimsuit" FROM table_72911 WHERE "Average" = '8.848'
### Instruction: CREATE TABLE table_19701 ( "Year" text, "General Election" text, "Seats Won" real, "Change in Seat" real, "% of votes" text, "votes swing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the vote swing for the general el...
SELECT "votes swing" FROM table_19701 WHERE "General Election" = '12th Lok Sabha'
### Instruction: CREATE TABLE table_203_685 ( id number, "no. in\nseries" number, "no. in\nseason" number, "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 were the ...
SELECT COUNT("title") FROM table_203_685 WHERE "original air date" = 11
### Instruction: CREATE TABLE table_70165 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the player for 68-68-75-74=285 ### Response:
SELECT "Player" FROM table_70165 WHERE "Score" = '68-68-75-74=285'
### Instruction: CREATE TABLE table_11251601_2 ( avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA? ### Response:
SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India"
### Instruction: CREATE TABLE table_204_131 ( id number, "tops design code" text, "electrical system" text, "max speed" text, "weight" text, "brakes" text, "route availability" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT "tops design code" FROM table_204_131 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_29968 ( "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 "Outgoing manager" FROM table_29968 WHERE "Replaced by" = 'Thomas Thomasberg'
### Instruction: CREATE TABLE table_14493 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average bronze with a total of 15 and less than 2 gold? ### R...
SELECT AVG("Bronze") FROM table_14493 WHERE "Total" = '15' AND "Gold" < '2'
### Instruction: CREATE TABLE table_59505 ( "School" text, "Suburb/Town" text, "Years" text, "Founded" real, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which website was founded before 1897, and is located in Adaminaby? ### Response:...
SELECT "Website" FROM table_59505 WHERE "Founded" < '1897' AND "Suburb/Town" = 'adaminaby'
### Instruction: CREATE TABLE table_203_875 ( id number, "#" number, "name" text, "birth and death" text, "office started" text, "office ended" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which bishop served between the years of 1846 and 1866...
SELECT "name" FROM table_203_875 WHERE "office started" >= 1846 AND "office ended" <= 1866
### Instruction: CREATE TABLE table_74339 ( "Team" text, "Stadium" text, "Home Games" real, "Average Attendance" real, "Total Attendance" real, "Capacity Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the capacity percentage...
SELECT "Capacity Percentage" FROM table_74339 WHERE "Average Attendance" = '71080'
### Instruction: CREATE TABLE table_8029 ( "Religion" text, "Scheduled Caste" text, "Scheduled Tribe" text, "Other Backward Class" text, "Forward caste" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0....
SELECT "Religion" FROM table_8029 WHERE "Scheduled Tribe" = '0.90%'
### Instruction: CREATE TABLE table_27573848_18 ( points_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the mountains classification is Mathias Frank, and the General Cla...
SELECT points_classification FROM table_27573848_18 WHERE general_classification = "Fabian Cancellara" AND mountains_classification = "Mathias Frank"
### Instruction: CREATE TABLE table_36675 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bronze has a Nation of canada, and a Rank smaller than 6? ### Respo...
SELECT AVG("Bronze") FROM table_36675 WHERE "Nation" = 'canada' AND "Rank" < '6'
### Instruction: CREATE TABLE table_204_929 ( id number, "location" text, "name of mill and\ngrid reference" text, "type" text, "maps" text, "first mention\nor built" text, "last mention\nor demise" number ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT COUNT(*) FROM table_204_929 WHERE "location" = 'cheshunt'
### Instruction: CREATE TABLE table_74814 ( "Rank" real, "Mountain Pass" text, "Elevation" text, "Surface" text, "Route" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Mountain Pass has an Elevation of 10,001 feet 3048 m? ### Response:
SELECT "Mountain Pass" FROM table_74814 WHERE "Elevation" = '10,001 feet 3048 m'
### Instruction: CREATE TABLE table_name_39 ( ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Ship, when Nationality is 'Syria', and when Date is '26 June 1943', and when Tonnage is '80'...
SELECT ship FROM table_name_39 WHERE nationality = "syria" AND date = "26 june 1943" AND tonnage = 80
### Instruction: CREATE TABLE table_44575 ( "Skip" text, "Third" text, "Second" text, "Lead" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT? ### Response:
SELECT "Second" FROM table_44575 WHERE "City" = 'regina' AND "Skip" = 'michelle englot'
### Instruction: CREATE TABLE table_47692 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Laps have a Time of +39.476, and a Grid larger than 11? ### Response:
SELECT AVG("Laps") FROM table_47692 WHERE "Time" = '+39.476' AND "Grid" > '11'
### Instruction: CREATE TABLE table_51893 ( "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 is the score of the away t...
SELECT "Away team score" FROM table_51893 WHERE "Home team" = 'essendon'
### Instruction: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE has_allergy ( stuid number, allergy text ) CREATE TABLE allergy_type ( allergy text, allergytype text ) -- U...
SELECT DISTINCT city_code FROM student
### Instruction: CREATE TABLE table_71805 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome for the Ro...
SELECT "Outcome" FROM table_71805 WHERE "Tournament" = 'rome 2, italy'
### Instruction: CREATE TABLE table_51351 ( "Player" text, "Span" text, "Start" text, "Tries" text, "Conv" text, "Pens" text, "Drop" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on the span of 1992-2000, what was the conv ? ### Response:...
SELECT "Conv" FROM table_51351 WHERE "Span" = '1992-2000'
### Instruction: CREATE TABLE table_31807 ( "Class" text, "Type" text, "No. built (Converted*)" text, "Year built (Converted*)" text, "No. range" text, "Withdrawn" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the year built for number ...
SELECT "Year built (Converted*)" FROM table_31807 WHERE "No. built (Converted*)" = '10'
### Instruction: CREATE TABLE table_name_23 ( english_translation VARCHAR, lyricist_s_ VARCHAR, original_album VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is English Translation, when Lyricist(s) is 'Giorgos Moukidis', and when Original Album is ...
SELECT english_translation FROM table_name_23 WHERE lyricist_s_ = "giorgos moukidis" AND original_album = "ena (new edition)"
### Instruction: CREATE TABLE table_4644 ( "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 is the highest crowd popula...
SELECT MAX("Crowd") FROM table_4644 WHERE "Away team" = 'geelong'
### Instruction: CREATE TABLE table_32534 ( "Week" text, "Kickoff" text, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the kickoff time ...
SELECT "Kickoff" FROM table_32534 WHERE "Week" = 'sb xxxvi'
### Instruction: CREATE TABLE table_56128 ( "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 away team score at...
SELECT "Away team score" FROM table_56128 WHERE "Venue" = 'kardinia park'
### Instruction: CREATE TABLE table_26013618_1 ( nsg_nr INTEGER, date_established VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Nature reserve number was established on 19961220 20.12.1996 ### Response:
SELECT MIN(nsg_nr) FROM table_26013618_1 WHERE date_established = "19961220 20.12.1996"
### Instruction: CREATE TABLE table_55891 ( "Name" text, "Entered office" text, "Left office" text, "Political party" text, "Monarchs served" text, "Birth Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What monarch(s) did Stanley Baldwin ...
SELECT "Monarchs served" FROM table_55891 WHERE "Name" = 'stanley baldwin (1st ministry)'
### Instruction: CREATE TABLE table_77044 ( "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 "Position in table" FROM table_77044 WHERE "Team" = 'morelia'
### Instruction: CREATE TABLE table_23424 ( "Team" text, "Province" text, "Owner(s)" text, "Price" text, "Captain" text, "Head coach" text, "Icon Player" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the head coach of the team with a ...
SELECT "Head coach" FROM table_23424 WHERE "Price" = '$3.22 million'
### Instruction: CREATE TABLE table_39804 ( "Airline" text, "ICAO" text, "IATA" text, "Callsign" text, "Commenced operations" real, "Fleet size" real, "Headquarters" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which ICAO has a Fleet size ...
SELECT "ICAO" FROM table_39804 WHERE "Fleet size" = '2'
### Instruction: CREATE TABLE table_204_70 ( id number, "pick #" number, "nfl team" text, "player" text, "position" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which position between the quarterback and defensive end has the l...
SELECT "position" FROM table_204_70 WHERE "position" IN ('quarterback', 'defensive end') GROUP BY "position" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_28444 ( "Name" text, "Original Club" text, "Stadium" text, "City" text, "Country" text, "Sport" text, "Founded" real, "Reason for foundation with source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
SELECT "Original Club" FROM table_28444 WHERE "Name" = 'Newcastle Falcons'
### Instruction: CREATE TABLE table_24123 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Black Knights points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for result loss for du...
SELECT "Date" FROM table_24123 WHERE "Result" = 'Loss' AND "Opponent" = 'Duke'
### Instruction: CREATE TABLE table_204_763 ( id number, "county" text, "km" number, "intersecting road" text, "notes" text, "coordinates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of km for range road 293,36 street ne ...
SELECT "km" FROM table_204_763 WHERE "intersecting road" = 'range road 293, 36 street ne'
### Instruction: CREATE TABLE table_43618 ( "Developer(s)" text, "Release date" text, "Required OS" text, "Genre" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of 3D game was released between 2008-2011? ### Response:
SELECT "Genre" FROM table_43618 WHERE "Type" = '3d' AND "Release date" = '2008-2011'
### Instruction: CREATE TABLE table_78513 ( "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. -- Tell me the final score for january 9 for cincinnati bengals ### Response...
SELECT "Final Score" FROM table_78513 WHERE "Date" = 'january 9' AND "Host Team" = 'cincinnati bengals'
### Instruction: CREATE TABLE table_204_223 ( id number, "party" text, "previous council" number, "staying councillors" number, "seats up for election" number, "election result" number, "new council" number ) -- Using valid SQLite, answer the following questions for the tables provided abo...
SELECT "party" FROM table_204_223 ORDER BY "staying councillors" DESC LIMIT 1
### Instruction: CREATE TABLE table_34799 ( "Player" text, "Number" real, "Yards" real, "Average" real, "Long" real, "Touchdowns" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Larry Centers' average number when there were less than 600 ...
SELECT AVG("Number") FROM table_34799 WHERE "Player" = 'larry centers' AND "Yards" < '600'
### Instruction: CREATE TABLE table_18506 ( "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 candidate was re-elected in the Louisiana 5 distri...
SELECT "Candidates" FROM table_18506 WHERE "Result" = 'Re-elected' AND "District" = 'Louisiana 5'
### Instruction: CREATE TABLE table_name_74 ( name VARCHAR, league_cup_apps VARCHAR, league_cup_goals VARCHAR, total_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player that has scored more than 0 league cup goals, but has than 13 ...
SELECT name FROM table_name_74 WHERE league_cup_goals > 0 AND total_goals < 13 AND league_cup_apps = "4"
### Instruction: CREATE TABLE table_70689 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Catalog has a label of Alfa records and a date of November 21, 1980? ### Response:
SELECT "Catalog" FROM table_70689 WHERE "Label" = 'alfa records' AND "Date" = 'november 21, 1980'
### Instruction: CREATE TABLE table_75091 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Games have a Score of 2 6, and Points larger than 62? ### R...
SELECT COUNT("Game") FROM table_75091 WHERE "Score" = '2–6' AND "Points" > '62'
### Instruction: CREATE TABLE table_40842 ( "Western Title" text, "Chinese Title" text, "Pinyin" text, "Released Date" text, "Genre" text, "Game Modes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release date for the Chinese title...
SELECT "Released Date" FROM table_40842 WHERE "Chinese Title" = '摸摸瓦力欧制造'
### Instruction: CREATE TABLE table_45689 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Game, when December is greater than 13, and when Score is '5 - 0'? ...
SELECT MIN("Game") FROM table_45689 WHERE "December" > '13' AND "Score" = '5 - 0'
### Instruction: CREATE TABLE table_32321 ( "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 w...
SELECT "Date" FROM table_32321 WHERE "Away team" = 'north melbourne'
### Instruction: CREATE TABLE table_72164 ( "Character" text, "Fate" text, "Actor" text, "First Episode" text, "Final Episode" text, "Duration" text, "Final Episode Count" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the first epbei...
SELECT "First Episode" FROM table_72164 WHERE "Final Episode" = 'Rio'
### Instruction: CREATE TABLE table_58361 ( "Rank" real, "Name" text, "Nation" text, "SP+FS" real, "Points" real, "Places" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name when the nation is soviet union and the points is 185? #...
SELECT "Name" FROM table_58361 WHERE "Nation" = 'soviet union' AND "Points" = '185'
### Instruction: CREATE TABLE table_203_864 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was al espinosa 's total stroke count at t...
SELECT "score" FROM table_203_864 WHERE "player" = 'al espinosa'
### Instruction: CREATE TABLE table_203_200 ( id number, "region" text, "seed" number, "team" text, "coach" text, "finished" text, "final opponent" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- north carolina and unlv each...
SELECT "finished" FROM table_203_200 WHERE "team" = 'north carolina'
### Instruction: CREATE TABLE table_204_703 ( 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 country had the most medals total at the th...
SELECT "nation" FROM table_204_703 ORDER BY "total" DESC LIMIT 1
### Instruction: CREATE TABLE table_203_400 ( id number, "district" text, "vacator" text, "reason for change" text, "successor" text, "date successor\nseated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total number of successors...
SELECT COUNT(*) FROM table_203_400 WHERE "successor" = 'd'
### Instruction: CREATE TABLE table_63600 ( "Date" real, "Single" text, "Backed with" text, "Record label" text, "Format" text, "Other details" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Backed after 2008 with a label of Wild Worl...
SELECT "Backed with" FROM table_63600 WHERE "Record label" = 'wild world' AND "Date" > '2008'
### Instruction: CREATE TABLE table_32388 ( "Player" text, "Home Town" text, "College/Prior" text, "Drafting Team" text, "Graduated" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the player from who graduated from Michigan after 2010? #...
SELECT "Home Town" FROM table_32388 WHERE "Graduated" > '2010' AND "College/Prior" = 'michigan'
### Instruction: CREATE TABLE table_1604 ( "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 a...
SELECT "Team" FROM table_1604 WHERE "Date" = 'March 20'
### Instruction: CREATE TABLE table_58214 ( "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 away team score fo...
SELECT "Away team score" FROM table_58214 WHERE "Venue" = 'mcg'
### Instruction: CREATE TABLE table_26580 ( "Processor" text, "Brand name" text, "Model (list)" text, "Cores" real, "L2 Cache" text, "Socket" text, "TDP" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the model of the processor with a...
SELECT "Model (list)" FROM table_26580 WHERE "TDP" = '5.5 W'
### Instruction: CREATE TABLE table_6647 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of sergei bondarovich, and a Record of 2 0 had what method? ### Response:
SELECT "Method" FROM table_6647 WHERE "Opponent" = 'sergei bondarovich' AND "Record" = '2–0'
### Instruction: CREATE TABLE table_11232 ( "Season" real, "Season Premiere" text, "Season Finale" text, "TV Season" text, "Rank" text, "Viewers (in millions)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2008-2009 season finale? ...
SELECT "Season Finale" FROM table_11232 WHERE "TV Season" = '2008-2009'
### Instruction: CREATE TABLE table_67647 ( "Year" real, "Winner" text, "Winning Hand" text, "Prize Money" text, "Entrants" real, "Runner-Up" text, "Losing Hand" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entrants were there in ...
SELECT COUNT("Entrants") FROM table_67647 WHERE "Year" = '2011'
### Instruction: CREATE TABLE table_203_367 ( id number, "year" text, "driver" text, "constructor" text, "location" text, "report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the next to last winner of the mexican grand prix ? ### R...
SELECT "driver" FROM table_203_367 WHERE "year" <> (SELECT MAX("year") FROM table_203_367) ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_1427 ( "#" real, "Series Sorted" text, "Title" text, "Author" text, "Doctor" text, "Featuring" text, "Released" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the doctor when the author was Gary H...
SELECT "Doctor" FROM table_1427 WHERE "Author" = 'Gary Hopkins Category:Articles with hCards'
### Instruction: CREATE TABLE table_67441 ( "Matches" real, "Wickets" real, "Runs" real, "10WM" real, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least wickets when matches are more than 10 and 10 WM is more than 1 ### Response:...
SELECT MIN("Wickets") FROM table_67441 WHERE "Matches" > '10' AND "10WM" > '1'
### Instruction: CREATE TABLE table_15826 ( "Ranking" real, "Nationality" text, "Name" text, "Years" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average ranking of Saudi Arabia in the years of 2000 ? ### Response:
SELECT AVG("Ranking") FROM table_15826 WHERE "Nationality" = 'saudi arabia' AND "Years" = '2000–'
### Instruction: CREATE TABLE table_14949 ( "Code Name" text, "Function (figure)" text, "Real Name" text, "Birthplace" text, "Serial number" text, "Primary military speciality" text, "Secondary military speciality" text ) -- Using valid SQLite, answer the following questions for the tables...
SELECT "Code Name" FROM table_14949 WHERE "Function (figure)" = 'space pilot'
### Instruction: CREATE TABLE table_69233 ( "Rank" text, "Mine" text, "County" text, "Operator" text, "Capacity (thousands of metric tons)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the capacity of the mine that is operated by Cyprus Am...
SELECT "Capacity (thousands of metric tons)" FROM table_69233 WHERE "Operator" = 'cyprus amax minerals'
### Instruction: CREATE TABLE table_204_786 ( id number, "riding" text, "candidate" text, "gender" text, "residence" text, "occupation" text, "votes" number, "%" number, "rank" text, "biographical notes" text ) -- Using valid SQLite, answer the following questions for the table...
SELECT COUNT("candidate") FROM table_204_786
### Instruction: CREATE TABLE table_24668 ( "Team" text, "Truck(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Listed Owner(s)" text, "Crew Chief" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the drivers for superch...
SELECT "Driver(s)" FROM table_24668 WHERE "Primary Sponsor(s)" = 'Superchips'
### Instruction: CREATE TABLE table_204_341 ( id number, "name in english" text, "name in turkish" text, "area (km2)" text, "depth" text, "location (districts and/or provinces)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where is the largest...
SELECT "location (districts and/or provinces)" FROM table_204_341 ORDER BY "area (km2)" DESC LIMIT 1
### Instruction: CREATE TABLE table_64723 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the tournament with a clay surface and an opponent of Irina Falc...
SELECT "Date" FROM table_64723 WHERE "Surface" = 'clay' AND "Opponent" = 'irina falconi'
### Instruction: CREATE TABLE table_37254 ( "Rank" real, "Stadium" text, "Capacity" real, "City" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank has a Capacity smaller than 12,000, and a Country of united states? ### Resp...
SELECT SUM("Rank") FROM table_37254 WHERE "Capacity" < '12,000' AND "Country" = 'united states'
### Instruction: CREATE TABLE table_28401 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Founding Religious Affiliation" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which institu...
SELECT "Institution" FROM table_28401 WHERE "Nickname" = 'Polar Bears'
### Instruction: CREATE TABLE table_33803 ( "Finish" text, "Race" text, "Distance" text, "Jockey" text, "Time" text, "Grade" text, "Runner up/Winner" text, "Track" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fastest time f...
SELECT "Time" FROM table_33803 WHERE "Race" = 'kentucky derby'
### Instruction: CREATE TABLE table_name_14 ( original_air_date VARCHAR, season_no VARCHAR, series_no VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the show with a series larger than 40, production code smaller...
SELECT original_air_date FROM table_name_14 WHERE series_no > 40 AND production_code < 213 AND season_no > 11
### Instruction: CREATE TABLE table_204_968 ( id number, "squad #" number, "position" text, "player" text, "transferred to" text, "fee" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- lau nim yat and giovane alves de silva where ...
SELECT "transferred to" FROM table_204_968 WHERE "player" = 'lau nim yat'
### Instruction: CREATE TABLE table_32239 ( "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 North Melbourne's scor...
SELECT "Home team score" FROM table_32239 WHERE "Home team" = 'north melbourne'
### Instruction: CREATE TABLE table_51914 ( "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 did the away team score wh...
SELECT "Away team score" FROM table_51914 WHERE "Home team" = 'south melbourne'
### Instruction: CREATE TABLE table_5385 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Before round 7, what is the greatest Pick # for a player that plays de...
SELECT MAX("Pick #") FROM table_5385 WHERE "Position" = 'defensive tackle' AND "Round" < '7'
### Instruction: CREATE TABLE table_54905 ( "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 Crowd has an Away team of...
SELECT SUM("Crowd") FROM table_54905 WHERE "Away team" = 'collingwood'