instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_66758 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of the player from the United States with a score of 69-68-65=202? ##...
SELECT "To par" FROM table_66758 WHERE "Country" = 'united states' AND "Score" = '69-68-65=202'
### Instruction: CREATE TABLE table_train_75 ( "id" int, "pregnancy_or_lactation" bool, "alzheimer" bool, "alzheimer_family_history" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fami...
SELECT * FROM table_train_75 WHERE alzheimer_family_history = 1
### Instruction: CREATE TABLE table_5650 ( "Name" text, "Tenure" text, "Courtesy title" text, "Court Rank" text, "revenues" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tenure of the person with revenues of 60,000-->58,000 koku? ### ...
SELECT "Tenure" FROM table_5650 WHERE "revenues" = '60,000-->58,000 koku'
### Instruction: CREATE TABLE table_20352 ( "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_20352 WHERE "Team" = 'New Orleans'
### Instruction: CREATE TABLE table_4829 ( "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 is the away team that scored...
SELECT "Away team" FROM table_4829 WHERE "Away team score" = '10.13 (73)'
### Instruction: CREATE TABLE table_44826 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much money was scored for 73-71-70-73=287? ### Response:
SELECT "Money ( $ )" FROM table_44826 WHERE "Score" = '73-71-70-73=287'
### Instruction: CREATE TABLE table_204_557 ( id number, "#" number, "date" text, "visitor" text, "score" text, "home" text, "record" text, "pts" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was a higher scoring game , game # 1...
SELECT "#" FROM table_204_557 WHERE "#" IN (1, 7) ORDER BY "score" + "score" DESC LIMIT 1
### Instruction: CREATE TABLE table_18754 ( "Frequency" text, "Call sign" text, "Name" text, "Format" text, "Owner" text, "Target city/ market" text, "City of license" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of Rapid ...
SELECT "Name" FROM table_18754 WHERE "City of license" = 'Rapid City' AND "Format" = 'Adult Contemporary'
### Instruction: CREATE TABLE table_56205 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to see the result for venue of n and attendance more than 20,...
SELECT "Result" FROM table_56205 WHERE "Venue" = 'n' AND "Attendance" > '20,664'
### Instruction: CREATE TABLE table_79870 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for kingdome game site and opp...
SELECT "Result" FROM table_79870 WHERE "Game site" = 'kingdome' AND "Opponent" = 'denver broncos'
### Instruction: CREATE TABLE table_204_853 ( id number, "pos" number, "grid" number, "no." number, "driver" text, "team" text, "manufacturer" text, "laps" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which drive...
SELECT "driver" FROM table_204_853 WHERE "team" = 'roush racing' ORDER BY "pos" LIMIT 1
### Instruction: CREATE TABLE table_19708 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of values for attenda...
SELECT COUNT("Attendance") FROM table_19708 WHERE "Date" = 'October 1, 1978'
### Instruction: CREATE TABLE table_204_910 ( id number, "rank" number, "name" text, "nationality" text, "result" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many athletes had a better result than tatyana bocharova ? ###...
SELECT COUNT("name") FROM table_204_910 WHERE "result" > (SELECT "result" FROM table_204_910 WHERE "name" = 'tatyana bocharova')
### Instruction: CREATE TABLE table_31086 ( "Year" real, "Number of tropical storms" real, "Number of hurricanes" real, "Number of major hurricanes" real, "Deaths" text, "Strongest storm" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many d...
SELECT COUNT("Deaths") FROM table_31086 WHERE "Number of hurricanes" = '6'
### Instruction: CREATE TABLE table_51504 ( "Pick" real, "Player" text, "Nationality" text, "NBA Team" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the player who had the pick of 52 and plays for...
SELECT "Nationality" FROM table_51504 WHERE "NBA Team" = 'phoenix suns' AND "Pick" = '52'
### Instruction: CREATE TABLE table_45979 ( "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 when Calgary was visiting team...
SELECT "Score" FROM table_45979 WHERE "Decision" = 'niittymaki' AND "Visitor" = 'calgary'
### Instruction: CREATE TABLE table_51787 ( "Tournament" text, "Wins" real, "Top-5" 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 top-25 value for majors tha...
SELECT AVG("Top-25") FROM table_51787 WHERE "Wins" > '0'
### Instruction: CREATE TABLE table_204_696 ( id number, "issue" number, "volume" number, "title" text, "main feature story" text, "first/early appearance story/stories" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wha...
SELECT "title" FROM table_204_696 WHERE "release date" = '27 dec 2013'
### Instruction: CREATE TABLE table_name_66 ( touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of touchdowns that Snow made that had 0 field goa...
SELECT MIN(touchdowns) FROM table_name_66 WHERE points > 5 AND field_goals = 0 AND player = "snow" AND extra_points > 0
### Instruction: CREATE TABLE table_70562 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest points value for 1962, in the 125cc class, and with 0 wins? ### Response:
SELECT MAX("Points") FROM table_70562 WHERE "Year" = '1962' AND "Class" = '125cc' AND "Wins" < '0'
### Instruction: CREATE TABLE table_46361 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total round of the rb player from Purdue with a pick less t...
SELECT COUNT("Round") FROM table_46361 WHERE "Position" = 'rb' AND "College" = 'purdue' AND "Pick" < '3'
### Instruction: CREATE TABLE table_21920 ( "Year" real, "Date" text, "Driver" text, "Manufacturer" text, "Laps" real, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date di...
SELECT "Date" FROM table_21920 WHERE "Driver" = 'Jamie McMurray'
### Instruction: CREATE TABLE table_1700 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Original airdate" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 't...
SELECT COUNT("Series #") FROM table_1700 WHERE "Title" = 'The Telenovela'
### Instruction: CREATE TABLE table_203_163 ( id number, "year" number, "total" number, "serbs" text, "hungarians" text, "germans" text, "romanians" text, "slovaks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which years were the tota...
SELECT "year" FROM table_203_163 WHERE "total" >= 600000
### Instruction: CREATE TABLE table_54028 ( "Name" text, "Club" text, "Birth date" text, "Batting style" text, "Bowling style" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club is R. H. C. Human who has a right arm medium pace bowling style a...
SELECT "Club" FROM table_54028 WHERE "Bowling style" = 'right arm medium pace' AND "Name" = 'r. h. c. human'
### Instruction: CREATE TABLE table_train_16 ( "id" int, "bleeding" int, "brain_hernia" bool, "allergy_to_granisetron" bool, "intraperitoneal_infection" bool, "intestinal_obstruction" bool, "tumor" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tabl...
SELECT * FROM table_train_16 WHERE tumor = 1
### Instruction: CREATE TABLE table_204_609 ( id number, "year" number, "car" number, "start" number, "qual" number, "rank" number, "finish" number, "laps" number, "led" number, "retired" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
SELECT COUNT(*) FROM table_204_609 WHERE "laps" = 200
### Instruction: CREATE TABLE table_29930 ( "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 rebounds" FROM table_29930 WHERE "Date" = 'January 14'
### Instruction: CREATE TABLE table_name_22 ( to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of the player from the United States with a t6 place and a score of 70-73-68-73=284?...
SELECT to_par FROM table_name_22 WHERE country = "united states" AND place = "t6" AND score = 70 - 73 - 68 - 73 = 284
### Instruction: CREATE TABLE table_52878 ( "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 grid associated with under 26 laps and a Time/Retired of +6.077? ##...
SELECT AVG("Grid") FROM table_52878 WHERE "Time/Retired" = '+6.077' AND "Laps" < '26'
### 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 COUNT("school") FROM table_203_362 WHERE "shared titles" >= 3
### Instruction: CREATE TABLE table_203_590 ( id number, "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "scotland scorer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last opponent played in ...
SELECT "opponents" FROM table_203_590 WHERE "date" = 1950 ORDER BY "date" DESC LIMIT 1
### Instruction: CREATE TABLE table_1950 ( "Period" text, "Kit manufacturer" text, "Main sponsor" text, "Secondary sponsor" text, "Minor sponsors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 2011 is the period and olympikus is the kit manufa...
SELECT COUNT("Minor sponsors") FROM table_1950 WHERE "Kit manufacturer" = 'Olympikus' AND "Period" = '2011'
### Instruction: CREATE TABLE table_58884 ( "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is City / State, when Winner is 'Rohan Onslow', and when Circuit is 'Oran Park Ra...
SELECT "City / State" FROM table_58884 WHERE "Winner" = 'rohan onslow' AND "Circuit" = 'oran park raceway'
### Instruction: CREATE TABLE table_30104 ( "Series #" real, "Season #" real, "Title" 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. -- what is the name of the episode who...
SELECT "Title" FROM table_30104 WHERE "Written by" = 'Jeff Astrof & Matt Goldman'
### Instruction: CREATE TABLE table_12937 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has 0 points and a contact tired/retired, and 71 laps? ###...
SELECT "Team" FROM table_12937 WHERE "Points" = '0' AND "Time/Retired" = 'contact' AND "Laps" = '71'
### Instruction: CREATE TABLE table_203_242 ( id number, "season" text, "competition" text, "round" text, "club" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has fc shakhtyor salihorsk played ...
SELECT COUNT(*) FROM table_203_242 WHERE "competition" = 'uefa europa league'
### Instruction: CREATE TABLE table_204_929 ( id number, "location" text, "name of mill and\ngrid reference" text, "type" text, "maps" text, "first mention\nor built" text, "last mention\nor demise" number ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT COUNT(*) FROM table_204_929 WHERE "first mention\nor built" > 1800
### Instruction: CREATE TABLE table_26109 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. Code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to...
SELECT COUNT("Title") FROM table_26109 WHERE "No. in series" = '29'
### Instruction: CREATE TABLE table_71732 ( "Hull No." real, "Year" real, "Project" text, "Length overall in meters (without bowsprit)" real, "Name" text, "Destination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of hull number f...
SELECT SUM("Hull No.") FROM table_71732 WHERE "Destination" = 'italy' AND "Year" > '1999'
### Instruction: CREATE TABLE table_73697 ( "Season" real, "Celebrity" text, "Notability/Profession" text, "Professional partner" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the profession of the celebrity who was featured...
SELECT "Notability/Profession" FROM table_73697 WHERE "Season" = '15' AND "Finish" = '7th'
### Instruction: CREATE TABLE table_74385 ( "Year" real, "Network" text, "Play-by-play announcers" text, "s Color commentator" text, "Pregame hosts" text, "Pregame analysts" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the s color comme...
SELECT "s Color commentator" FROM table_74385 WHERE "Pregame hosts" = 'Jon Sciambi'
### Instruction: CREATE TABLE table_74761 ( "Event" text, "Time" text, "Nationality" text, "Date" text, "Meet" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where were the 2008 championships with a time of 7:56.90 held? ### R...
SELECT "Location" FROM table_74761 WHERE "Meet" = '2008 championships' AND "Time" = '7:56.90'
### Instruction: CREATE TABLE table_45107 ( "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 class is the laps greater than 134 and the p...
SELECT "Class" FROM table_45107 WHERE "Laps" > '134' AND "Pos." = '4th'
### Instruction: CREATE TABLE table_29278 ( "District" text, "Counties Represented" text, "Delegate" text, "Party" text, "First Elected" real, "Committee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where delegate is feldman, brian j. brian j...
SELECT "Party" FROM table_29278 WHERE "Delegate" = 'Feldman, Brian J. Brian J. Feldman'
### Instruction: CREATE TABLE table_203_716 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which three countries are tied for last place ? ...
SELECT "nation" FROM table_203_716 WHERE "rank" = (SELECT "rank" FROM table_203_716 ORDER BY "rank" DESC LIMIT 1)
### Instruction: CREATE TABLE table_43370 ( "Season" text, "Competition" text, "Round" text, "Opponent" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponent with a Round of q2, in the 2005 06 season? ### Response:
SELECT "Opponent" FROM table_43370 WHERE "Round" = 'q2' AND "Season" = '2005–06'
### Instruction: CREATE TABLE table_47788 ( "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 nation had more than 3 bronze, 0 gold, and a total of 9? ### Respons...
SELECT "Nation" FROM table_47788 WHERE "Bronze" > '3' AND "Gold" = '0' AND "Total" = '9'
### Instruction: CREATE TABLE table_43724 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79? ###...
SELECT COUNT("Draw") FROM table_43724 WHERE "Rank" = '3rd' AND "Performer" = 'noelle' AND "Points" > '79'
### Instruction: CREATE TABLE table_10914 ( "Matches" real, "Innings" real, "Not Outs" real, "Runs" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of runs when the average was less than 31.25 and there were f...
SELECT COUNT("Runs") FROM table_10914 WHERE "Average" > '31.25' AND "Innings" < '24'
### Instruction: CREATE TABLE table_1480 ( "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("Matches") FROM table_1480 WHERE "Player" = 'Arthur Morris'
### Instruction: CREATE TABLE table_7 ( "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. -- How many different positions did Sherbrooke Fauco...
SELECT COUNT("Position") FROM table_7 WHERE "College/junior/club team" = 'Sherbrooke Faucons (QMJHL)'
### Instruction: CREATE TABLE table_36256 ( "Date" text, "State" text, "George H.W. Bush" text, "Bob Dole" text, "Pat Robertson" text, "Jack Kemp" text, "Pete du Pont" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Pat Robertson was at ...
SELECT "Pete du Pont" FROM table_36256 WHERE "Pat Robertson" = '16%'
### Instruction: CREATE TABLE table_72625 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 2004, where the womens singles is ...
SELECT "Mens singles" FROM table_72625 WHERE "Womens singles" = 'Daniela Kressig'
### Instruction: CREATE TABLE table_72849 ( "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 assists" FROM table_72849 WHERE "Date" = 'March 18'
### Instruction: CREATE TABLE table_39402 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pick # is the highest one that has an Overall of 184, and a Rou...
SELECT MAX("Pick #") FROM table_39402 WHERE "Overall" = '184' AND "Round" > '6'
### Instruction: CREATE TABLE table_28003 ( "Episode #" real, "The W\u00f8rd" text, "Guest" text, "Introductory phrase" text, "Original airdate" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code o...
SELECT "Production code" FROM table_28003 WHERE "Original airdate" = 'December 01'
### Instruction: CREATE TABLE table_52709 ( "Rank" real, "Mountain Peak" text, "State" text, "Mountain Range" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mountain range at 37.3934 n 104.9201 w? ### Response:
SELECT "Mountain Range" FROM table_52709 WHERE "Location" = '37.3934°n 104.9201°w'
### Instruction: CREATE TABLE table_8082 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponent, when Event is RITC 22 - Rage In The Cage 22? ### Resp...
SELECT "Opponent" FROM table_8082 WHERE "Event" = 'ritc 22 - rage in the cage 22'
### Instruction: CREATE TABLE table_name_86 ( championship VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Championship has an Opponent in the final of aaron krickstein, and a Score in the fi...
SELECT championship FROM table_name_86 WHERE opponent_in_the_final = "aaron krickstein" AND score_in_the_final = "7–5, 6–2"
### Instruction: CREATE TABLE table_62980 ( "Year" real, "Category" text, "Nominee(s)" text, "Episode" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the nominee(s) is john wells what is the episode for a year before 2004? ### ...
SELECT "Episode" FROM table_62980 WHERE "Year" < '2004' AND "Nominee(s)" = 'john wells'
### Instruction: CREATE TABLE table_10966 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team scored 4.11 (35) whi...
SELECT "Away team" FROM table_10966 WHERE "Away team score" = '4.11 (35)'
### Instruction: CREATE TABLE table_79437 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From what school was the linebacker that had a pick less than 245 and was drafted in round...
SELECT "School" FROM table_79437 WHERE "Position" = 'linebacker' AND "Pick" < '245' AND "Round" = '6'
### Instruction: CREATE TABLE table_27094 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The game on Satu...
SELECT MIN("Week") FROM table_27094 WHERE "Date" = 'Saturday, May 25'
### Instruction: CREATE TABLE table_35942 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the final, who ...
SELECT "Opponents in the final" FROM table_35942 WHERE "Partner" = 'simon aspelin'
### Instruction: CREATE TABLE table_18905 ( "Rnd" real, "Circuit" text, "GTO Winning Team" text, "GTU Winning Team" text, "TO Winning Team" text, "TU Winning Team" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is Gene Fe...
SELECT "TO Winning Team" FROM table_18905 WHERE "GTO Winning Team" = 'Gene Felton'
### Instruction: CREATE TABLE table_53930 ( "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 at 8:30 when at 9:30 it is rules of engagement (reruns)? ### Response:
SELECT "8:30" FROM table_53930 WHERE "9:30" = 'rules of engagement (reruns)'
### Instruction: CREATE TABLE table_16926 ( "Governorate" text, "Name in Russian" text, "Name in Polish" text, "Seat" text, "Area, in thousands of km 2" real, "Population, in thousands,( 1905 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wha...
SELECT "Seat" FROM table_16926 WHERE "Name in Polish" = 'Gubernia warszawska'
### Instruction: CREATE TABLE table_204_125 ( id number, "state" text, "type" text, "name" text, "title" text, "royal house" text, "from" text, "to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was king right before kang ? ### Re...
SELECT "name" FROM table_204_125 WHERE id = (SELECT id FROM table_204_125 WHERE "name" = 'kang') - 1
### Instruction: CREATE TABLE table_22435 ( "Rank" real, "Title" text, "Release Date" text, "Franchise" text, "Developer(s)" text, "Platform" text, "Units sold (in Millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many titles wer...
SELECT COUNT("Rank") FROM table_22435 WHERE "Release Date" = '21 October 1992'
### Instruction: CREATE TABLE table_32947 ( "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 away team has a score of ...
SELECT "Away team" FROM table_32947 WHERE "Away team score" = '9.12 (66)'
### Instruction: CREATE TABLE table_10469 ( "Independent" text, "Lost" real, "Tied" real, "Pct." real, "Years" real, "Total Games" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of tied games when Old Dominion is the ind...
SELECT SUM("Tied") FROM table_10469 WHERE "Independent" = 'old dominion' AND "Years" > '4'
### Instruction: CREATE TABLE table_49861 ( "Province" text, "Skip" text, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Shot Pct., when Stolen End...
SELECT "Shot Pct." FROM table_49861 WHERE "Stolen Ends" = '2'
### Instruction: CREATE TABLE table_203_778 ( id number, "representative" text, "title" text, "presentation\nof credentials" text, "termination\nof mission" text, "appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the length ...
SELECT "termination\nof mission" - "presentation\nof credentials" FROM table_203_778 WHERE "representative" = 'leslie combs'
### Instruction: CREATE TABLE table_21995 ( "No. in series" real, "No. in season" real, "Title" text, "Country" text, "Project" text, "Status at production" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what cou...
SELECT "Country" FROM table_21995 WHERE "Title" = 'Amsterdam''s Futuristic Floating City'
### Instruction: CREATE TABLE table_74046 ( "No." real, "Title" text, "Directed by" text, "Story by" text, "Teleplay by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the us vie...
SELECT "U.S. viewers (millions)" FROM table_74046 WHERE "Directed by" = 'Christine Moore'
### Instruction: CREATE TABLE table_203_580 ( id number, "title" text, "release" number, "genre" text, "computer" text, "console" text, "handheld" text, "smartphone" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last releas...
SELECT "title" FROM table_203_580 WHERE "handheld" = 'game boy advance' ORDER BY "release" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_97 ( rank INTEGER, sales__billion_$_ VARCHAR, profits__billion_$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank of the company with more than 146.56 billion in sales and profits of 11.68 ...
SELECT AVG(rank) FROM table_name_97 WHERE sales__billion_$_ > 146.56 AND profits__billion_$_ = 11.68
### Instruction: CREATE TABLE table_22689 ( "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 Barurumea R...
SELECT MAX("Col (m)") FROM table_22689 WHERE "Peak" = 'Barurumea Ridge'
### Instruction: CREATE TABLE table_name_95 ( density__people_km_2__ VARCHAR, area__km_2__ VARCHAR, population__2012_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the density of an area that is 1.38km and has a population more than 12924? ###...
SELECT COUNT(density__people_km_2__) FROM table_name_95 WHERE area__km_2__ > 1.38 AND population__2012_ > 12924
### Instruction: CREATE TABLE table_55082 ( "Season" text, "Club" text, "National League" text, "National Cup" text, "European Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the club that has the turkish basketball cup and fiba eurochal...
SELECT "Club" FROM table_55082 WHERE "National Cup" = 'turkish basketball cup' AND "European Cup" = 'fiba eurochallenge (3rd tier)'
### Instruction: CREATE TABLE table_40731 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponents from the ...
SELECT "Opponents in the final" FROM table_40731 WHERE "Tournament" = 'puebla'
### Instruction: CREATE TABLE table_28013 ( "Episode #" real, "The W\u00f8rd" text, "Guest" text, "Introductory phrase" text, "Original airdate" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many production codes wer...
SELECT COUNT("Production code") FROM table_28013 WHERE "Original airdate" = 'November 15'
### Instruction: CREATE TABLE table_77065 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent with a score of 4-6, 7-5, 4-6? ### Respons...
SELECT "Opponent" FROM table_77065 WHERE "Score" = '4-6, 7-5, 4-6'
### Instruction: CREATE TABLE table_3123 ( "Rank" text, "Player" text, "Nationality" text, "Team" text, "Opponent" text, "Score" text, "Competition" text, "Vote percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the name...
SELECT "Player" FROM table_3123 WHERE "Vote percentage" = '7.85%'
### Instruction: CREATE TABLE table_32094 ( "Name" text, "Canton" text, "Height (meters)" real, "Crest length (meters)" real, "Type" text, "Year of construction" real, "Name of the Lake" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me...
SELECT "Name of the Lake" FROM table_32094 WHERE "Crest length (meters)" = '430'
### Instruction: CREATE TABLE table_30779 ( "Player" text, "Matches" real, "Overs" text, "Wickets" real, "Average" text, "Economy" text, "BBI" text, "4wi" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many economy stats for the play...
SELECT COUNT("Economy") FROM table_30779 WHERE "BBI" = '2/19'
### Instruction: CREATE TABLE table_53184 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest lap for Luigi Piotti with more than 13 grid and a time/retire...
SELECT MAX("Laps") FROM table_53184 WHERE "Grid" > '13' AND "Time/Retired" = 'engine' AND "Driver" = 'luigi piotti'
### Instruction: CREATE TABLE table_32721 ( "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 had a home team...
SELECT "Home team" FROM table_32721 WHERE "Home team score" = '15.8 (98)'
### Instruction: CREATE TABLE table_30240 ( "Week" real, "Start Date" text, "Type" text, "Tournament" text, "Surface" text, "Town" text, "Country" text, "Continent" text, "Prize Money" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
SELECT "Type" FROM table_30240 WHERE "Town" = 'Stuttgart'
### Instruction: CREATE TABLE table_26629 ( "Name" text, "Deceased Spouse" text, "Cause of Death" text, "Date of Spouses Death" text, "Length of Marriage" text, "Children Together" text, "Current Marital Status" text ) -- Using valid SQLite, answer the following questions for the tables pr...
SELECT "Name" FROM table_26629 WHERE "Deceased Spouse" = 'Louis Malle'
### Instruction: CREATE TABLE table_56932 ( "District" real, "Place of Birth" text, "Delegate" text, "Party" text, "Took Office" real, "Committee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which party belongs to district 41, and is delegate...
SELECT "Party" FROM table_56932 WHERE "District" = '41' AND "Delegate" = 'jill p. carter'
### Instruction: CREATE TABLE table_10556 ( "Class" text, "Wheel arrangement" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text, "Year(s) withdrawn" text, "Comments" text ) -- Using valid SQLite, answer the following questions for the tables p...
SELECT "Comments" FROM table_10556 WHERE "Year made" = '1875'
### Instruction: CREATE TABLE table_37328 ( "Unit" text, "Russian" text, "Translation" text, "Ratio" real, "Metric value" text, "Avoirdupois value" text, "Ordinary value" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest rat...
SELECT MAX("Ratio") FROM table_37328 WHERE "Ordinary value" = '84 zolotnik'
### Instruction: CREATE TABLE table_72671 ( "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("For") FROM table_72671 WHERE "Difference" = '7'
### Instruction: CREATE TABLE table_33489 ( "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 home team that sco...
SELECT "Home team" FROM table_33489 WHERE "Home team score" = '12.21 (93)'
### Instruction: CREATE TABLE table_33736 ( "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 home team when the...
SELECT "Home team" FROM table_33736 WHERE "Away team score" = '4.9 (33)'
### Instruction: CREATE TABLE table_18523 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party did the re-elected incumbent of the Texas 11...
SELECT "Party" FROM table_18523 WHERE "Result" = 'Re-elected' AND "District" = 'Texas 11'
### Instruction: CREATE TABLE table_2539 ( "Dateca" text, "Event #" text, "Event" text, "Winner" text, "Prize" text, "Entries" text, "Prize Pool" text, "Elapsed Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the event # whe...
SELECT "Event #" FROM table_2539 WHERE "Winner" = 'what is 7x6'
### Instruction: CREATE TABLE table_6585 ( "Designation (bore)" text, "Length Overall" text, "Weight of Gun" text, "Weight of Shot" text, "Weight of Shell" text, "Service Charge" text, "Range (yards)" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT "Weight of Shot" FROM table_6585 WHERE "Designation (bore)" = 'xx-inch'