instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_37526 ( "Type" text, "Numbers" text, "Year built" real, "Quantity built" text, "Power (horsepower)" real, "Max Speed (km/h)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the numbers of the thn unit w...
SELECT "Numbers" FROM table_37526 WHERE "Power (horsepower)" > '220' AND "Type" = 'thn'
### Instruction: CREATE TABLE table_50654 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the venue when the score is 1 goal and the date is october 11, 1997? ### Respo...
SELECT "Venue" FROM table_50654 WHERE "Score" = '1 goal' AND "Date" = 'october 11, 1997'
### Instruction: CREATE TABLE table_1669 ( "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 "Score" FROM table_1669 WHERE "Date" = 'January 18'
### Instruction: CREATE TABLE table_35450 ( "Season" real, "Game" text, "Record" text, "Opponent" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season has a Game of fcs midwest region, and a Score of 40-33? ...
SELECT MAX("Season") FROM table_35450 WHERE "Game" = 'fcs midwest region' AND "Score" = '40-33'
### Instruction: CREATE TABLE table_name_56 ( constellation VARCHAR, declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the constellation for declination for 45 and right ascension of 07h58m #...
SELECT constellation FROM table_name_56 WHERE declination___j2000__ = "°45′" AND right_ascension___j2000__ = "07h58m"
### Instruction: CREATE TABLE table_63627 ( "Rank" real, "Canton" text, "Highest point" text, "Highest elevation" text, "Lowest point" text, "Lowest elevation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank is Vaud with the lowest poin...
SELECT SUM("Rank") FROM table_63627 WHERE "Lowest point" = 'lake geneva' AND "Canton" = 'vaud'
### Instruction: CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) -- Using valid SQLite, answer the following ques...
SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant'
### Instruction: CREATE TABLE table_20980 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Falcons points" real, "Opponents" real, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did...
SELECT "Falcons points" FROM table_20980 WHERE "Record" = '4-4'
### Instruction: CREATE TABLE table_36028 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round is the lowest one that has a School/Club Team of alabama, and a Pick...
SELECT MIN("Round") FROM table_36028 WHERE "School/Club Team" = 'alabama' AND "Pick" > '43'
### Instruction: CREATE TABLE table_40804 ( "Verb" text, "Proto-Austronesian" text, "Proto-Malayo-Polynesian" text, "Proto-Oceanic" text, "Proto-Polynesian" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Proto-Oceanic verb for to die, be...
SELECT "Proto-Oceanic" FROM table_40804 WHERE "Verb" = 'to die, be dead'
### Instruction: CREATE TABLE table_56904 ( "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 home score with a c...
SELECT "Home team score" FROM table_56904 WHERE "Crowd" > '25,603'
### Instruction: CREATE TABLE table_29520 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- L...
SELECT "Original air date" FROM table_29520 WHERE "No. in season" = '12'
### Instruction: CREATE TABLE table_50200 ( "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 "Date" FROM table_50200 WHERE "High assists" = 'mike taylor (5)'
### Instruction: CREATE TABLE table_22691 ( "Rank" real, "Peak" text, "Country" text, "Island" text, "Elevation (m)" real, "Prominence (m)" real, "Col (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the col (m) of the Bewani Moun...
SELECT MIN("Col (m)") FROM table_22691 WHERE "Peak" = 'Bewani Mountains High Point'
### Instruction: CREATE TABLE table_43802 ( "Event" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most silver when the event is 2008 summer paralympics and bronze is less than 1? ...
SELECT MAX("Silver") FROM table_43802 WHERE "Event" = '2008 summer paralympics' AND "Bronze" < '1'
### Instruction: CREATE TABLE table_29455 ( "University" text, "Varsity Name" text, "City" text, "Province" text, "Founded" real, "Soccer Stadium" text, "Stadium Capacity" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the province f...
SELECT "Province" FROM table_29455 WHERE "Stadium Capacity" = '5100'
### 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 WHERE "date of appointment" = 11
### Instruction: CREATE TABLE table_23997 ( "Name" text, "Completions" real, "Attempts" real, "Completion %" text, "Yards" real, "Touchdowns" real, "Interceptions" real, "QB Rating" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was...
SELECT "QB Rating" FROM table_23997 WHERE "Name" = 'Neil Lomax'
### Instruction: CREATE TABLE table_62859 ( "Athlete" text, "Class" text, "Horse" text, "Event" text, "Result" text, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event did Sjerstin Vermeulen receive a 66.452 result? ### Response:...
SELECT "Event" FROM table_62859 WHERE "Athlete" = 'sjerstin vermeulen' AND "Result" = '66.452'
### Instruction: CREATE TABLE table_64014 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Jim Obradovich, picked after round 2, but before pick 183, plays what position? ### Resp...
SELECT "Position" FROM table_64014 WHERE "Round" > '2' AND "Pick" < '183' AND "Player" = 'jim obradovich'
### Instruction: CREATE TABLE table_2843 ( "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 "Score" FROM table_2843 WHERE "Record" = '15-25'
### Instruction: CREATE TABLE table_330 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What height was the player that pl...
SELECT "Height in Ft." FROM table_330 WHERE "Years for Rockets" = '1992-93'
### Instruction: CREATE TABLE table_36882 ( "Source" text, "Date" text, "MARTIN" text, "GR\u00dcNE" text, "Others" text, "Undecided" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date that has MARTIN of 7 9% and no Undecided? ### ...
SELECT "Date" FROM table_36882 WHERE "Undecided" = '–' AND "MARTIN" = '7–9%'
### Instruction: CREATE TABLE table_14639 ( "Year" text, "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. -- When Steve Baddeley won the Men's...
SELECT "Women's singles" FROM table_14639 WHERE "Men's singles" = 'steve baddeley'
### Instruction: CREATE TABLE table_35627 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gold is the lowest one that has a Bronze of 14, and a Total larger th...
SELECT MIN("Gold") FROM table_35627 WHERE "Bronze" = '14' AND "Total" > '42'
### Instruction: CREATE TABLE table_26982 ( "Season" text, "Premier Division" text, "Division One" text, "Division Two" text, "Division Three" text, "Division Four" text, "Division Five" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When re...
SELECT "Division One" FROM table_26982 WHERE "Division Four" = 'Real Holmesdale Reserves'
### Instruction: CREATE TABLE table_9203 ( "Born as" text, "Consort as" text, "Born" text, "Marriage" text, "Consort from" text, "Consort to" text, "Died" text, "Spouse to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the cons...
SELECT "Died" FROM table_9203 WHERE "Spouse to" = 'talal i'
### Instruction: CREATE TABLE table_55950 ( "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 score when th...
SELECT "Away team score" FROM table_55950 WHERE "Venue" = 'brunswick street oval'
### Instruction: CREATE TABLE table_58750 ( "South West DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest against that has less than 9 wins, and draws sm...
SELECT MIN("Against") FROM table_58750 WHERE "Wins" < '9' AND "Draws" < '0'
### 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, COUNT(Class) FROM captain GROUP BY Class ORDER BY Class DESC
### Instruction: CREATE TABLE table_19986 ( "Round" real, "Date" text, "Grand Prix" text, "Circuit" text, "125cc winner" text, "250cc winner" text, "MotoGP winner" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the...
SELECT "250cc winner" FROM table_19986 WHERE "Grand Prix" = 'Spanish Grand Prix'
### Instruction: CREATE TABLE table_41342 ( "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. -- Which team has 1 as the drawn,...
SELECT "Team" FROM table_41342 WHERE "Drawn" = '1' AND "Lost" = '2'
### Instruction: CREATE TABLE table_55184 ( "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. -- What is the result wh...
SELECT "Result" FROM table_55184 WHERE "Opponent" = 'indianapolis colts'
### Instruction: CREATE TABLE table_33147 ( "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 when the...
SELECT "Away team" FROM table_33147 WHERE "Home team score" = '9.8 (62)'
### Instruction: CREATE TABLE wrestler ( wrestler_id number, name text, reign text, days_held text, location text, event text ) CREATE TABLE elimination ( elimination_id text, wrestler_id text, team text, eliminated_by text, elimination_move text, time text ) -- Using ...
SELECT location FROM wrestler GROUP BY location HAVING COUNT(*) > 2
### Instruction: CREATE TABLE table_26986076_2 ( sat_29_aug VARCHAR, fri_27_aug VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many time is fri 27 aug 19' 38.87 115.219mph? ### Response:
SELECT COUNT(sat_29_aug) FROM table_26986076_2 WHERE fri_27_aug = "19' 38.87 115.219mph"
### Instruction: CREATE TABLE table_75392 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which March is the lowest one that has a Score of 5 6, and Points smalle...
SELECT MIN("March") FROM table_75392 WHERE "Score" = '5–6' AND "Points" < '100'
### Instruction: CREATE TABLE shop ( shop_id number, shop_name text, location text, open_date text, open_year number ) CREATE TABLE device ( device_id number, device text, carrier text, package_version text, applications text, software_platform text ) CREATE TABLE stock ( ...
SELECT COUNT(*) FROM device
### Instruction: CREATE TABLE table_name_88 ( since INTEGER, notes VARCHAR, app_l_c_e_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Since, when Notes is To Anagennisi Karditsa, and when App(L/C/E) is 0 (0/0/0)? ### Response:
SELECT MIN(since) FROM table_name_88 WHERE notes = "to anagennisi karditsa" AND app_l_c_e_ = "0 (0/0/0)"
### Instruction: CREATE TABLE table_44106 ( "Model" text, "Years" text, "Engine" text, "Displacement" text, "Power" text, "Fuel system" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much power does the 1500 model have with a displacement of...
SELECT "Power" FROM table_44106 WHERE "Model" = '1500' AND "Displacement" = '1490cc'
### Instruction: CREATE TABLE table_3324 ( "Episode #" text, "Fan Title" text, "Writer" text, "Artist(s)" text, "Start Date" text, "End Date" text, "Inc. Dailies?" text, "Inc. Sundays?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How ...
SELECT COUNT("Writer") FROM table_3324 WHERE "Episode #" = '06'
### Instruction: CREATE TABLE table_train_18 ( "id" int, "with_cardiac_pacemaker" bool, "neuromuscular_disease" bool, "diabetic_polyneuropathy" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT * FROM table_train_18 WHERE with_cardiac_pacemaker = 0
### Instruction: CREATE TABLE table_72688 ( "Conflict" text, "United Nations Mission" text, "Sexual abuse 1" real, "Murder 2" real, "Extortion/Theft 3" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sexual abuse rate where the conflict i...
SELECT MIN("Sexual abuse 1") FROM table_72688 WHERE "Conflict" = 'Burundi Civil War'
### Instruction: CREATE TABLE table_name_28 ( bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total bronze medals when the silver medals is 0, and 1 is the rank, Brazil...
SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = "1" AND nation = "brazil (bra)" AND gold < 2
### Instruction: CREATE TABLE table_23522 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least year for evonne goolagong h...
SELECT MIN("Year") FROM table_23522 WHERE "Opponents" = 'Evonne Goolagong Helen Gourlay'
### Instruction: CREATE TABLE table_73221 ( "County" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real, "Others%" text, "Others#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numbers were recorded under Obama when...
SELECT COUNT("Obama#") FROM table_73221 WHERE "Obama%" = '29.9%'
### Instruction: CREATE TABLE table_21753 ( "Gatchaman" text, "Battle of the Planets" text, "G-Force" text, "Eagle Riders" text, "OVA (Harmony Gold Dub)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which battle of the planets where ova (harmony g...
SELECT "Battle of the Planets" FROM table_21753 WHERE "OVA (Harmony Gold Dub)" = 'Solaris'
### Instruction: CREATE TABLE table_21960 ( "Voivodeship after 1569" text, "Capital" text, "Year established" real, "Number of powiats" text, "Area (km\u00b2) in 1590 (Lithuanian) Category:Articles with Lithuanian-language external links" real ) -- Using valid SQLite, answer the following question...
SELECT MAX("Year established") FROM table_21960
### Instruction: CREATE TABLE table_203_529 ( id number, "fin" number, "st" number, "driver" text, "car #" number, "make" text, "points" number, "bonus" number, "laps" number, "winnings" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
SELECT "make" FROM table_203_529 WHERE "driver" = 'kurt busch'
### Instruction: CREATE TABLE table_25367 ( "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("Location Attendance") FROM table_25367 WHERE "Game" = '7'
### Instruction: CREATE TABLE table_67330 ( "Rank" text, "Country" text, "2009" text, "2010" text, "2011" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the production in 2010 with 2011 production of 2,240,000? ### Response:
SELECT "2010" FROM table_67330 WHERE "2011" = '2,240,000'
### Instruction: CREATE TABLE has_allergy ( stuid number, allergy text ) CREATE TABLE allergy_type ( allergy text, allergytype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) -- U...
SELECT stuid FROM student WHERE age > 20
### Instruction: CREATE TABLE table_78491 ( "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 has a home team...
SELECT "Home team" FROM table_78491 WHERE "Home team score" = '14.12 (96)'
### Instruction: CREATE TABLE table_74366 ( "Sl. No." real, "Train number" real, "Train name" text, "Origin" text, "Destination" text, "Time" text, "Service" text, "Route/Via." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the r...
SELECT "Route/Via." FROM table_74366 WHERE "Destination" = 'Madurai'
### Instruction: CREATE TABLE papers ( paperid number, title text ) CREATE TABLE authorship ( authid number, instid number, paperid number, authorder number ) CREATE TABLE inst ( instid number, name text, country text ) CREATE TABLE authors ( authid number, lname text, ...
SELECT lname FROM authors ORDER BY lname
### Instruction: CREATE TABLE table_76598 ( "Year" real, "Starts" real, "Wins" real, "Top 10" real, "Avg. Start" real, "Avg. Finish" real, "Winnings" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins for avera...
SELECT COUNT("Wins") FROM table_76598 WHERE "Avg. Start" < '25'
### Instruction: CREATE TABLE table_30364 ( "Name/Name of Act" text, "Age(s)" text, "Genre" text, "Act" text, "Hometown" text, "Semifinal (Week)" real, "Position Reached" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many performers are...
SELECT "Semifinal (Week)" FROM table_30364 WHERE "Age(s)" = '29'
### Instruction: CREATE TABLE table_53722 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game on October 20 when...
SELECT "Score" FROM table_53722 WHERE "Home" = 'ny islanders' AND "Date" = 'october 20'
### Instruction: CREATE TABLE table_40257 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest grid value for riders with manufacturer of Aprilia and time o...
SELECT MAX("Grid") FROM table_40257 WHERE "Manufacturer" = 'aprilia' AND "Time/Retired" = '+1.660'
### Instruction: CREATE TABLE table_80296 ( "Track" real, "Recorded" text, "Catalogue" text, "Release Date" text, "Chart Peak" text, "Song Title" text, "Writer(s)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What catalogu...
SELECT "Catalogue" FROM table_80296 WHERE "Song Title" = 'it''s now or never'
### Instruction: CREATE TABLE table_8062 ( "Rank" text, "Margin" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4? ### Resp...
SELECT "Season" FROM table_8062 WHERE "Venue" = 'bellerive oval , hobart' AND "Rank" = '4'
### Instruction: CREATE TABLE table_221653_1 ( partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for partial thromboplastin time when prothrombin time and bleedi...
SELECT partial_thromboplastin_time FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged"
### Instruction: CREATE TABLE table_203_58 ( id number, "airline" text, "airline (in russian)" text, "licence #" number, "icao" text, "iata" text, "domestic code" text, "callsign" text, "photo" text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
SELECT "domestic code" FROM table_203_58 WHERE id = 1
### Instruction: CREATE TABLE table_21421 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
SELECT "Replaced by" FROM table_21421 WHERE "Outgoing manager" = 'José Ángel Ziganda'
### Instruction: CREATE TABLE table_3869 ( "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 "High assists" FROM table_3869 WHERE "Date" = 'January 27'
### Instruction: CREATE TABLE table_34690 ( "Name" text, "Born \u2013 Died" text, "Notable for" text, "Connection with Australia" text, "Connection with America" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Born Died for the person who...
SELECT "Born \u2013 Died" FROM table_34690 WHERE "Connection with Australia" = 'family moved to australia at age 6'
### Instruction: CREATE TABLE table_62204 ( "Date From" text, "Date To" text, "Pos." text, "Name" text, "Moving To" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was febian brandy loaned out until, when was loaned out on 2 february 2009.? ##...
SELECT "Date To" FROM table_62204 WHERE "Name" = 'febian brandy' AND "Date From" = '2 february 2009'
### Instruction: CREATE TABLE table_64496 ( "Japanese Title" text, "Romaji Title" text, "TV Station" text, "Episodes" real, "Average Ratings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes when the tv station is ntv and the japanes...
SELECT "Episodes" FROM table_64496 WHERE "TV Station" = 'ntv' AND "Japanese Title" = 'たったひとつの恋'
### Instruction: CREATE TABLE table_62879 ( "Team" text, "Outgoing manager" text, "Date Outgoing" text, "Reason of departure" text, "Replaced by" text, "Date of Replacement" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Why did the manager who ...
SELECT "Reason of departure" FROM table_62879 WHERE "Date Outgoing" = 'august 1, 2008'
### Instruction: CREATE TABLE table_17551 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is t...
SELECT "Original air date" FROM table_17551 WHERE "Title" = 'Oliver''s Jaded Past'
### Instruction: CREATE TABLE table_204_291 ( id number, "rank" number, "name" text, "nation" text, "cp" number, "fp" number, "points" number, "placings" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many women from the united sta...
SELECT COUNT("name") FROM table_204_291 WHERE "nation" = 'united states'
### Instruction: CREATE TABLE table_36772 ( "Call sign" text, "Frequency" text, "City of license" text, "Facility ID" real, "ERP / Power W" real, "Height m ( ft )" text, "Class" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Frequency ...
SELECT "Frequency" FROM table_36772 WHERE "Facility ID" = '13598'
### Instruction: CREATE TABLE table_21303 ( "Match Number" real, "Date" text, "Venue" text, "Team 1" text, "Team 2" text, "Result" text, "Man of the Match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is team 2 where the result is ICL...
SELECT "Team 2" FROM table_21303 WHERE "Result" = 'ICL World by 8 wickets'
### Instruction: CREATE TABLE table_34878 ( "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. -- What is the nationality of the player from the Ohio Stat...
SELECT "Nationality" FROM table_34878 WHERE "College/Junior/Club Team (League)" = 'ohio state university (ncaa)'
### Instruction: CREATE TABLE table_45613 ( "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 "Team" FROM table_45613 WHERE "Date of vacancy" = '9 december 2008'
### Instruction: CREATE TABLE table_17115 ( "Year" real, "Network" text, "Lap-by-lap" text, "Color commentator(s)" text, "Pit reporters" text, "Host" text, "Ratings" text, "Viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was...
SELECT "Ratings" FROM table_17115 WHERE "Year" = '1997'
### Instruction: CREATE TABLE table_name_90 ( burglary INTEGER, forcible_rape VARCHAR, motor_vehicle_theft VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest rate of burglary when forcible rape is 39.1 and motor vehicle theft is less tha...
SELECT MIN(burglary) FROM table_name_90 WHERE forcible_rape = "39.1" AND motor_vehicle_theft < 568.8
### Instruction: CREATE TABLE table_27957 ( "meas. num." real, "passed" text, "YES votes" real, "NO votes" real, "% YES" text, "Const. Amd.?" text, "type" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the typ...
SELECT "type" FROM table_27957 WHERE "YES votes" = '546255'
### Instruction: CREATE TABLE table_24300 ( "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. -- Name the least age for cibao central and...
SELECT MIN("Age") FROM table_24300 WHERE "Geographical Regions" = 'Cibao Central' AND "Hometown" = 'Santo Domingo'
### Instruction: CREATE TABLE table_68737 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which chassis has a year later than 1964, a Ford engine, and 13 points? ### Response:
SELECT "Chassis" FROM table_68737 WHERE "Year" > '1964' AND "Engine" = 'ford' AND "Pts." = '13'
### Instruction: CREATE TABLE table_29774 ( "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 rebounds") FROM table_29774 WHERE "Date" = 'December 8'
### Instruction: CREATE TABLE table_79016 ( "Year" real, "US Billboard" real, "US Cash Box" text, "US AC" text, "CAN AC" text, "Title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the US cash box before 1978 with a US billboard of 35? ...
SELECT "US Cash Box" FROM table_79016 WHERE "Year" < '1978' AND "US Billboard" = '35'
### Instruction: CREATE TABLE table_203_631 ( id number, "year" number, "name of show" text, "episodes" text, "other guests" text, "winner(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many episodes was charmaine sheh on in the variety ...
SELECT "episodes" FROM table_203_631 WHERE "name of show" = 'super trio series 2: movie buff championship'
### Instruction: CREATE TABLE table_61290 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is in week 4 if week 5 is [month ended] and week 2 is April Ireland? ### Response:
SELECT "Week 4" FROM table_61290 WHERE "Week 5" = '[month ended]' AND "Week 2" = 'april ireland'
### Instruction: CREATE TABLE table_60843 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bronze has a Gold larger than 1, and a Silver smaller than 3, and a Rank smaller than 5?...
SELECT "Bronze" FROM table_60843 WHERE "Gold" > '1' AND "Silver" < '3' AND "Rank" < '5'
### Instruction: CREATE TABLE table_28802 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Position in table" text, "Incoming manager" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provide...
SELECT "Manner of departure" FROM table_28802 WHERE "Incoming manager" = 'George Burley'
### Instruction: CREATE TABLE table_35654 ( "Year" real, "League" text, "Class" text, "Record" text, "Finish" text, "Manager" text, "Playoffs" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Manager of spencer abbott, and a Year of 1919 invol...
SELECT "Playoffs" FROM table_35654 WHERE "Manager" = 'spencer abbott' AND "Year" = '1919'
### Instruction: CREATE TABLE table_name_60 ( year INTEGER, sales VARCHAR, certification VARCHAR, álbum VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average year that Xuxa 3 earned the certification 2x platinum, and that the sales were...
SELECT AVG(year) FROM table_name_60 WHERE certification = "2x platinum" AND álbum = "xuxa 3" AND sales > 750 OFFSET 000
### 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 COUNT(*) FROM table_204_131 WHERE "electrical system" = '90 v'
### Instruction: CREATE TABLE table_62620 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year did the team of aston martin racing hav...
SELECT COUNT("Year") FROM table_62620 WHERE "Team" = 'aston martin racing' AND "Pos." = '6th'
### Instruction: CREATE TABLE table_21345 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Competition" text, "Man of the Match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many attendance figures are g...
SELECT COUNT("Attendance") FROM table_21345 WHERE "Result" = 'Lost 5-3'
### Instruction: CREATE TABLE table_62818 ( "Game" real, "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Result has a Venue of home, and a Date of 3 october 1987? ###...
SELECT "Result" FROM table_62818 WHERE "Venue" = 'home' AND "Date" = '3 october 1987'
### Instruction: CREATE TABLE table_204_363 ( id number, "res." text, "record" text, "opponent" text, "method" text, "event" text, "date" text, "round" number, "time" text, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables ...
SELECT COUNT(*) FROM table_204_363 WHERE "res." = 'win'
### Instruction: CREATE TABLE table_38423 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smalle...
SELECT AVG("Drawn") FROM table_38423 WHERE "Lost" > '0' AND "Points" < '11' AND "Games" < '7'
### Instruction: CREATE TABLE table_29208 ( "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 L2 cache numbers are there fo...
SELECT COUNT("L2 Cache (MB)") FROM table_29208 WHERE "Model" = '7130M'
### Instruction: CREATE TABLE table_204_422 ( id number, "rank" number, "lane" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who finished directly above ryabova ? ### Response:...
SELECT "name" FROM table_204_422 WHERE "rank" = (SELECT "rank" FROM table_204_422 WHERE "name" = 'nina ryabova') - 1
### Instruction: CREATE TABLE table_52417 ( "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 has an Away tea...
SELECT "Home team" FROM table_52417 WHERE "Away team score" = '6.9 (45)'
### Instruction: CREATE TABLE table_3882 ( "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 "High rebounds" FROM table_3882 WHERE "Date" = 'March 25'
### Instruction: CREATE TABLE table_14640 ( "Year" text, "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. -- When Marja Ridder won the Women's...
SELECT "Men's singles" FROM table_14640 WHERE "Women's singles" = 'marja ridder'
### Instruction: CREATE TABLE table_77131 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?...
SELECT MAX("Round") FROM table_77131 WHERE "School/Club Team" = 'cal-poly slo' AND "Pick" < '238'