instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_18655 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who ran for office at the Georgia 4 district in this el...
SELECT "Candidates" FROM table_18655 WHERE "District" = 'Georgia 4'
### Instruction: CREATE TABLE table_203_564 ( id number, "hand" text, "1 credit" number, "2 credits" number, "3 credits" number, "4 credits" number, "5 credits" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which hand is the top hand in t...
SELECT "hand" FROM table_203_564 WHERE id = 1
### Instruction: CREATE TABLE table_22822 ( "Team #1" text, "Agg. score" text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the team #2 in the round where team #1 is Iraklis? ### Response:
SELECT "Team #2" FROM table_22822 WHERE "Team #1" = 'Iraklis'
### 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. -- how many countries have at least 2 bronze medals...
SELECT COUNT("nation") FROM table_203_716 WHERE "bronze" >= 2
### Instruction: CREATE TABLE table_79069 ( "Elimination" text, "Wrestler" text, "Team" text, "Eliminated by" text, "Elimination Move" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Elimination move listed against Regal?...
SELECT "Elimination Move" FROM table_79069 WHERE "Wrestler" = 'regal'
### Instruction: CREATE TABLE table_80321 ( "Source" text, "Dates Administered" text, "Terry McAuliffe" text, "Brian Moran" text, "Creigh Deeds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Source has Terry McAuliffe of 36% ### Response:
SELECT "Source" FROM table_80321 WHERE "Terry McAuliffe" = '36%'
### Instruction: CREATE TABLE body_builder ( People_ID VARCHAR, Total INTEGER ) CREATE TABLE people ( Height VARCHAR, People_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the heights of body builders with total score smaller than 315? ...
SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total < 315
### Instruction: CREATE TABLE table_203_591 ( id number, "high school" text, "join\nyear" text, "from" text, "left" text, "league left to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many high schools had a league leave to big nine confer...
SELECT COUNT("high school") FROM table_203_591 WHERE "league left to" = 'big nine conference'
### Instruction: CREATE TABLE table_204_676 ( id number, "year" number, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year previous to 2005 ? ...
SELECT MAX("year") FROM table_204_676 WHERE "year" < 2005
### Instruction: CREATE TABLE table_14301 ( "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. -- What is the score for the player who won $3,600? ### Response:
SELECT "Score" FROM table_14301 WHERE "Money ( $ )" = '3,600'
### Instruction: CREATE TABLE table_32698 ( "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 lowest number of bronze medals for teams ranked below 13? ###...
SELECT MIN("Bronze") FROM table_32698 WHERE "Rank" > '13'
### Instruction: CREATE TABLE table_42222 ( "Former kingdom" text, "Province" text, "Hangul" text, "Hanja" text, "Capital" text, "Modern equivalent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the capital of the province with in Hangu...
SELECT "Capital" FROM table_42222 WHERE "Hangul" = '양주'
### Instruction: CREATE TABLE table_64594 ( "Version" text, "Standard name" text, "Common name" text, "Downstream rate" text, "Upstream rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the version that has a 20.0 mbit/s downstream rate? ...
SELECT "Version" FROM table_64594 WHERE "Downstream rate" = '20.0 mbit/s'
### Instruction: CREATE TABLE table_70336 ( "Race" real, "Circuit" text, "Location / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first race in Launceston, Tasmania? ### Response:
SELECT MIN("Race") FROM table_70336 WHERE "Location / State" = 'launceston, tasmania'
### Instruction: CREATE TABLE Manufacturers ( name VARCHAR, code VARCHAR ) CREATE TABLE products ( Price INTEGER, manufacturer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Select the average price of each manufacturer's products, showing the manuf...
SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name
### Instruction: CREATE TABLE table_203_37 ( id number, "#" number, "title" text, "producer(s)" text, "performer(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many tracks were produced by milanna miles and rick long ? #...
SELECT COUNT("title") FROM table_203_37 WHERE "producer(s)" = 'milann miles, rick long'
### Instruction: CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) -- Using valid SQLite, answer the following ques...
SELECT name FROM captain ORDER BY age DESC
### Instruction: CREATE TABLE table_43309 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did the player ranked less than 8 and had 447 matches play? ### Response:
SELECT "Years" FROM table_43309 WHERE "Rank" < '8' AND "Matches" = '447'
### Instruction: CREATE TABLE table_name_30 ( season VARCHAR, premier VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seasons feature essendon, and a Score of 15.12 (102) 9.14 (68)? ### Response:
SELECT COUNT(season) FROM table_name_30 WHERE premier = "essendon" AND score = "15.12 (102) – 9.14 (68)"
### Instruction: CREATE TABLE table_48967 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team #1 had a 2nd leg score of 88-83? ### Response:
SELECT "Team #1" FROM table_48967 WHERE "2nd leg" = '88-83'
### Instruction: CREATE TABLE table_6285 ( "Rank" text, "Institution" text, "Gold" real, "Silver" real, "Bronze" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of silvers for teams ranked 5 with 0 bronze? ### Response:
SELECT AVG("Silver") FROM table_6285 WHERE "Rank" = '5' AND "Bronze" < '0'
### Instruction: CREATE TABLE table_21080 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every name origin with the name Ovda Fluctu...
SELECT "Name origin" FROM table_21080 WHERE "Name" = 'Ovda Fluctus'
### Instruction: CREATE TABLE table_11149 ( "State" text, "Interview" real, "Swimsuit" real, "Evening Gown" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which biggest interview score had an evening gown stat of 9.286? ### Respons...
SELECT MAX("Interview") FROM table_11149 WHERE "Evening Gown" = '9.286'
### Instruction: CREATE TABLE table_name_91 ( length_fuel VARCHAR, floor_styling VARCHAR, year_built VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Length/Fuel of the bus built between 2000-2003 with a high Floor Styling? ### Response:
SELECT length_fuel FROM table_name_91 WHERE floor_styling = "high" AND year_built = "2000-2003"
### Instruction: CREATE TABLE table_37005 ( "Player" text, "Sacks" real, "INT'S" real, "Yards" real, "Average" real, "Long" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest value of INT's with an average more than 25? ### Resp...
SELECT MIN("INT'S") FROM table_37005 WHERE "Average" > '25'
### Instruction: CREATE TABLE table_34985 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has tomko (1-1) as a loss? ### Response:
SELECT "Opponent" FROM table_34985 WHERE "Loss" = 'tomko (1-1)'
### Instruction: CREATE TABLE table_36411 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has postponed (rain) rescheduled for august 7 as the score? ### Response:
SELECT "Date" FROM table_36411 WHERE "Score" = 'postponed (rain) rescheduled for august 7'
### Instruction: CREATE TABLE table_name_5 ( game INTEGER, opponent VARCHAR, points VARCHAR, october VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has Points smaller than 10, and an October larger than 12, and an Opponent of @ washington ...
SELECT SUM(game) FROM table_name_5 WHERE points < 10 AND october > 12 AND opponent = "@ washington capitals"
### Instruction: CREATE TABLE table_2457 ( "#" 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 1 is the number what episodes were ...
SELECT "Episodes used" FROM table_2457 WHERE "#" = '1'
### Instruction: CREATE TABLE table_63141 ( "Elector" text, "Nationality" text, "Faction" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Prato Elector with a faction of Italian? ### Response:
SELECT "Elector" FROM table_63141 WHERE "Faction" = 'italian' AND "Nationality" = 'prato'
### Instruction: CREATE TABLE table_9934 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the Semifinalists, when the Week is May 12? ### R...
SELECT "Semifinalists" FROM table_9934 WHERE "Week" = 'may 12'
### Instruction: CREATE TABLE table_203_773 ( id number, "season" number, "network" text, "play-by-play" text, "color commentator(s)" text, "sideline reporter(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the last color commentator ...
SELECT "color commentator(s)" FROM table_203_773 ORDER BY "season" DESC LIMIT 1
### Instruction: CREATE TABLE table_30243 ( "Entrant" text, "Constructor" text, "Car" text, "Driver" text, "Co-driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the entry where the other person is zden k hr za ### R...
SELECT "Entrant" FROM table_30243 WHERE "Co-driver" = 'Zdeněk Hrůza'
### Instruction: CREATE TABLE table_203_528 ( id number, "year" number, "political rights" number, "civil liberties" number, "status" text, "president" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of time seyni kountche has ...
SELECT COUNT(*) FROM table_203_528 WHERE "president" = 'seyni kountche'
### Instruction: CREATE TABLE table_25000 ( "Province, Community" text, "Contestant" text, "Age" real, "Height" text, "Hometown" text, "Geographical Regions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which province is Villa Bison in? ### ...
SELECT "Province, Community" FROM table_25000 WHERE "Hometown" = 'Villa Bisonó'
### Instruction: CREATE TABLE table_23914 ( "School" text, "Location(s)" text, "Control" text, "Type" text, "Accreditation" text, "Founded" real, "Enrollment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of school is Stratford Un...
SELECT "Type" FROM table_23914 WHERE "School" = 'Stratford University'
### Instruction: CREATE TABLE table_40096 ( "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. -- What is the position for years under 1999? ### Res...
SELECT "Pos." FROM table_40096 WHERE "Year" < '1999'
### Instruction: CREATE TABLE table_67942 ( "Country" text, "Player name" text, "Period" text, "Position" text, "Matches" text, "Goals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the period with matches of 0 0 of portugal ### Response...
SELECT "Period" FROM table_67942 WHERE "Matches" = '0 0' AND "Country" = 'portugal'
### 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. -- which driver completed the l...
SELECT "driver" FROM table_203_804 ORDER BY "laps" LIMIT 1
### Instruction: CREATE TABLE table_62010 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Report which has heinrich-joachim von morge...
SELECT "Report" FROM table_62010 WHERE "Winning driver" = 'heinrich-joachim von morgen'
### Instruction: CREATE TABLE table_13731 ( "Date" text, "Ship" text, "Nationality" text, "Tonnage" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the ship Afrika, with nationality Great Britain? ### Response:
SELECT "Date" FROM table_13731 WHERE "Nationality" = 'great britain' AND "Ship" = 'afrika'
### Instruction: CREATE TABLE table_61375 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft (m)" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Building at 100 North Tampa Street? ### ...
SELECT "Name" FROM table_61375 WHERE "Street address" = '100 north tampa street'
### Instruction: CREATE TABLE table_name_21 ( losses INTEGER, south_west_dfl VARCHAR, byes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Losses have a South West DFL of branxholme-wallacedale, and less than 2 Byes? ### Response:
SELECT AVG(losses) FROM table_name_21 WHERE south_west_dfl = "branxholme-wallacedale" AND byes < 2
### Instruction: CREATE TABLE table_70326 ( "Year" real, "Award" text, "Category" text, "Nominated Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nominated work received a tony award in 2009? ### Response:
SELECT "Nominated Work" FROM table_70326 WHERE "Award" = 'tony award' AND "Year" = '2009'
### Instruction: CREATE TABLE table_78821 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Kickoff Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week was the opponent the San Diego Chargers? ### Respo...
SELECT AVG("Week") FROM table_78821 WHERE "Opponent" = 'san diego chargers'
### Instruction: CREATE TABLE table_73890 ( "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. -- name the title of the episode that ed...
SELECT "Title" FROM table_73890 WHERE "Directed by" = 'Ed Sherin'
### Instruction: CREATE TABLE mountain ( mountain_id number, name text, height number, prominence number, range text, country text ) CREATE TABLE climber ( climber_id number, name text, country text, time text, points number, mountain_id number ) -- Using valid SQLite,...
SELECT name FROM mountain ORDER BY name
### Instruction: CREATE TABLE table_6216 ( "Election date" real, "Party leader" text, "Number of votes received" text, "Percentage of votes" text, "Number of deputies" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the number of deputies f...
SELECT "Number of deputies" FROM table_6216 WHERE "Election date" = '1964'
### Instruction: CREATE TABLE table_53974 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player comes from the Hometown of Wichita, KS? ### Respon...
SELECT "Player" FROM table_53974 WHERE "Hometown" = 'wichita, ks'
### Instruction: CREATE TABLE table_72966 ( "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. -- What round was circuit Avus...
SELECT MAX("Round") FROM table_72966 WHERE "Circuit" = 'AVUS'
### Instruction: CREATE TABLE table_57848 ( "Information" text, "Dysart" text, "Shadow Ridge" text, "Valley Vista" text, "Willow Canyon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Valley Vista has a Dysart of 1668? ### Response:
SELECT "Valley Vista" FROM table_57848 WHERE "Dysart" = '1668'
### Instruction: CREATE TABLE table_204_276 ( id number, "record" text, "date" text, "result" text, "opponent" text, "location" text, "method" text, "round" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which method is listed the leas...
SELECT "method" FROM table_204_276 GROUP BY "method" ORDER BY COUNT(*) LIMIT 1
### Instruction: CREATE TABLE table_203_747 ( 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. -- how many nations earned at least ten bronze meda...
SELECT COUNT("nation") FROM table_203_747 WHERE "bronze" >= 10
### Instruction: CREATE TABLE table_8359 ( "Date" text, "Name of ship" text, "Nationality" text, "Tonnage" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average tonnage for the Siljan ship from Sweden? ### Response:
SELECT AVG("Tonnage") FROM table_8359 WHERE "Nationality" = 'sweden' AND "Name of ship" = 'siljan'
### Instruction: CREATE TABLE table_name_8 ( playoffs VARCHAR, year VARCHAR, league VARCHAR, open_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- NAME THE Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013? ...
SELECT playoffs FROM table_name_8 WHERE league = "npsl" AND open_cup = "did not enter" AND year = "2013"
### Instruction: CREATE TABLE table_2223 ( "Team" text, "Location" text, "Head Coach" text, "Team Captain" text, "Venue" text, "Capacity" real, "Position in 2008" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the tea...
SELECT "Location" FROM table_2223 WHERE "Team" = 'Saturn'
### Instruction: CREATE TABLE table_4341 ( "Country/Region" text, "Name" text, "Host" text, "Network" text, "Premiere" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the network for 13 january 2009 ### Response:
SELECT "Network" FROM table_4341 WHERE "Premiere" = '13 january 2009'
### Instruction: CREATE TABLE table_32085 ( "Original week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the sum of original week for september 16, 1982 ### Response:
SELECT SUM("Original week") FROM table_32085 WHERE "Date" = 'september 16, 1982'
### Instruction: CREATE TABLE table_59169 ( "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 that has a 69-69-73=211 score? ### Response:
SELECT "To par" FROM table_59169 WHERE "Score" = '69-69-73=211'
### Instruction: CREATE TABLE table_53015 ( "Member" text, "Party" text, "Electorate" text, "State" text, "First elected" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which first election for the labor party is James Sharpe a part of? ### Respon...
SELECT "First elected" FROM table_53015 WHERE "Party" = 'labor' AND "Member" = 'james sharpe'
### Instruction: CREATE TABLE table_51195 ( "Year" real, "Theme" text, "Artist" text, "Composition" text, "Mintage" real, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the mintage when the theme was year of the rabbit? ##...
SELECT "Mintage" FROM table_51195 WHERE "Theme" = 'year of the rabbit'
### Instruction: CREATE TABLE table_66858 ( "Year" real, "Date" text, "Title" text, "Format(s)" text, "Award description(s)" text, "Result(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year with an award of platinum? #...
SELECT AVG("Year") FROM table_66858 WHERE "Award description(s)" = 'platinum'
### Instruction: CREATE TABLE table_9235 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game wi...
SELECT "Date" FROM table_9235 WHERE "Points" = '62'
### Instruction: CREATE TABLE table_15869 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of the player from Boise Sta...
SELECT "No." FROM table_15869 WHERE "School/Club Team" = 'Boise State'
### Instruction: CREATE TABLE table_203_762 ( id number, "#" number, "date" text, "film" text, "gross" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films grossed more than $ 80,000,000 ### Response:
SELECT COUNT("film") FROM table_203_762 WHERE "gross" > 80000000
### Instruction: CREATE TABLE table_249 ( "Comparisons" text, "Hub Base Class" text, "Emulated Class" text, "Semi-DDM Class" text, "DDM Class" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is wireless combo keyboard and mouse support part of the hu...
SELECT "Hub Base Class" FROM table_249 WHERE "Comparisons" = 'Wireless Combo keyboard and mouse support'
### Instruction: CREATE TABLE table_41877 ( "First District" text, "Second District" text, "Third District" text, "Fourth District" text, "Fifth District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Fifth District with a Second District...
SELECT "Fifth District" FROM table_41877 WHERE "Second District" = 'paul leidig'
### Instruction: CREATE TABLE table_1566852_8 ( centerfold_model VARCHAR, pictorials VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club? ### Response:
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Kimberly Bell , Bunnies of the New Playboy Club"
### Instruction: CREATE TABLE table_74393 ( "#" text, "Title" text, "Author" text, "Doctor" text, "Featuring companion" text, "Published" text, "ISBN" text, "Audiobook narrator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ...
SELECT "Title" FROM table_74393 WHERE "#" = '8'
### Instruction: CREATE TABLE table_7980 ( "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. -- In which location was the method de...
SELECT "Location" FROM table_7980 WHERE "Method" = 'decision (split)'
### Instruction: CREATE TABLE table_203_707 ( id number, "rank" number, "npc" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total medals did the netherlands win ? #...
SELECT "total" FROM table_203_707 WHERE "npc" = 'netherlands'
### Instruction: CREATE TABLE table_77349 ( "Name" text, "GP-GS" text, "Effic" real, "Cmp-Att-Int" text, "Avg/G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total avg/g of McCrary, Greg? ### Response:
SELECT COUNT("Avg/G") FROM table_77349 WHERE "Name" = 'mccrary, greg'
### Instruction: CREATE TABLE table_3251 ( "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. -- If the writer is Mark Fink, who is the...
SELECT "Directed by" FROM table_3251 WHERE "Written by" = 'Mark Fink'
### Instruction: CREATE TABLE table_16964 ( "Series no." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code of 'surpri...
SELECT MAX("Production Code") FROM table_16964 WHERE "Title" = 'Surprise, Surprise'
### Instruction: CREATE TABLE table_204_787 ( id number, "year" number, "category" text, "nominee(s)" text, "episode" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which year was he nominated for cheers : the motion picture . #...
SELECT "year" FROM table_204_787 WHERE "episode" = '"cheers: the motion picture"'
### Instruction: CREATE TABLE table_name_7 ( rank INTEGER, rmax_rpeak___pflops__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank of Rmax Rpeak ( Pflops ) of 17.173 20.133? ### Response:
SELECT AVG(rank) FROM table_name_7 WHERE rmax_rpeak___pflops__ = "17.173 20.133"
### Instruction: CREATE TABLE table_203_102 ( id number, "event" text, "performance" text, "athlete" text, "nation" text, "place" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who set consecutive world records in the 100m ? #...
SELECT "athlete" FROM table_203_102 WHERE "event" = '100 m'
### Instruction: CREATE TABLE table_3016 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Sport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the institution for purple ac...
SELECT "Institution" FROM table_3016 WHERE "Nickname" = 'Purple Aces'
### Instruction: CREATE TABLE table_72396 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the first elected for abner j. mikva ### Respons...
SELECT "First elected" FROM table_72396 WHERE "Incumbent" = 'Abner J. Mikva'
### Instruction: CREATE TABLE table_11585313_1 ( date_of_debut VARCHAR, date_of_birth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of debut that has a date of birth listed at 24-10-1887? ### Response:
SELECT date_of_debut FROM table_11585313_1 WHERE date_of_birth = "24-10-1887"
### Instruction: CREATE TABLE table_34066 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tournament has a Runner(s)-up of bob charles? ### Respo...
SELECT "Tournament" FROM table_34066 WHERE "Runner(s)-up" = 'bob charles'
### Instruction: CREATE TABLE table_32466 ( "Rank" real, "Player" text, "Years" text, "Games" real, "Reb. Avg." real, "Total Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Peter Woolfolk's Total Rebound average? ### Response...
SELECT SUM("Total Rebounds") FROM table_32466 WHERE "Player" = 'peter woolfolk'
### Instruction: CREATE TABLE table_16615 ( "Rank" real, "Dismissals" real, "Player" text, "Nationality" text, "Catches" real, "Stumpings" real, "Career Span" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the players whose rank is ...
SELECT "Player" FROM table_16615 WHERE "Rank" = '2'
### Instruction: CREATE TABLE table_203_788 ( id number, "year" number, "author" text, "illustrator" text, "title" text, "publisher" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has anthony browne won an kurt maschler award for ...
SELECT COUNT(*) FROM table_203_788 WHERE "illustrator" = 'anthony browne'
### Instruction: CREATE TABLE table_204_652 ( id number, "title" text, "year" number, "director" text, "country" text, "genre" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many crime thrillers were released in this catego...
SELECT COUNT(*) FROM table_204_652 WHERE "genre" = 'crime thriller'
### Instruction: CREATE TABLE table_26635 ( "Episode #" text, "Segment 1" text, "Segment 2" text, "Original airdate" text, "Lessons taught" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the segment 1 for episode # 2/225 ### Response:
SELECT "Segment 1" FROM table_26635 WHERE "Episode #" = '2/225'
### Instruction: CREATE TABLE table_8896 ( "Heat" real, "Lane" real, "Name" text, "Country" text, "Mark" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average lane racheal nachula has when the heat is less than 2? ### Response:
SELECT AVG("Lane") FROM table_8896 WHERE "Heat" < '2' AND "Name" = 'racheal nachula'
### Instruction: CREATE TABLE table_10218 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who led the score on April 9? ### Respons...
SELECT "Leading scorer" FROM table_10218 WHERE "Date" = 'april 9'
### Instruction: CREATE TABLE Circulation_History ( employee_name VARCHAR ) CREATE TABLE Employees ( employee_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the employees who have not showed up in any circulation history of documents. List the emp...
SELECT employee_name FROM Employees EXCEPT SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id
### Instruction: CREATE TABLE table_203_221 ( id number, "name" text, "nationality" text, "matches played" number, "goals scored" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of matches played by brazil...
SELECT SUM("matches played") FROM table_203_221 WHERE "nationality" = 'brazil'
### Instruction: CREATE TABLE table_32042 ( "Year" text, "Division" text, "League" text, "Reg. Season" text, "Playoffs" text, "Challenge Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the league for year of 1915/16 ### Response:
SELECT "League" FROM table_32042 WHERE "Year" = '1915/16'
### Instruction: CREATE TABLE table_6603 ( "Year" real, "Team" text, "Progress" text, "Score" text, "Opponents" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in 1997 for the team that has a Progress of no entrants? ### Response...
SELECT "Score" FROM table_6603 WHERE "Progress" = 'no entrants' AND "Year" = '1997'
### Instruction: CREATE TABLE table_66541 ( "Elimination" text, "Wrestler" text, "Team" text, "Eliminated by" text, "Elimination move" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Jorge Santana's elimination? ### Response...
SELECT "Elimination" FROM table_66541 WHERE "Wrestler" = 'jorge santana'
### Instruction: CREATE TABLE table_57924 ( "Release format" text, "Country" text, "Label(s)" text, "Cat. no." text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release date for the standard cd release format in north a...
SELECT "Release date" FROM table_57924 WHERE "Release format" = 'standard cd' AND "Country" = 'north america'
### Instruction: CREATE TABLE table_47241 ( "product" text, "dimensions (mm)" text, "pages per minute (color)" real, "max page size" text, "interface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the interface of the product xerox travel s...
SELECT "interface" FROM table_47241 WHERE "product" = 'xerox travel scanner 100'
### Instruction: CREATE TABLE table_204_775 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number of bronze medals did iran receive ? ...
SELECT "bronze" FROM table_204_775 WHERE "nation" = 'iran'
### Instruction: CREATE TABLE table_32490 ( "Name" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who recorded a time or retired time of 52:56.4653? ### Response:
SELECT "Name" FROM table_32490 WHERE "Time/Retired" = '52:56.4653'
### Instruction: CREATE TABLE table_63166 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the game at Madison Square Garden? ...
SELECT "Opponent" FROM table_63166 WHERE "Location/Attendance" = 'madison square garden'
### Instruction: CREATE TABLE table_58161 ( "Release title" text, "Released as" text, "Release type" text, "Label" text, "Year" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Neverchanger with the label of Latenight weeknight? ### Re...
SELECT "Year" FROM table_58161 WHERE "Label" = 'latenight weeknight' AND "Release title" = 'neverchanger'
### Instruction: CREATE TABLE table_71742 ( "Position" text, "Name" text, "Party" text, "First elected" real, "District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the name for first elected more than 1988 and district of mason ### Res...
SELECT "Name" FROM table_71742 WHERE "First elected" > '1988' AND "District" = 'mason'