instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_77608 ( "Season" text, "Competition" text, "Matches" real, "Draw" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the losses that a match score larger than 26, a p...
SELECT SUM("Lost") FROM table_77608 WHERE "Matches" > '26' AND "Points" = '62' AND "Draw" > '5'
### Instruction: CREATE TABLE table_203_98 ( id number, "title" text, "year" number, "director" text, "budget" text, "gross (worldwide)" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- was the budget for young guns more or less ...
SELECT (SELECT "budget" FROM table_203_98 WHERE "title" = 'young guns') > (SELECT "budget" FROM table_203_98 WHERE "title" = 'freejack')
### Instruction: CREATE TABLE table_80431 ( "Season" text, "Team Name" text, "Games" real, "Losses" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total losses for the vancouver burrards in the 1947 season with fewer than 2...
SELECT COUNT("Losses") FROM table_80431 WHERE "Team Name" = 'vancouver burrards' AND "Season" = '1947' AND "Games" < '24'
### Instruction: CREATE TABLE table_train_95 ( "id" int, "serum_potassium" float, "mini_mental_state_examination_mmse" int, "systolic_blood_pressure_sbp" int, "resting_heart_rate" int, "diastolic_blood_pressure_dbp" int, "NOUSE" float ) -- Using valid SQLite, answer the following questions...
SELECT * FROM table_train_95 WHERE serum_potassium > 5
### Instruction: CREATE TABLE table_51597 ( "Block A" text, "Kaz Hayashi" text, "Ryuji Hijikata" text, "TAKA Michinoku" text, "\"brother\" YASSHI" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the Ryuji Hijikata for TAKA Michinoku of Hayash...
SELECT "Ryuji Hijikata" FROM table_51597 WHERE "TAKA Michinoku" = 'hayashi (28:05)'
### Instruction: CREATE TABLE table_63945 ( "Lane" real, "Name" text, "Nationality" text, "Reaction" real, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a reaction larger than 0.17400000000000002 and a lane larger than 6? ### Respo...
SELECT "Name" FROM table_63945 WHERE "Reaction" > '0.17400000000000002' AND "Lane" > '6'
### Instruction: CREATE TABLE table_37352 ( "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. -- What City of license has a Frequency MHz smaller th...
SELECT "City of license" FROM table_37352 WHERE "Frequency MHz" < '95.9' AND "Call sign" = 'w223au'
### Instruction: CREATE TABLE table_203_362 ( id number, "school" text, "location" text, "outright titles" number, "shared titles" number, "runners-up" number, "total finals" number, "last title" number, "last final" number ) -- Using valid SQLite, answer the following questions fo...
SELECT "school" FROM table_203_362 WHERE "shared titles" = (SELECT MAX("shared titles") FROM table_203_362)
### 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 ORDER BY "points" DESC LIMIT 1
### Instruction: CREATE TABLE table_74938 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Partner in a game with the Score...
SELECT "Partner" FROM table_74938 WHERE "Surface" = 'hard' AND "Score" = '6–4, 6–2'
### Instruction: CREATE TABLE table_33947 ( "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. -- Which tournament has a hard surface and final oppon...
SELECT "Tournament" FROM table_33947 WHERE "Surface" = 'hard' AND "Opponents in the final" = 'rohan bopanna & mustafa ghouse'
### Instruction: CREATE TABLE table_203_145 ( id number, "position" number, "club" text, "played" number, "points" text, "wins" number, "draws" number, "losses" number, "goals for" number, "goals against" number, "goal difference" number ) -- Using valid SQLite, answer the ...
SELECT COUNT("club") FROM table_203_145 WHERE "wins" < 10
### Instruction: CREATE TABLE table_34941 ( "Date" text, "Opponent#" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponent name at memorial stadium minneapolis, mn on 10/20/1928? ### Res...
SELECT "Opponent#" FROM table_34941 WHERE "Site" = 'memorial stadium • minneapolis, mn' AND "Date" = '10/20/1928'
### Instruction: CREATE TABLE table_30149 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production" text, "U.S. viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the ta...
SELECT "Directed by" FROM table_30149 WHERE "Production" = '2M5901'
### Instruction: CREATE TABLE table_23465864_4 ( sat_29_aug VARCHAR, tues_25_aug VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August? ### Respons...
SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "22' 54.20 98.842mph"
### Instruction: CREATE TABLE table_40768 ( "Club" text, "Wins" real, "Losses" real, "Points For" real, "Points Against" real, "Percentage" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Points For when the...
SELECT AVG("Points For") FROM table_40768 WHERE "Points Against" > '780' AND "Points" < '0'
### Instruction: CREATE TABLE table_37200 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text, "Primary conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the primary confe...
SELECT "Primary conference" FROM table_37200 WHERE "Founded" < '1866' AND "Affiliation" = 'private/catholic'
### Instruction: CREATE TABLE table_27605 ( "Team" text, "Played" real, "Won" real, "Lost" real, "No-Result" real, "Abandoned" real, "Bonus Points" real, "Total Points" real, "Net Run Rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT "Team" FROM table_27605 WHERE "Net Run Rate" = '0.134'
### Instruction: CREATE TABLE table_75374 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest week that has an attendance greater than 23,058, with october 24, 19...
SELECT MIN("Week") FROM table_75374 WHERE "Attendance" > '23,058' AND "Date" = 'october 24, 1943'
### Instruction: CREATE TABLE table_20183 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "Margin of victory" text, "Tournament Location" text, "Purse ( US$ )" real, "Winners share" real ) -- Using valid SQLite, answer the following questions for the tab...
SELECT MIN("Purse ( US$ )") FROM table_20183 WHERE "Year" = '2011'
### 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 Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank ORDER BY Rank
### Instruction: CREATE TABLE table_2462 ( "#" real, "Japanese title" text, "R\u014dmaji" text, "Japanese translation" text, "Vocalist" text, "Episodes used" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When pok mon ieru kana? bw is the romaji...
SELECT "Vocalist" FROM table_2462 WHERE "R\u014dmaji" = 'Pokémon ieru kana? BW'
### Instruction: CREATE TABLE table_204_156 ( id number, "year" number, "crystal bicycle\n(best professional cyclist)" text, "best young rider" text, "best manager" text, "crystal drop of sweat\n(best helper)" text ) -- Using valid SQLite, answer the following questions for the tables provided...
SELECT COUNT(*) FROM table_204_156 WHERE "crystal bicycle\n(best professional cyclist)" = 'johan museeuw'
### Instruction: CREATE TABLE table_16275 ( "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. -- H...
SELECT "U.S. viewers (millions)" FROM table_16275 WHERE "Directed by" = 'Matt Earl Beesley'
### Instruction: CREATE TABLE table_name_84 ( gain INTEGER, long VARCHAR, name VARCHAR, loss VARCHAR, avg_g VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gain is the lowest one that has a Loss larger than 2, and an Avg/G larger than -6, an...
SELECT MIN(gain) FROM table_name_84 WHERE loss > 2 AND avg_g > -6 AND name = "sheehan, tyler" AND long > 11
### Instruction: CREATE TABLE table_204_563 ( id number, "abbreviation" text, "settlement" text, "district" text, "official name" text, "division" text, "cup" number, "other information" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- doe...
SELECT "division" FROM table_204_563 WHERE "division" IN ('vitonen', 'kutonen') GROUP BY "division" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_name_96 ( numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a ...
SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw"
### Instruction: CREATE TABLE table_12834 ( "2013" text, "2012" text, "2011" text, "2010" text, "2009" text, "2008" text, "2007" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 2009 has 52-75 as the 2010? ### Response:
SELECT "2009" FROM table_12834 WHERE "2010" = '52-75'
### Instruction: CREATE TABLE table_66608 ( "Year" real, "Championship" text, "Event" text, "Nation" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did Canada get a silver in the olympics in the Men's Coxless Pair event? #...
SELECT MIN("Year") FROM table_66608 WHERE "Nation" = 'canada' AND "Result" = 'silver' AND "Championship" = 'olympics' AND "Event" = 'men''s coxless pair'
### Instruction: CREATE TABLE table_33111 ( "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 away side's score w...
SELECT "Away team score" FROM table_33111 WHERE "Home team score" = '15.14 (104)'
### Instruction: CREATE TABLE table_35408 ( "Year" real, "Jewish" real, "Muslim" real, "Christian" real, "Druze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest jewish that has a druze less than 2,517, and a year ...
SELECT MIN("Jewish") FROM table_35408 WHERE "Druze" < '2,517' AND "Year" < '2007'
### Instruction: CREATE TABLE table_40604 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Pekovi , and...
SELECT MAX("Games") FROM table_40604 WHERE "Rebounds" > '100' AND "Name" = 'nikola peković' AND "Rank" < '4'
### Instruction: CREATE TABLE table_29704 ( "Model" text, "PPI (pixels per inch )" real, "ppcm (pixels per cm )" real, "Resolution" text, "Typical viewing distance (in/cm)" text, "Pixels per degree (PPD)" real ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT "Resolution" FROM table_29704 WHERE "Pixels per degree (PPD)" = '69'
### Instruction: CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) -- Using valid SQ...
SELECT Author, COUNT(Author) FROM submission GROUP BY Author ORDER BY COUNT(Author) DESC
### Instruction: CREATE TABLE table_204_926 ( id number, "#" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which competitor received the saem score as sandra ...
SELECT "player" FROM table_204_926 WHERE "player" <> 'sandra haynie' AND "score" = (SELECT "score" FROM table_204_926 WHERE "player" = 'sandra haynie')
### Instruction: CREATE TABLE table_50697 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE 2011 PERFORMANCE WITH A 2007 OF Q3? ### Respo...
SELECT "2011" FROM table_50697 WHERE "2007" = 'q3'
### Instruction: CREATE TABLE table_62532 ( "Name / Generation" text, "Model" text, "Frequency [MHz]" text, "Architecture version" text, "Cores" text, "Process [nm]" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the architec...
SELECT "Name / Generation" FROM table_62532 WHERE "Architecture version" = 'mips-iii 64-bit' AND "Model" = '2b'
### Instruction: CREATE TABLE table_32840 ( "Player" text, "Span" text, "Start" text, "Tries" text, "Conv" text, "Pens" text, "Drop" text, "Lost" text, "Draw" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What drop had 0 pens, 1 dra...
SELECT "Drop" FROM table_32840 WHERE "Pens" = '0' AND "Draw" = '1' AND "Tries" = '8'
### Instruction: CREATE TABLE table_51304 ( "Outcome" text, "Year" real, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the outcome when the opponent in the final i...
SELECT "Outcome" FROM table_51304 WHERE "Year" > '1882' AND "Opponent in the final" = 'william renshaw'
### Instruction: CREATE TABLE table_17707 ( "Year" real, "Total Region" real, "Biggenden" real, "Eidsvold" real, "Gayndah" real, "Monto" real, "Mundubbera" real, "Perry" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum ...
SELECT MIN("Mundubbera") FROM table_17707 WHERE "Biggenden" = '1882'
### Instruction: CREATE TABLE table_32024 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At the UFC 78, what is the average...
SELECT AVG("Round") FROM table_32024 WHERE "Time" = '5:00' AND "Event" = 'ufc 78'
### Instruction: CREATE TABLE table_name_96 ( polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in hi...
SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)"
### Instruction: CREATE TABLE table_20573 ( "Date (CE)" text, "Text" text, "Simplified characters" text, "Traditional characters" text, "Pinyin" text, "Wade-Giles" text, "Literal meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name t...
SELECT "Simplified characters" FROM table_20573 WHERE "Wade-Giles" = 'ch''ing-yüan … i-ma'
### Instruction: CREATE TABLE table_4221 ( "Seed" real, "Rank" real, "Player" text, "Points" real, "Points defending" real, "Points won" real, "New points" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player had th...
SELECT "Player" FROM table_4221 WHERE "Status" = 'Fourth round lost to Tsvetana Pironkova [32]'
### Instruction: CREATE TABLE table_27682 ( "22/06/2008" text, "Indonesia Super Series 2008" text, "S.Series" text, "7800.00" text, "Runner-Up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which s.series occurred on 06/05/2007? ### Response:
SELECT "S.Series" FROM table_27682 WHERE "22/06/2008" = '06/05/2007'
### Instruction: CREATE TABLE table_73382 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many drivers drove on S...
SELECT COUNT("Winning Driver") FROM table_73382 WHERE "Circuit" = 'Suzuka Circuit' AND "Pole Position" = 'Loïc Duval'
### Instruction: CREATE TABLE table_21473 ( "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_21473 WHERE "High rebounds" = 'Dirk Nowitzki (13)'
### Instruction: CREATE TABLE table_47563 ( "Malayalam" text, "\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text, "English" text, "Kannada" text, "Tamil" text, "Hindi" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT HINDI HAS Tamil of vyazhan? ##...
SELECT "Hindi" FROM table_47563 WHERE "Tamil" = 'vyazhan'
### Instruction: CREATE TABLE table_12832 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of gold medals won among participants that won less than 13 silver,...
SELECT AVG("Gold") FROM table_12832 WHERE "Silver" < '13' AND "Total" > '18' AND "Bronze" < '8'
### Instruction: CREATE TABLE table_36475 ( "Year" real, "NFL Team" text, "Position" text, "Team Defense Rank" real, "Team Performance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the position of the player whose team lost super bowl xxv...
SELECT "Position" FROM table_36475 WHERE "Team Defense Rank" > '3' AND "Year" < '1992' AND "Team Performance" = 'lost super bowl xxv'
### Instruction: CREATE TABLE table_29552 ( "Season" text, "Points per Game" text, "Total Yards per Game" text, "Rushing Yards per Game" text, "Passing Yards per Game" text, "Sacks" text, "Interceptions" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
SELECT "Points per Game" FROM table_29552 WHERE "Passing Yards per Game" = '179.6'
### Instruction: CREATE TABLE table_21153 ( "Season" real, "Class" text, "Motorcycle" text, "Team" text, "Races" real, "Wins" real, "Podiums" real, "Poles" real, "FLaps" real, "Points" text, "Placement" text ) -- Using valid SQLite, answer the following questions for the ta...
SELECT COUNT("FLaps") FROM table_21153 WHERE "Points" = '63'
### Instruction: CREATE TABLE table_train_48 ( "id" int, "in_another_study" bool, "renal_disease" bool, "receiving_vasopressor" bool, "sepsis" bool, "hypotension" bool, "septic_shock" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the t...
SELECT * FROM table_train_48 WHERE renal_disease = 1
### Instruction: CREATE TABLE table_train_13 ( "id" int, "active_infection" bool, "procalcitonin" int, "receiving_vasopressor" bool, "sepsis" bool, "septic_shock" bool, "age" float, "lactate" int, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables ...
SELECT * FROM table_train_13 WHERE age >= 18 AND age <= 80
### Instruction: CREATE TABLE table_73794 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Nickname" text, "US News Ranking 2014 for Liberal Arts" text, "Football?" text ) -- Using valid SQLite, answer the following questions fo...
SELECT "Type" FROM table_73794 WHERE "Location" = 'Swarthmore, Pennsylvania'
### Instruction: CREATE TABLE table_29531 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (millions)" text, "Original U.S. air date" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
SELECT "U.S. viewers (millions)" FROM table_29531 WHERE "Written by" = 'Jack Sanderson'
### Instruction: CREATE TABLE table_19051 ( "#" real, "Episode title" text, "Writer(s)" text, "Director" text, "Prod. Code" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many original airdate with writer(s) being be...
SELECT COUNT("Original airdate") FROM table_19051 WHERE "Writer(s)" = 'Becky Hartman Edwards' AND "Director" = 'Adam Nimoy'
### Instruction: CREATE TABLE table_37064 ( "Driver" text, "Entries" real, "Points" real, "Average points per race entered" real, "Average pre-2010" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest average points per race entered of...
SELECT MIN("Average points per race entered") FROM table_37064 WHERE "Driver" = 'kimi räikkönen' AND "Entries" > '194'
### Instruction: CREATE TABLE table_2388 ( "Episode" real, "First Air Date" text, "Rating (18\u201349)" text, "Share (18\u201349)" real, "Viewers (millions)" text, "Rank (timeslot)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the rank ti...
SELECT "Rank (timeslot)" FROM table_2388 WHERE "Viewers (millions)" = '11.59'
### Instruction: CREATE TABLE table_204_832 ( id number, "name" text, "nationality" text, "club" text, "from" number, "until" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who coached the silverbacks longer , abundis or chacon ? ### Response:...
SELECT "name" FROM table_204_832 WHERE "name" IN ('jose manuel abundis', 'alex pineda chacon') AND "club" = 'atlanta silverbacks' ORDER BY "until" - "from" DESC LIMIT 1
### Instruction: CREATE TABLE table_12416 ( "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 8:30 has e! specials as the 9:30? ### Response:
SELECT "8:30" FROM table_12416 WHERE "9:30" = 'e! specials'
### Instruction: CREATE TABLE table_69777 ( "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. -- for the 8:00 of kid nation what is at 10:00? ### Response:
SELECT "10:00" FROM table_69777 WHERE "8:00" = 'kid nation'
### Instruction: CREATE TABLE table_22153 ( "Year to April" real, "Revenue (US $million)" text, "EBIT (US $m)" text, "Net profit (US $m)" text, "Earnings per share (\u00a2)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earnings per sha...
SELECT "Earnings per share (\u00a2)" FROM table_22153 WHERE "Net profit (US $m)" = '16.2'
### Instruction: CREATE TABLE table_27528 ( "June 10-11" text, "March 27-29" text, "January 15-16" text, "November 3" text, "August 21-22" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many solar eclipse on June 10-11, while November 3 is 153? ...
SELECT "June 10-11" FROM table_27528 WHERE "November 3" = '153'
### Instruction: CREATE TABLE table_12720275_1 ( combined_statistical_area__or_metropolitan_statistical_area_if_noted_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2007 estimate for tulsa-bartlesville, ok csa? ### Response:
SELECT 2007 AS _estimate FROM table_12720275_1 WHERE combined_statistical_area__or_metropolitan_statistical_area_if_noted_ = "Tulsa-Bartlesville, OK CSA"
### Instruction: CREATE TABLE table_name_36 ( country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country's material was concrete when the span metres were le...
SELECT country FROM table_name_36 WHERE material = "concrete" AND span_metres < 270 AND span_feet > 837 AND year_opened = "1943"
### Instruction: CREATE TABLE table_204_495 ( id number, "date" text, "opponent" text, "venue" text, "result" text, "attendance" number, "scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what 's the number of people who attended the c...
SELECT "attendance" FROM table_204_495 WHERE "opponent" = 'chelsea' AND "date" = '29 august 1987'
### Instruction: CREATE TABLE table_16289 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" real, "Sweet Sixteen" real, "Elite Eight" real, "Final Four" real, "Championship Game" real ) -- Using valid SQLite, answer the following questions for the ta...
SELECT "Round of 32" FROM table_16289 WHERE "Conference" = 'Conference USA'
### Instruction: CREATE TABLE table_70551 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the smallest number of laps marco simoncelli has with grid less than 8 and...
SELECT MIN("Laps") FROM table_70551 WHERE "Manufacturer" = 'gilera' AND "Rider" = 'marco simoncelli' AND "Grid" < '8'
### Instruction: CREATE TABLE table_20222 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- IN THE ISSUE WHERE NICOLE NARAIN WAS...
SELECT "Interview subject" FROM table_20222 WHERE "Centerfold model" = 'Nicole Narain'
### Instruction: CREATE TABLE table_203_687 ( id number, "#" number, "title" text, "time" text, "performer(s)" text, "songwriters" text, "producer(s)" text, "samples and notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which track i...
SELECT "title" FROM table_203_687 WHERE "title" IN ('"ny weather report"', '"country cousins"') ORDER BY "time" DESC LIMIT 1
### Instruction: CREATE TABLE table_39896 ( "Player" text, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Years in Orlando has a Nationality of united states, a P...
SELECT "Years in Orlando" FROM table_39896 WHERE "Nationality" = 'united states' AND "Position" = 'center' AND "Player" = 'jawann oldham'
### Instruction: CREATE TABLE table_3745 ( "Version" text, "Codename" text, "Edition" text, "Code Base" text, "Compatible repository" text, "Default desktop environment" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wha...
SELECT "Default desktop environment" FROM table_3745 WHERE "Edition" = 'KDE' AND "Compatible repository" = 'Ubuntu 13.04'
### Instruction: CREATE TABLE Companies ( id VARCHAR ) CREATE TABLE Office_locations ( building_id VARCHAR, company_id VARCHAR ) CREATE TABLE buildings ( name VARCHAR, id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the names of the buil...
SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T1.building_id HAVING COUNT(*) > 1
### Instruction: CREATE TABLE table_name_47 ( time_to_ft__m__at_55 INTEGER, time_to_ft__m__at_40°__seconds_ INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum amount of time a shell travels at 55 when it traveled less than 9.6 seconds at 40 ?...
SELECT MAX(time_to_ft__m__at_55) AS °__seconds_ FROM table_name_47 WHERE time_to_ft__m__at_40°__seconds_ < 9.6
### Instruction: CREATE TABLE table_70156 ( "Year" real, "Class" text, "Tyres" text, "Team" text, "Co-Drivers" text, "Laps" real, "Pos." text, "Class Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Class Pos have Laps smaller ...
SELECT "Class Pos." FROM table_70156 WHERE "Laps" < '304' AND "Year" > '2001'
### Instruction: CREATE TABLE table_name_67 ( sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sequence length (aa) of the protein with the common name Purpl...
SELECT SUM(sequence_length__aa_) FROM table_name_67 WHERE common_name = "purple sea urchin" AND divergence_from_human_lineage__mya_ < 742.9
### Instruction: CREATE TABLE table_44863 ( "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_44863 WHERE "High points" = 'joe johnson (31)'
### Instruction: CREATE TABLE table_73422 ( "Year" real, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tab...
SELECT "Year" FROM table_73422 WHERE "Laps" = '301*'
### Instruction: CREATE TABLE table_20985 ( "Season" real, "Class" text, "Team" text, "Motorcycle" text, "Type" text, "Races" real, "Wins" real, "Podiums" real, "Poles" real, "Fastest Laps" real, "Pts" text, "Position" text ) -- Using valid SQLite, answer the following ...
SELECT MIN("Poles") FROM table_20985
### Instruction: CREATE TABLE table_204_506 ( id number, "seasons" number, "team" text, "ch.wins" number, "promotions" number, "relegations" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who had the most promotions , nuova sebastiani rieti or...
SELECT "team" FROM table_204_506 WHERE "team" IN ('nuova sebastiani rieti', 'new basket brindisi') ORDER BY "promotions" DESC LIMIT 1
### Instruction: CREATE TABLE table_50415 ( "City" text, "State" text, "2010 population" text, "Peak population (year)" text, "Numeric decline from peak population" text, "Percent decline from peak population" text ) -- Using valid SQLite, answer the following questions for the tables provided...
SELECT "Numeric decline from peak population" FROM table_50415 WHERE "Percent decline from peak population" = '-16.76%'
### Instruction: CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) -- Using valid SQLite, answer the following questions for the tables provided above...
SELECT T2.Name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.Track_ID = T2.Track_ID GROUP BY T1.Track_ID
### Instruction: CREATE TABLE table_25860 ( "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 points") FROM table_25860 WHERE "Location Attendance" = 'Pepsi Center 19,756'
### Instruction: CREATE TABLE table_203_135 ( id number, "institution" text, "location" text, "founded" number, "type" text, "enrollment" number, "joined" number, "nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which conference...
SELECT "institution" FROM table_203_135 WHERE "institution" IN ('bryan college', 'montreat college') ORDER BY "founded" LIMIT 1
### Instruction: CREATE TABLE table_41453 ( "Rank" real, "Location" text, "Total Passengers" real, "Annual change" text, "Capacity" real, "Capacity in use" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the capacity in use of the airport...
SELECT "Capacity in use" FROM table_41453 WHERE "Location" = 'rio de janeiro' AND "Annual change" = '40.53%'
### Instruction: CREATE TABLE table_25632 ( "Season" text, "Junior (South) Winners" text, "Intermediate (South) Winners" text, "Minor (South) Winners" text, "Primary (South) Winners" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the season ...
SELECT COUNT("Season") FROM table_25632 WHERE "Primary (South) Winners" = 'Ridings High ''A'
### Instruction: CREATE TABLE table_name_96 ( silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total number of Silver that has Gold that's larger than 0, Bronze that's s...
SELECT COUNT(silver) FROM table_name_96 WHERE gold > 0 AND bronze < 23 AND total > 22 AND nation = "saint kitts and nevis"
### Instruction: CREATE TABLE management ( department_id number, head_id number, temporary_acting text ) CREATE TABLE department ( department_id number, name text, creation text, ranking number, budget_in_billions number, num_employees number ) CREATE TABLE head ( head_id numbe...
SELECT COUNT(*) FROM head WHERE age > 56
### Instruction: CREATE TABLE table_10094 ( "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. -- Tell me the date for emery and home of ottawa wit...
SELECT "Date" FROM table_10094 WHERE "Decision" = 'emery' AND "Attendance" > '19,575' AND "Home" = 'ottawa'
### 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. -- at the women 's 200 meter individual medley sm10 even...
SELECT "time" FROM table_204_422 WHERE "name" = 'aurelie rivard'
### Instruction: CREATE TABLE artwork ( artwork_id number, type text, name text ) CREATE TABLE nomination ( artwork_id number, festival_id number, result text ) CREATE TABLE festival_detail ( festival_id number, festival_name text, chair_name text, location text, year numbe...
SELECT name FROM artwork WHERE type <> "Program Talent Show"
### Instruction: CREATE TABLE table_203_17 ( id number, "name" text, "date of death" text, "ceremony" text, "year" text, "academy award" text, "film" text, "winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who 's date of death was ...
SELECT "name" FROM table_203_17 WHERE "date of death" > 1990 AND "date of death" < 1992
### Instruction: CREATE TABLE table_2610 ( "#" text, "Spacecraft" text, "Spacewalkers" text, "Start ( UTC )" text, "End (UTC)" text, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the start (utc) is November 18, 2008 18:09, what is...
SELECT "Spacecraft" FROM table_2610 WHERE "Start ( UTC )" = 'November 18, 2008 18:09'
### Instruction: CREATE TABLE table_train_198 ( "id" int, "hemoglobin_a1c_hba1c" float, "fasting_plasma_glucose" int, "diabetes" bool, "body_mass_index_bmi" float, "type_1_patients" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT * FROM table_train_198 WHERE body_mass_index_bmi >= 25
### Instruction: CREATE TABLE table_66008 ( "Ship" text, "Year" real, "Dates" text, "Line" text, "From" text, "Distance" text, "Days, hours, minutes" text, "Speed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did the ship Eur...
SELECT AVG("Year") FROM table_66008 WHERE "Ship" = 'europa' AND "Dates" = '14 – 23 october'
### Instruction: CREATE TABLE table_7402 ( "Model number" text, "Frequency" text, "L2 cache" text, "Multi 1" text, "Voltage" text, "Socket" text, "Release date" text, "Order part number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHa...
SELECT "L2 cache" FROM table_7402 WHERE "Model number" = 'turion x2 ultra zm-85'
### Instruction: CREATE TABLE table_8754 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has an Event of 10,000 m, and a Competition of world championships, and ...
SELECT "Position" FROM table_8754 WHERE "Event" = '10,000 m' AND "Competition" = 'world championships' AND "Year" > '1993'
### Instruction: CREATE TABLE table_73492 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the year for clay for boston and...
SELECT "Year" FROM table_73492 WHERE "Surface" = 'Clay' AND "Championship" = 'Boston' AND "Opponent in the final" = 'Guillermo Vilas'
### Instruction: CREATE TABLE table_69001 ( "Engine code" text, "Displacement" text, "Power, Torque@rpm" text, "Redline (rpm)" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Redline RPM of engines with engine code M5...
SELECT AVG("Redline (rpm)") FROM table_69001 WHERE "Engine code" = 'm57tud30' AND "Year" > '2002'