instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_train_25 ( "id" int, "bleeding" int, "acute_cerebrovascular_accident_cva" bool, "heart_disease" bool, "trauma" bool, "st_segment_elevation_myocardial_infarction_stemi" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the ta...
SELECT * FROM table_train_25 WHERE heart_disease = 1
### Instruction: CREATE TABLE table_29941 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Team" FROM table_29941 WHERE "High assists" = 'Darren Collison (7)'
### Instruction: CREATE TABLE table_39989 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total time for the match that ocurred i...
SELECT "Time" FROM table_39989 WHERE "Round" = '3' AND "Opponent" = 'keith wisniewski'
### Instruction: CREATE TABLE table_65551 ( "Position" real, "Gymnast" text, "A Score" real, "B Score" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is their position when the b score is more than 8.975 for Ekaterina Kramarenko (...
SELECT "Position" FROM table_65551 WHERE "B Score" > '8.975' AND "Gymnast" = 'ekaterina kramarenko ( rus )'
### Instruction: CREATE TABLE table_70188 ( "Year" text, "Venue" text, "Winners" text, "Runner-up" text, "3rd place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner-up when Polonia Bydgoszcz won and Mega-Lada Togliatti finished 3rd...
SELECT "Runner-up" FROM table_70188 WHERE "Winners" = 'polonia bydgoszcz' AND "3rd place" = 'mega-lada togliatti'
### Instruction: CREATE TABLE table_20052 ( "Position" real, "Team" text, "Points" real, "Played" real, "Won" real, "Drawn" real, "Lost" real, "For" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
SELECT MAX("Drawn") FROM table_20052 WHERE "Lost" = '2'
### Instruction: CREATE TABLE table_4003 ( "\u2116" real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT "Directed by" FROM table_4003 WHERE "Production code" = 'PABF05'
### Instruction: CREATE TABLE table_65936 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total with a rank less than 8 and a 40.143 (4) 2nd run? ##...
SELECT "Total" FROM table_65936 WHERE "Rank" < '8' AND "2nd run" = '40.143 (4)'
### Instruction: CREATE TABLE table_5084 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "10:00" text, "10:30" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 10:30 for 8:00 of charmed ### Response:
SELECT "10:30" FROM table_5084 WHERE "8:00" = 'charmed'
### Instruction: CREATE TABLE table_3402 ( "Skip (Club)" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the n...
SELECT MAX("W") FROM table_3402 WHERE "Ends Won" = '30'
### Instruction: CREATE TABLE table_76382 ( "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 "Score" FROM table_76382 WHERE "High rebounds" = 'tim duncan (14)'
### Instruction: CREATE TABLE table_204_592 ( id number, "#" number, "title" text, "type" text, "opening\ndate" text, "closing\ndate" text, "performances" number, "comment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- does cats or chic...
SELECT "title" FROM table_204_592 WHERE "title" IN ('cats', 'chicago') ORDER BY LENGTH("comment") DESC LIMIT 1
### Instruction: CREATE TABLE table_55540 ( "Tournament" text, "Wins" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average of the top-25 of those with less than 35 even...
SELECT AVG("Top-25") FROM table_55540 WHERE "Events" < '35' AND "Tournament" = 'the open championship'
### Instruction: CREATE TABLE table_71959 ( "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 lowest bronze has a total of 3, a Nation of hungary, and a Gold smalle...
SELECT MIN("Bronze") FROM table_71959 WHERE "Total" = '3' AND "Nation" = 'hungary' AND "Gold" < '0'
### Instruction: CREATE TABLE table_18947 ( "Trim" text, "Engine" text, "Displacement" text, "Power" text, "Torque" text, "Transmission" text, "Fuel Mileage (latest EPA mpg - US )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the tr...
SELECT "Trim" FROM table_18947 WHERE "Engine" = '3.5L LZ4 V6'
### Instruction: CREATE TABLE table_27279050_3 ( country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )? ### Response:
SELECT COUNT(country) FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Adderly Fong ( 2013 )"
### Instruction: CREATE TABLE table_75693 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average silver for golds over 2, ranks of 1, and bronzes over 0...
SELECT AVG("Silver") FROM table_75693 WHERE "Gold" > '2' AND "Rank" = '1' AND "Bronze" > '0'
### Instruction: CREATE TABLE table_25550 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "Margin of victory" text, "Tournament location" text, "Purse ( $ )" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for the t...
SELECT "Score" FROM table_25550 WHERE "Champion" = 'Jan Stephenson'
### Instruction: CREATE TABLE table_25118 ( "Details" text, "Host Nation(s)" text, "Final Venue" text, "Winner" text, "Result" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the runner-up is [[|]] 151/8 (50.0 overs), what we...
SELECT "Result" FROM table_25118 WHERE "Runner-up" = '[[|]] 151/8 (50.0 overs)'
### Instruction: CREATE TABLE table_31226 ( "Skip (Club)" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is list...
SELECT "L" FROM table_31226 WHERE "Stolen Ends" = '1'
### Instruction: CREATE TABLE table_204_971 ( id number, "m" number, "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score" text, "attendance" number, "dinamo scorers" text, "report" text ) -- Using valid SQLite, answer the following questions...
SELECT SUM("score") FROM table_204_971
### Instruction: CREATE TABLE table_78833 ( "Country" text, "Career" text, "Victories" real, "Super G" text, "Giant Slalom" text, "Slalom" text, "Combined" text, "Parallel" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country has ...
SELECT "Country" FROM table_78833 WHERE "Career" = '1989–2004'
### Instruction: CREATE TABLE table_26613 ( "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. -- W...
SELECT MIN("No. in series") FROM table_26613 WHERE "Written by" = 'Tim Schlattmann'
### Instruction: CREATE TABLE table_61 ( "Crop (kilotonnes)" text, "New South Wales" real, "Victoria" real, "Queensland" real, "Western Australia" real, "South Australia" real, "Tasmania" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided...
SELECT COUNT("South Australia") FROM table_61 WHERE "Victoria" = '2173'
### Instruction: CREATE TABLE table_56412 ( "Judge" text, "State" text, "Born/Died" text, "Active service" text, "Chief Judge" text, "Senior status" text, "Appointed by" text, "Reason for termination" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Chief Judge" FROM table_56412 WHERE "Judge" = 'jack edward tanner'
### Instruction: CREATE TABLE table_16312 ( "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_16312 WHERE "Date" = 'December 23'
### Instruction: CREATE TABLE table_20729 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was...
SELECT "Time" FROM table_20729 WHERE "Away team score" = '5.4 (34)'
### Instruction: CREATE TABLE table_34963 ( "Eruptions" text, "Country" text, "Location" text, "Year" real, "Volcanic Explosivity Index" text, "Fatalities" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have a Location of pacific ...
SELECT SUM("Year") FROM table_34963 WHERE "Location" = 'pacific ring of fire' AND "Eruptions" = 'pinatubo'
### Instruction: CREATE TABLE table_27325 ( "Region" text, "Vehicle" text, "Automatic washing machine" text, "Refrigerator" text, "Water heater" text, "Fixed telephone line" text, "Mobile phone" text, "Cable/Sat. TV connection" text ) -- Using valid SQLite, answer the following questio...
SELECT "Region" FROM table_27325 WHERE "Vehicle" = '39.2%'
### Instruction: CREATE TABLE table_11615 ( "Rank" real, "Movie" text, "Year" real, "Studio(s)" text, "Opening Weekend Net Gross" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Total number of Opening Weekend Net Gross that occured after ...
SELECT COUNT("Opening Weekend Net Gross") FROM table_11615 WHERE "Year" > '2012' AND "Rank" = '1'
### Instruction: CREATE TABLE table_203_254 ( id number, "position" number, "team" text, "points" number, "played" number, "won" number, "drawn" number, "lost" number, "for" number, "against" number, "difference" number ) -- Using valid SQLite, answer the following question...
SELECT "team" FROM table_203_254 WHERE "points" <= 5
### Instruction: CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) -- Using valid SQ...
SELECT Author, COUNT(Author) FROM submission GROUP BY Author ORDER BY Author
### Instruction: CREATE TABLE table_18143210_2 ( top_division_titles VARCHAR, first_season_of_current_spell_in_top_division VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many top division titles were won during the 'first season of current spell in top ...
SELECT top_division_titles FROM table_18143210_2 WHERE first_season_of_current_spell_in_top_division = "1979-80"
### Instruction: CREATE TABLE table_203_577 ( id number, "tenure" text, "coach" text, "years" number, "record" text, "pct." number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which coach served previous to ardis smith ? ### Response:
SELECT "coach" FROM table_203_577 WHERE "tenure" < (SELECT "tenure" FROM table_203_577 WHERE "coach" = 'ardis smith') ORDER BY "tenure" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_5 ( bluetooth VARCHAR, wifi VARCHAR, launch_year VARCHAR, rom___mib__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the status of Bluetooth for the model that launched after 2004 with a ROM (MiB) of ...
SELECT bluetooth FROM table_name_5 WHERE launch_year > 2004 AND rom___mib__ = 128 AND wifi = "802.11b"
### Instruction: CREATE TABLE table_41255 ( "Advocate # 1" text, "Advocate # 2" text, "Root of All Evil" text, "Poll winner" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Root of All Evil with an Original air d...
SELECT "Root of All Evil" FROM table_41255 WHERE "Original air date" = 'september 3, 2008'
### Instruction: CREATE TABLE table_2250 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
SELECT "Poles" FROM table_2250 WHERE "Season" = '2000'
### Instruction: CREATE TABLE table_25558 ( "Engine" text, "Crankshaft" text, "Ignition timing" text, "Graphical" text, "Example" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1985-2007 yamaha v-max honda vfr800 is the example what is the engi...
SELECT "Engine" FROM table_25558 WHERE "Example" = '1985-2007 Yamaha V-Max Honda VFR800'
### Instruction: CREATE TABLE table_38827 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Location Attendance" FROM table_38827 WHERE "Record" = '27-22'
### Instruction: CREATE TABLE table_64878 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Intergiro classification" text, "Trofeo Fast Team" text, "Trofeo Super Team" text ) -- Using valid SQLite, answer the ...
SELECT "Trofeo Fast Team" FROM table_64878 WHERE "Stage" = '19'
### Instruction: CREATE TABLE table_1477 ( "Player" text, "Team" text, "Matches" real, "Innings" real, "Runs" real, "Average" text, "Highest Score" text, "100s" real, "50s" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numb...
SELECT COUNT("50s") FROM table_1477 WHERE "Matches" = '2'
### Instruction: CREATE TABLE table_name_72 ( rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the rank when the total points is more than 194, round4 is less than 6...
SELECT COUNT(rank) FROM table_name_72 WHERE total_points > 194 AND round4 < 64 AND round3 > 51 AND round2 < 66
### Instruction: CREATE TABLE table_2294 ( "No. in series" real, "No. in season" real, "Title" text, "Directedby" text, "Writtenby" text, "Originalairdate" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables...
SELECT "Directedby" FROM table_2294 WHERE "Title" = 'Andare Pescare'
### Instruction: CREATE TABLE table_23565 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Foochow" text, "Area" real, "Population" real, "Density" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the piny...
SELECT "Pinyin" FROM table_23565 WHERE "Foochow" = 'Ciá-ìng-gâing'
### Instruction: CREATE TABLE table_204_145 ( id number, "representative" text, "state" text, "district(s)" text, "served" text, "party" text, "date of birth" text, "date of death" text, "age" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT "served" - "served" FROM table_204_145 WHERE "representative" = 'sala burton'
### Instruction: CREATE TABLE table_9184 ( "% people under 18 (2005)" text, "Seine-Saint-Denis" text, "Paris" text, "Val-de-Marne" text, "Val-d'Oise" text, "France" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE VAL-D-OISE WITH A FRA...
SELECT "Val-d'Oise" FROM table_9184 WHERE "France" = '1.4%'
### Instruction: CREATE TABLE table_34547 ( "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 "Score" FROM table_34547 WHERE "Game" < '61' AND "Team" = 'new york'
### Instruction: CREATE TABLE table_3152 ( "Rank" real, "English title" text, "Chinese title" text, "Average" real, "Peak" real, "Premiere" real, "Finale" real, "HK viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Chin...
SELECT "Chinese title" FROM table_3152 WHERE "HK viewers" = '1.97 million'
### Instruction: CREATE TABLE table_48903 ( "State" text, "Preliminary" real, "Interview" real, "Swimsuit" real, "Evening Gown" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the best preliminary for a contestant from New...
SELECT MAX("Preliminary") FROM table_48903 WHERE "State" = 'new mexico' AND "Interview" < '9.533'
### Instruction: CREATE TABLE table_72108 ( "Rd" real, "Name" text, "Pole Position" text, "Fastest Lap" text, "Winning driver" text, "Winning team" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many winning drivers were t...
SELECT COUNT("Winning driver") FROM table_72108 WHERE "Fastest Lap" = '56.920'
### Instruction: CREATE TABLE table_76701 ( "Club" text, "City" text, "Sport" text, "League" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which sport was held in Huntsville at the Von Braun Center as part of the Southern Indoor Footb...
SELECT "Sport" FROM table_76701 WHERE "City" = 'huntsville' AND "Venue" = 'von braun center' AND "League" = 'southern indoor football league'
### Instruction: CREATE TABLE useracct ( u_id number, name text ) CREATE TABLE review ( a_id number, u_id number, i_id number, rating number, rank number ) CREATE TABLE trust ( source_u_id number, target_u_id number, trust number ) CREATE TABLE item ( i_id number, titl...
SELECT COUNT(DISTINCT u_id) FROM review
### Instruction: CREATE TABLE table_203_570 ( id number, "#" number, "title" text, "tpb isbn" text, "tpb release date" text, "tpb page number" number, "collected material" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the name of the game a...
SELECT "tpb page number" FROM table_203_570 WHERE "title" = 'over the hill with the sword of a thousand men'
### Instruction: CREATE TABLE table_37755 ( "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. -- Which callsign has ERP W of 99 and a frequency of g...
SELECT "Call sign" FROM table_37755 WHERE "Frequency MHz" > '88.7' AND "ERP W" = '99'
### Instruction: CREATE TABLE table_name_82 ( goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the goal difference when drawn is more than 11, goals agai...
SELECT goal_difference FROM table_name_82 WHERE drawn > 11 AND goals_against < 63 AND goals_for < 87 AND lost > 16
### Instruction: CREATE TABLE table_203_502 ( id number, "team" text, "titles" number, "runner-up" number, "third place" number, "fourth place" number, "years participated" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is above michig...
SELECT "team" FROM table_203_502 WHERE "years participated" > (SELECT "years participated" FROM table_203_502 WHERE "team" = 'michigan')
### Instruction: CREATE TABLE table_9511 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT MAX("Goals For") FROM table_9511 WHERE "Lost" = '25'
### Instruction: CREATE TABLE table_27933 ( "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 was the pe...
SELECT "% YES" FROM table_27933 WHERE "NO votes" = '199174'
### Instruction: CREATE TABLE table_203_150 ( id number, "season" number, "series" text, "team" text, "races" number, "wins" number, "poles" number, "f/laps" number, "podiums" number, "points" number, "position" text ) -- Using valid SQLite, answer the following questions f...
SELECT COUNT(*) FROM table_203_150 WHERE "position" = 1
### Instruction: CREATE TABLE table_2992 ( "Edition" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Win/Lose" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the win/lose lose an...
SELECT "Date" FROM table_2992 WHERE "Win/Lose" = 'Lose' AND "Round" = 'Play-off'
### Instruction: CREATE TABLE table_44791 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of report was for the game played on...
SELECT "Report" FROM table_44791 WHERE "Date" = '29 november' AND "Away team" = 'melbourne tigers'
### Instruction: CREATE TABLE table_74417 ( "Name" text, "Country" text, "Years" text, "Games" real, "Minutes" real, "Conceded" real, "Shutouts" real, "Int. caps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When chase harrison categor...
SELECT "Years" FROM table_74417 WHERE "Name" = 'Chase Harrison Category:Articles with hCards'
### Instruction: CREATE TABLE table_38044 ( "Game" real, "April" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many days in April has a record of 42 22 12 3, and less than 99 poin...
SELECT COUNT("April") FROM table_38044 WHERE "Record" = '42–22–12–3' AND "Points" < '99'
### Instruction: CREATE TABLE table_3236 ( "Character" text, "English version" text, "Cinderella" text, "Cinderella II: Dreams Come True" text, "Cinderella III: A Twist in Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who besides Nobuko Teras...
SELECT "Cinderella III: A Twist in Time" FROM table_3236 WHERE "Cinderella" = 'Nobuko Terashima'
### Instruction: CREATE TABLE table_16725 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT "Fastest Lap" FROM table_16725 WHERE "Race Winner" = 'John Watson'
### Instruction: CREATE TABLE table_77141 ( "Blocks" text, "Opponent" text, "Home/Away" text, "Minutes played" real, "Points" real, "Rebounds" real, "Assists" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points were there when the...
SELECT COUNT("Points") FROM table_77141 WHERE "Assists" = '5' AND "Rebounds" < '16'
### Instruction: CREATE TABLE table_60826 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" real ) -- Using valid SQLite, answer the following questions for the tables provided above....
SELECT MAX("Lost") FROM table_60826 WHERE "Goals Against" > '92'
### Instruction: CREATE TABLE table_25545 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "Margin of victory" text, "Tournament location" text, "Purse ( $ )" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for the t...
SELECT COUNT("Year") FROM table_25545 WHERE "Champion" = 'Pat Bradley'
### Instruction: CREATE TABLE table_51628 ( "Year" real, "Date" text, "Type" text, "EU Council presidency" text, "President-in-Office" text, "Host city" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which host city was Margaret Thatcher the ...
SELECT "Host city" FROM table_51628 WHERE "President-in-Office" = 'margaret thatcher' AND "Year" = '1981'
### Instruction: CREATE TABLE table_79455 ( "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 rank when there is 0 gold, the total is more than 1, and silver...
SELECT MAX("Rank") FROM table_79455 WHERE "Gold" = '0' AND "Total" > '1' AND "Silver" > '0'
### Instruction: CREATE TABLE table_32860 ( "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. -- Who was the away team for the g...
SELECT "Away team" FROM table_32860 WHERE "Home team score" = '13.11 (89)'
### Instruction: CREATE TABLE table_204_854 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what location hosted more , ...
SELECT "location" FROM table_204_854 WHERE "location" IN ('osaka', 'tokyo') GROUP BY "location" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_69427 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 8:00 feature with je at 7:00? ### Response:
SELECT "8:00" FROM table_69427 WHERE "7:00" = 'je'
### Instruction: CREATE TABLE table_75027 ( "Call sign" text, "Analog channel" text, "Digital channel" text, "Virtual channel" text, "Network" text, "Station Ownership" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Station Ownership of eicb tv,...
SELECT "Virtual channel" FROM table_75027 WHERE "Station Ownership" = 'eicb tv' AND "Call sign" = 'ktcj-ld'
### Instruction: CREATE TABLE table_3872 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
SELECT MIN("Game") FROM table_3872 WHERE "High assists" = 'Josh Smith (4)'
### Instruction: CREATE TABLE table_49650 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1? #...
SELECT "Time" FROM table_49650 WHERE "Bike" = 'yamaha yzf-r6' AND "Grid" > '1' AND "Rider" = 'david salom'
### Instruction: CREATE TABLE table_2745 ( "Season" real, "Winner" text, "Captain" text, "Coach" text, "League finish" text, "Mat" real, "W" real, "L" real, "Win %" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
SELECT "League finish" FROM table_2745 WHERE "Winner" = 'Deccan Chargers'
### Instruction: CREATE TABLE table_10134 ( "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 smallest crowd dur...
SELECT MIN("Crowd") FROM table_10134 WHERE "Home team score" = '12.9 (81)'
### Instruction: CREATE TABLE table_29437 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the ...
SELECT "Directed by" FROM table_29437 WHERE "Written by" = 'Elaine Ko'
### Instruction: CREATE TABLE table_204_627 ( id number, "date" text, "opponent" text, "score" text, "top scorer (total points)" text, "venue (location)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- this team faced sta . lucia and had who as t...
SELECT "top scorer (total points)" FROM table_204_627 WHERE "opponent" = 'coca cola'
### Instruction: CREATE TABLE table_26696 ( "Season" real, "Pl" real, "W" real, "L" real, "D" real, "Captain" text, "Most runs" text, "Most Wkts" text, "Wkt Keeper" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the L in the...
SELECT "L" FROM table_26696 WHERE "Most runs" = 'Levi Wright'
### Instruction: CREATE TABLE table_16465 ( "No. in season" real, "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Th...
SELECT "Original air date" FROM table_16465 WHERE "Written by" = 'Rebecca Dameron'
### Instruction: CREATE TABLE table_13118 ( "Mark" text, "Wind*" text, "Athlete" text, "Nationality" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wind* has a Nationality of united states, and an Athlete of jack...
SELECT "Wind*" FROM table_13118 WHERE "Nationality" = 'united states' AND "Athlete" = 'jackie joyner-kersee'
### Instruction: CREATE TABLE table_44043 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the h...
SELECT "Home team" FROM table_44043 WHERE "Away team score" = '8.7 (55)'
### Instruction: CREATE TABLE table_29153 ( "Common Name" text, "Genus & Species" text, "NCBI Accession Number" text, "Length (AA)" real, "% Identity to C7orf38" real, "% Similarity to C7orf38" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What...
SELECT MIN("% Identity to C7orf38") FROM table_29153 WHERE "Common Name" = 'Rat'
### Instruction: CREATE TABLE table_65783 ( "Mother Tongue" text, "Population (2006)" real, "Percentage (2006)" text, "Population (2011)" real, "Percentage (2011)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mother tongue language sha...
SELECT "Mother Tongue" FROM table_65783 WHERE "Population (2006)" = '300'
### Instruction: CREATE TABLE table_25517 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The episode which originally aired on...
SELECT "No. in season" FROM table_25517 WHERE "Original air date" = 'February 11, 2005'
### Instruction: CREATE TABLE table_11713303_2 ( replaced_by VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many have been replaced where the appointment date is 10 December 2007 and the manne...
SELECT COUNT(replaced_by) FROM table_11713303_2 WHERE date_of_appointment = "10 December 2007" AND manner_of_departure = "Quit"
### Instruction: CREATE TABLE table_204_912 ( id number, "rank" number, "athlete" text, "country" text, "time" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which athlete completed the race in the same time as jan bazen ? ### ...
SELECT "athlete" FROM table_204_912 WHERE "athlete" <> 'jan bazen' AND "time" = (SELECT "time" FROM table_204_912 WHERE "athlete" = 'jan bazen')
### Instruction: CREATE TABLE table_56450 ( "Player" text, "Tackles" real, "Solo" real, "Assisted" real, "Sack" real, "Yards" real, "TD's" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Sack with an Assisted larger than 4...
SELECT MAX("Sack") FROM table_56450 WHERE "Assisted" > '4' AND "TD's" < '0'
### Instruction: CREATE TABLE table_59652 ( "Name" text, "Years" text, "Wins" real, "Losses" real, "Ties" real, "Pct." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pct has Years of 1957 1970, and Wins smaller than 78? ### Response:
SELECT SUM("Pct.") FROM table_59652 WHERE "Years" = '1957–1970' AND "Wins" < '78'
### Instruction: CREATE TABLE table_57660 ( "Edition" real, "Zone" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Outcome" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the ...
SELECT "Opponent" FROM table_57660 WHERE "Zone" = 'europe/africa group i'
### 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 driver was below jo von...
SELECT "driver" FROM table_203_804 WHERE id = (SELECT id FROM table_203_804 WHERE "driver" = 'jo vonlanthen') + 1
### Instruction: CREATE TABLE table_43991 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the sum of Score that has the Place of t5, and the Country of united state...
SELECT SUM("Score") FROM table_43991 WHERE "Place" = 't5' AND "Country" = 'united states' AND "Player" = 'jeff maggert'
### Instruction: CREATE TABLE table_54749 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time/retired for a grid less than 19, under 21 laps, and made by aprilia? #...
SELECT "Time/Retired" FROM table_54749 WHERE "Grid" < '19' AND "Manufacturer" = 'aprilia' AND "Laps" < '21'
### Instruction: CREATE TABLE table_39254 ( "Rank" real, "Town" text, "Population" real, "Year" real, "Borough" text, "Definition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank is the lowest one that has a Borough of richmondshire, a...
SELECT MIN("Rank") FROM table_39254 WHERE "Borough" = 'richmondshire' AND "Population" > '8,178'
### Instruction: CREATE TABLE table_73819 ( "Settlement" text, "Cyrillic Name Other Names" text, "Type" text, "Population (2011)" real, "Largest ethnic group (2002)" text, "Dominant religion (2002)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
SELECT "Settlement" FROM table_73819 WHERE "Cyrillic Name Other Names" = 'Сигет'
### Instruction: CREATE TABLE table_16112 ( "Season" text, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT COUNT("Poles") FROM table_16112 WHERE "Team" = 'Arden International'
### Instruction: CREATE TABLE table_19545 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college/junior/club team did the play...
SELECT "College/junior/club team" FROM table_19545 WHERE "NHL team" = 'Buffalo Sabres'
### Instruction: CREATE TABLE table_22399 ( "Episode" text, "Garfield Episode 1" text, "U.S. Acres Episode" text, "Garfield Episode 2" text, "Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode in Garfield episode 1 is the...
SELECT "Episode" FROM table_22399 WHERE "Garfield Episode 1" = 'The Worst Pizza in the History of Mankind'