instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_55088 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On August 10, what was the record against the Expos? ### Response:
SELECT "Record" FROM table_55088 WHERE "Opponent" = 'expos' AND "Date" = 'august 10'
### Instruction: CREATE TABLE table_44608 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponent, when Championship is P tange? ### Response:...
SELECT "Opponent" FROM table_44608 WHERE "Championship" = 'pétange'
### Instruction: CREATE TABLE table_name_67 ( whenbuilt VARCHAR, name VARCHAR, builder VARCHAR, withdrawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964? ...
SELECT whenbuilt FROM table_name_67 WHERE builder = "brighton" AND withdrawn = "september 1964" AND name = "blandford forum"
### Instruction: CREATE TABLE table_14023 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Eagle's play on November 5, 1961? ### Response:
SELECT "Opponent" FROM table_14023 WHERE "Date" = 'november 5, 1961'
### Instruction: CREATE TABLE table_57180 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average grid for damon hill with over 74 laps? ### Response:
SELECT AVG("Grid") FROM table_57180 WHERE "Laps" > '74' AND "Driver" = 'damon hill'
### Instruction: CREATE TABLE table_48226 ( "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. -- How many rebounds have a Player of herb estes? ### Response:
SELECT COUNT("Total Rebounds") FROM table_48226 WHERE "Player" = 'herb estes'
### Instruction: CREATE TABLE table_name_18 ( gold INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a tota...
SELECT SUM(gold) FROM table_name_18 WHERE silver > 8 AND nation = "great britain" AND total < 61
### Instruction: CREATE TABLE table_204_250 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which month is listed the least on this chart ? ...
SELECT "date" FROM table_204_250 GROUP BY "date" ORDER BY COUNT(*) LIMIT 1
### Instruction: CREATE TABLE table_5589 ( "Round" real, "Pick #" text, "Player" text, "Position" text, "Nationality" text, "College/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nationality is Larry McMorran? ...
SELECT "Nationality" FROM table_5589 WHERE "Player" = 'larry mcmorran'
### Instruction: CREATE TABLE table_name_91 ( points INTEGER, played VARCHAR, drawn VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points is the highest one that has a Drawn smaller than 2, and a Name of esc holzkirchen, and Playe...
SELECT MAX(points) FROM table_name_91 WHERE drawn < 2 AND name = "esc holzkirchen" AND played < 14
### Instruction: CREATE TABLE table_31941 ( "Year" real, "Host" text, "Winners" text, "Runners-up" text, "Third Place" text, "Fourth Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me fourth place for year of 2010 ### Response:
SELECT "Fourth Place" FROM table_31941 WHERE "Year" = '2010'
### Instruction: CREATE TABLE table_1852650_1 ( starting_from INTEGER, name_of_the_prabandham VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the starting from thiruvezhukkurrirukkai ### Response:
SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai"
### Instruction: CREATE TABLE table_22698 ( "Album#" text, "English Title" text, "Chinese (Traditional)" text, "Chinese (Simplified)" text, "Release date" text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the label for grown up o...
SELECT "Label" FROM table_22698 WHERE "English Title" = 'Grown Up Overnight'
### Instruction: CREATE TABLE table_42951 ( "Year" real, "Actor" text, "Award" text, "Motion Picture" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What award did Forest Whitaker win in 1989? ### Response:
SELECT "Award" FROM table_42951 WHERE "Actor" = 'forest whitaker' AND "Year" = '1989'
### Instruction: CREATE TABLE table_204_429 ( id number, "battle" text, "location" text, "date(s)" text, "engagement remarks" text, "victor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which victor held at least six victories ? ### Response...
SELECT "victor" FROM table_204_429 GROUP BY "victor" HAVING COUNT(*) >= 6
### Instruction: CREATE TABLE table_4678 ( "Team" text, "Constructor" text, "Motorcycle" text, "Rider" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which round has the mv agusta f4 1000 mt? ### Response:
SELECT "Rounds" FROM table_4678 WHERE "Motorcycle" = 'mv agusta f4 1000 mt'
### Instruction: CREATE TABLE table_24298 ( "Province, Community" text, "Contestant" text, "Age" real, "Height" text, "Hometown" text, "Geographical Regions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the hometown for barahona ### Res...
SELECT "Hometown" FROM table_24298 WHERE "Province, Community" = 'Barahona'
### Instruction: CREATE TABLE table_41051 ( "Date" text, "Opponent" text, "Location" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location of the game on 11/08/1975*? ### Response:
SELECT "Location" FROM table_41051 WHERE "Date" = '11/08/1975*'
### Instruction: CREATE TABLE table_54438 ( "Character" text, "Portrayed by" text, "First appearance" text, "Last appearance" text, "Duration" text, "Episodes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the character of Aiden Burn ...
SELECT "First appearance" FROM table_54438 WHERE "Character" = 'aiden burn csi detective'
### Instruction: CREATE TABLE table_65345 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the score 3 3, and away team was Barnet? ### Response:
SELECT "Date" FROM table_65345 WHERE "Score" = '3–3' AND "Away team" = 'barnet'
### Instruction: CREATE TABLE table_72442 ( "Name" text, "Pennant number" text, "Builder" text, "Laid Down" text, "Launched" text, "Commissioned" text, "Current status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which launch date involve...
SELECT "Launched" FROM table_72442 WHERE "Name" = 'Driade'
### Instruction: CREATE TABLE table_11256021_1 ( extroverted VARCHAR, _relationship_oriented VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the extroverted, relationship-oriented where date is c. 1928 ### Response:
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE date = "c. 1928"
### Instruction: CREATE TABLE table_name_52 ( wins VARCHAR, cuts_made VARCHAR, top_10 VARCHAR, events VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of wins that has a top-10 of 2, and more events than 8, more cuts than 6? ### Re...
SELECT COUNT(wins) FROM table_name_52 WHERE top_10 = 2 AND events > 8 AND cuts_made > 6
### Instruction: CREATE TABLE table_43176 ( "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 Revenues of Ukyo-Daiyu? ### Response:
SELECT "revenues" FROM table_43176 WHERE "Courtesy title" = 'ukyo-daiyu'
### Instruction: CREATE TABLE table_72386 ( "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. -- who is the the candidates with incumbent being don fuqu...
SELECT "Candidates" FROM table_72386 WHERE "Incumbent" = 'Don Fuqua'
### Instruction: CREATE TABLE table_79343 ( "Rank" real, "Heat" real, "Name" text, "Nationality" text, "Result" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Nationality has a Heat smaller than 2, and a Rank of 15? ### Response:
SELECT "Nationality" FROM table_79343 WHERE "Heat" < '2' AND "Rank" = '15'
### Instruction: CREATE TABLE table_name_31 ( top_10 INTEGER, top_25 VARCHAR, cuts_made VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of top-10s for the major with 2 top-25s and fewer than 10 cuts made? ### Response:
SELECT AVG(top_10) FROM table_name_31 WHERE top_25 = 2 AND cuts_made < 10
### Instruction: CREATE TABLE table_77235 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of the match held on 12/7/1997? ### Response:
SELECT "Status" FROM table_77235 WHERE "Date" = '12/7/1997'
### Instruction: CREATE TABLE table_204_278 ( id number, "name of president" text, "picture" text, "life span" text, "year of presidency" text, "place of conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which person has led the confere...
SELECT "name of president" FROM table_204_278 GROUP BY "name of president" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_62853 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" real, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Moving from has a Nat of ned? #...
SELECT "Moving from" FROM table_62853 WHERE "Nat." = 'ned'
### Instruction: CREATE TABLE table_11214212_1 ( naturalisation_by_marriage VARCHAR, registration_of_a_minor_child VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the naturalisation by marriage with regbeingtration of a minor child being 114 ### Resp...
SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE registration_of_a_minor_child = 114
### Instruction: CREATE TABLE table_47116 ( "Game" real, "3PM-A" text, "Percent Made" real, "Total Made" real, "Total Attempted" real, "Series Percent" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total attempted with a total made ...
SELECT COUNT("Total Attempted") FROM table_47116 WHERE "Total Made" = '16'
### Instruction: CREATE TABLE table_272865_20 ( years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the years active where Asian Cup played as a captain is Iran 1976? ### Response:
SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Iran 1976"
### Instruction: CREATE TABLE table_name_37 ( location VARCHAR, date VARCHAR, rank VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Rank smaller than 5, and a Time larger than 10.7, and a Date of 10 july 2009 has what location? ### Resp...
SELECT location FROM table_name_37 WHERE rank < 5 AND time > 10.7 AND date = "10 july 2009"
### Instruction: CREATE TABLE table_40633 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What regular season did the team reach the conference semi...
SELECT "Regular Season" FROM table_40633 WHERE "Playoffs" = 'conference semifinals'
### Instruction: CREATE TABLE artist ( gender VARCHAR, artist_name VARCHAR ) CREATE TABLE song ( artist_name VARCHAR, resolution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Return the gender and name of artist who produced the song with the lowes...
SELECT T1.gender, T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name ORDER BY T2.resolution LIMIT 1
### Instruction: CREATE TABLE table_63987 ( "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. -- Who was the team 2 in the game with a team 1 of Liege Basket? ### Response:
SELECT "Team #2" FROM table_63987 WHERE "Team #1" = 'liege basket'
### Instruction: CREATE TABLE table_13517 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Player from the 2008 Panasonic Panthers Club? ### Response:
SELECT "Name" FROM table_13517 WHERE "2008 club" = 'panasonic panthers'
### Instruction: CREATE TABLE table_69000 ( "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. -- From what year is the engine with engine code M57D30? ### Re...
SELECT "Year" FROM table_69000 WHERE "Engine code" = 'm57d30'
### Instruction: CREATE TABLE table_18297 ( "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. -- What's the winning party in the Pennsylvania 6 district...
SELECT "Party" FROM table_18297 WHERE "District" = 'Pennsylvania 6'
### Instruction: CREATE TABLE table_20550 ( "Season" text, "1st Place" text, "2nd Place" text, "3rd Place" text, "4th Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What teams finished in 3rd when panathinaikos finished 2nd? ### Response:
SELECT "3rd Place" FROM table_20550 WHERE "2nd Place" = 'Panathinaikos'
### Instruction: CREATE TABLE table_51763 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the location of a team with a 3-2 record? ...
SELECT "Location" FROM table_51763 WHERE "Record" = '3-2'
### Instruction: CREATE TABLE table_14598 ( "Perfect stem" text, "Future stem" text, "Imperfect stem" text, "Short stem" text, "Meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the imperfect stem of the word that means 'take away, rem...
SELECT "Imperfect stem" FROM table_14598 WHERE "Meaning" = 'take away, remove'
### Instruction: CREATE TABLE table_203_5 ( id number, "season" text, "competition" text, "round" text, "opponent" text, "home" text, "away" text, "aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last competition li...
SELECT "competition" FROM table_203_5 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_11820086_1 ( no_in_season INTEGER, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode number in season 5 was viewed by 3.00 million U.S. viziers? ### Response:
SELECT MIN(no_in_season) FROM table_11820086_1 WHERE us_viewers__millions_ = "3.00"
### Instruction: CREATE TABLE table_59608 ( "Pick" real, "AFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which AFL team has a pick 4 for the offensive tackle position? ### Response:
SELECT "AFL Team" FROM table_59608 WHERE "Position" = 'offensive tackle' AND "Pick" = '4'
### Instruction: CREATE TABLE table_40860 ( "Record" text, "Athlete" text, "Nation" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation has a Record of 5.06m(16ft7in)? ### Response:
SELECT "Nation" FROM table_40860 WHERE "Record" = '5.06m(16ft7in)'
### Instruction: CREATE TABLE table_204_413 ( id number, "medal" text, "name" text, "sport" text, "event" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the only medalist to receive a medal in the men 's javelin throw ### Res...
SELECT "name" FROM table_204_413 WHERE "event" = "men's javelin throw"
### Instruction: CREATE TABLE table_204_811 ( id number, "year" number, "ring name\n(birth name)" text, "inducted by" text, "inducted for" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number of members were inducted before 2...
SELECT COUNT(*) FROM table_204_811 WHERE "year" < 2009
### Instruction: CREATE TABLE table_name_47 ( spectators INTEGER, date VARCHAR, time__cet_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Spectators have a Date of 17 june 2006, and a Time (CET) larger than 15? ### Response:
SELECT SUM(spectators) FROM table_name_47 WHERE date = "17 june 2006" AND time__cet_ > 15
### Instruction: CREATE TABLE table_72951 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times was Mike McIntyre elected? ### Respon...
SELECT COUNT("Results") FROM table_72951 WHERE "Incumbent" = 'Mike McIntyre'
### Instruction: CREATE TABLE table_42526 ( "Game" real, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has a Score of 108-105 (ot)? ### Response:
SELECT "Team" FROM table_42526 WHERE "Score" = '108-105 (ot)'
### Instruction: CREATE TABLE table_26375386_20 ( judges INTEGER, result VARCHAR, vote_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many judges were there when the result is safe with a vote percentage of 10.7%? ### Response:
SELECT MIN(judges) FROM table_26375386_20 WHERE result = "Safe" AND vote_percentage = "10.7%"
### Instruction: CREATE TABLE table_46711 ( "Name of System" text, "Location" text, "Traction Type" text, "Date (From)" text, "Date (To)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has date started from 30 Sep 1913? ### Response:
SELECT "Date (To)" FROM table_46711 WHERE "Date (From)" = '30 sep 1913'
### Instruction: CREATE TABLE table_53968 ( "Year" real, "Date" text, "Drivers" text, "Distance/Duration" text, "Race Title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What race is on aug 4 with ron fellows? ### Response:
SELECT "Race Title" FROM table_53968 WHERE "Drivers" = 'ron fellows' AND "Date" = 'aug 4'
### Instruction: CREATE TABLE table_52033 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home team score at junction oval? #...
SELECT "Home team" FROM table_52033 WHERE "Venue" = 'junction oval'
### Instruction: CREATE TABLE table_59000 ( "Title" text, "Developer" text, "Genre" text, "Release date" text, "Version" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Version, when Genre is 'Action', and when Title is 'Hairball'? ### Resp...
SELECT "Version" FROM table_59000 WHERE "Genre" = 'action' AND "Title" = 'hairball'
### Instruction: CREATE TABLE table_16082 ( "Headstamp ID" text, "Primer Annulus Color" text, "Bullet Tip Color" text, "Other Features" text, "Functional Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the functional type of light ball, wha...
SELECT "Other Features" FROM table_16082 WHERE "Functional Type" = 'Light Ball'
### Instruction: CREATE TABLE table_71431 ( "Country" text, "Film title used in nomination" text, "Language" text, "Original title" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the film title that is spanish from peru ### R...
SELECT "Film title used in nomination" FROM table_71431 WHERE "Language" = 'spanish' AND "Country" = 'peru'
### Instruction: CREATE TABLE table_35111 ( "Callsign" text, "Area served" text, "Frequency" text, "Band" text, "Freq currently" text, "Purpose" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which freq currently has 0 684? ### Response:
SELECT "Freq currently" FROM table_35111 WHERE "Frequency" = '0 684'
### Instruction: CREATE TABLE table_9851 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For what tournament was Bla Kav i the opponent in the final? ### Respon...
SELECT "Tournament" FROM table_9851 WHERE "Opponent in the final" = 'blaž kavčič'
### Instruction: CREATE TABLE table_name_24 ( country VARCHAR, abbreviation VARCHAR, assets_us$billion VARCHAR, inception VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has assets of x, an inception of 2007, and an abbreviation of adic?...
SELECT country FROM table_name_24 WHERE assets_us$billion = "x" AND inception = "2007" AND abbreviation = "adic"
### Instruction: CREATE TABLE table_76159 ( "Season" text, "Winner" text, "Winning Song" text, "Winning Song (English Title)" text, "Debut Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which album debuted in season 2 (2005)? ### Response:
SELECT "Debut Album" FROM table_76159 WHERE "Season" = 'season 2 (2005)'
### Instruction: CREATE TABLE table_name_8 ( date INTEGER, attendance VARCHAR, venue VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the away venue with an opponent of wightlink raiders with an attendance larger t...
SELECT SUM(date) FROM table_name_8 WHERE venue = "away" AND opponent = "wightlink raiders" AND attendance > 375
### Instruction: CREATE TABLE table_204_88 ( id number, "year" number, "english title" text, "japanese" text, "romanization" text, "type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- was shinjuku triad society a film or tv release ? ### Resp...
SELECT "type" FROM table_204_88 WHERE "english title" = 'shinjuku triad society'
### Instruction: CREATE TABLE table_18634 ( "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. -- what's the party with incumbent being john sparkman #...
SELECT "Party" FROM table_18634 WHERE "Incumbent" = 'John Sparkman'
### Instruction: CREATE TABLE table_28491 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Katie's order number when the theme was The Rol...
SELECT "Order #" FROM table_28491 WHERE "Theme" = 'The Rolling Stones'
### Instruction: CREATE TABLE table_78291 ( "Disaster" text, "Year" text, "Countries Affected" text, "Scale of Disaster" text, "People Assisted" text, "Nature of Help" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which year did USA undergo a d...
SELECT "Year" FROM table_78291 WHERE "Countries Affected" = 'usa'
### Instruction: CREATE TABLE table_18770 ( "Saddle cloth" real, "Horse" text, "Trainer" text, "Jockey" text, "Weight (kg)" text, "Barrier" real, "Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old is Daniel Morton ### Respons...
SELECT MAX("Barrier") FROM table_18770 WHERE "Trainer" = 'Daniel Morton'
### Instruction: CREATE TABLE table_68494 ( "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. -- Name the agg for team 2 of asl sport guyanais. ### Response:
SELECT "Agg." FROM table_68494 WHERE "Team 2" = 'asl sport guyanais'
### Instruction: CREATE TABLE table_name_86 ( name VARCHAR, age_as_of_1_february_2014 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is 111years, 358days Age as of 1 February 2014? ### Response:
SELECT name FROM table_name_86 WHERE age_as_of_1_february_2014 = "111years, 358days"
### Instruction: CREATE TABLE table_16507 ( "Hand" text, "1 credit" real, "2 credits" real, "3 credits" real, "4 credits" real, "5 credits" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is 3 credits 180? ### Response:
SELECT COUNT("1 credit") FROM table_16507 WHERE "3 credits" = '180'
### Instruction: CREATE TABLE table_11626 ( "Year" real, "Athlete" text, "Country/State" text, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had des moines as the location in 2011? ### Response:
SELECT "Country/State" FROM table_11626 WHERE "Location" = 'des moines' AND "Year" = '2011'
### Instruction: CREATE TABLE table_34774 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the alternate for the team for which Monika Wagner is the third? ...
SELECT "Alternate" FROM table_34774 WHERE "Third" = 'monika wagner'
### Instruction: CREATE TABLE table_25579 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the school that i...
SELECT "Institution" FROM table_25579 WHERE "Type" = 'Private'
### Instruction: CREATE TABLE table_60066 ( "Club" text, "Head Coach" text, "City" text, "Stadium" text, "2003\u20132004 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club does Manuel Fernandes coach? ### Response:
SELECT "Club" FROM table_60066 WHERE "Head Coach" = 'manuel fernandes'
### Instruction: CREATE TABLE table_11148572_1 ( mls_cup_runner_up VARCHAR, mls_cup_winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake? ### Response:
SELECT mls_cup_runner_up FROM table_11148572_1 WHERE mls_cup_winner = "Real Salt Lake"
### Instruction: CREATE TABLE table_203_44 ( id number, "stage" text, "date" text, "route" text, "terrain" text, "length" text, "winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different countries won at least one stage in th...
SELECT COUNT(DISTINCT "winner") FROM table_203_44
### Instruction: CREATE TABLE table_203_330 ( id number, "year of election" number, "candidates elected" number, "# of seats available" number, "# of votes" number, "% of popular vote" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year had...
SELECT "year of election" FROM table_203_330 ORDER BY "candidates elected" DESC LIMIT 1
### Instruction: CREATE TABLE table_3480 ( "District" real, "Representative" text, "Party" text, "Residence" text, "First Elected" text, "Term Limited" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the Representative is Barbara sears, what i...
SELECT MAX("District") FROM table_3480 WHERE "Representative" = 'Barbara Sears'
### Instruction: CREATE TABLE table_68061 ( "Goal #" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for 30 january 2013 ### Response:
SELECT "Score" FROM table_68061 WHERE "Date" = '30 january 2013'
### Instruction: CREATE TABLE table_24065 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the archive for the episode with a run time of 25:24?...
SELECT "Archive" FROM table_24065 WHERE "Run time" = '25:24'
### Instruction: CREATE TABLE table_name_40 ( gamerankings VARCHAR, metacritic VARCHAR, year_released VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the GameRankings Released of 2011 with a Metacritic of 83/100? ### Response:
SELECT gamerankings FROM table_name_40 WHERE metacritic = "83/100" AND year_released = 2011
### Instruction: CREATE TABLE table_name_24 ( pre__season VARCHAR, mar_3 VARCHAR, poll VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which pre-season has a Mar. 3 of nr, and a Poll of usa today/espn coaches' poll (top 25)? ### Response:
SELECT pre__season FROM table_name_24 WHERE mar_3 = "nr" AND poll = "usa today/espn coaches' poll (top 25)"
### Instruction: CREATE TABLE table_27300 ( "Company" text, "Parent company" text, "Parent headquarters" text, "Plant" text, "Models produced" text, "Production (latest figures)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many models pro...
SELECT COUNT("Models produced") FROM table_27300 WHERE "Plant" = 'Castle Bromwich'
### Instruction: CREATE TABLE table_14044 ( "Rank" real, "Artist" text, "Album" text, "Peak position" text, "Sales" real, "Certification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sales when the artist is kelly clarkson? ### R...
SELECT COUNT("Sales") FROM table_14044 WHERE "Artist" = 'kelly clarkson'
### Instruction: CREATE TABLE table_9060 ( "Event" text, "Time" text, "Club" text, "Date" text, "Meet" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Meet has a Club of centro de natacon carabobo? ### Response:
SELECT "Meet" FROM table_9060 WHERE "Club" = 'centro de natacon carabobo'
### Instruction: CREATE TABLE table_67703 ( "Outcome" text, "Date" 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. -- What was the surface on 23 October 2011? ### Response:
SELECT "Surface" FROM table_67703 WHERE "Date" = '23 october 2011'
### Instruction: CREATE TABLE table_17876 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's current club with player being nikolaos chatzivrettas ...
SELECT "Current Club" FROM table_17876 WHERE "Player" = 'Nikolaos Chatzivrettas'
### Instruction: CREATE TABLE table_44311 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place when the score is less than 71, and Country is zimbabwe? ### Response:...
SELECT "Place" FROM table_44311 WHERE "Score" < '71' AND "Country" = 'zimbabwe'
### Instruction: CREATE TABLE table_204_236 ( id number, "title" text, "release date" text, "developer(s)" text, "publisher(s)" text, "genre(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name of the only gangster game from developer genuine...
SELECT "title" FROM table_204_236 WHERE "developer(s)" = 'genuine games'
### Instruction: CREATE TABLE table_name_88 ( cars_per_set INTEGER, year_built VARCHAR, number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest number for Cars per Set built in 1977-1979 larger than 32? ### Response:
SELECT MIN(cars_per_set) FROM table_name_88 WHERE year_built = "1977-1979" AND number > 32
### Instruction: CREATE TABLE table_71881 ( "Representative" text, "Title" text, "Presentation of Credentials" text, "Termination of Mission" text, "Appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the representative...
SELECT "Title" FROM table_71881 WHERE "Appointed by" = 'james k. polk'
### Instruction: CREATE TABLE table_204_669 ( id number, "rank" number, "athlete" text, "nationality" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the only contestant from switzerland to place in the top 50 ? ### Response:
SELECT "athlete" FROM table_204_669 WHERE "nationality" = 'switzerland' AND "rank" <= 50
### Instruction: CREATE TABLE table_204_738 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the only year with promotion playof...
SELECT "season" FROM table_204_738 WHERE "movements" = 'promotion playoffs - promoted'
### Instruction: CREATE TABLE table_52421 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Date" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the event for method of points with notes of opening round ### ...
SELECT "Event" FROM table_52421 WHERE "Method" = 'points' AND "Notes" = 'opening round'
### Instruction: CREATE TABLE table_835 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "2007 Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which district was the incumbent Dick Saslaw? ### Respons...
SELECT "District" FROM table_835 WHERE "Incumbent" = 'Dick Saslaw'
### Instruction: CREATE TABLE table_34398 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location of the byron nelson golf classic? #...
SELECT "Location" FROM table_34398 WHERE "Tournament" = 'byron nelson golf classic'
### Instruction: CREATE TABLE table_73404 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the vacator when south carolina 4th is the distric...
SELECT "Vacator" FROM table_73404 WHERE "District" = 'South Carolina 4th'
### Instruction: CREATE TABLE table_33142 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date when the attendance was 73,529? ### Response:...
SELECT "Date" FROM table_33142 WHERE "Attendance" = '73,529'