instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_27628 ( "Letters" text, "Organization" text, "Nickname" text, "Founding Date" text, "Founding University" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many types of organization were founded...
SELECT COUNT("Type") FROM table_27628 WHERE "Founding University" = 'San Diego State University'
### Instruction: CREATE TABLE table_29039942_1 ( original_airdate VARCHAR, writer VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki #...
SELECT original_airdate FROM table_29039942_1 WHERE writer = "Daisuke Habara" AND director = "Akimitsu Sasaki"
### Instruction: CREATE TABLE table_203_440 ( id number, "rank" number, "player" text, "from" text, "to" text, "transfer fee\n(\u20ac million)" number, "year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team had the top transfer c...
SELECT "to" FROM table_203_440 ORDER BY "rank" LIMIT 1
### Instruction: CREATE TABLE table_1325 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME? ##...
SELECT "Theme" FROM table_1325 WHERE "Week #" = 'Top 8'
### Instruction: CREATE TABLE table_28651 ( "Year (Ceremony)" text, "Film title" text, "Main Language(s)" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year (ceremony) for the film title Eldra? ### Resp...
SELECT "Year (Ceremony)" FROM table_28651 WHERE "Film title" = 'Eldra'
### Instruction: CREATE TABLE table_35968 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of bronze medals for nations with under 0 golds?...
SELECT MAX("Bronze") FROM table_35968 WHERE "Gold" < '0'
### Instruction: CREATE TABLE table_71031 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Money ($) amount for Cary Middlecoff? ### Response:...
SELECT "Money ( $ )" FROM table_71031 WHERE "Player" = 'cary middlecoff'
### Instruction: CREATE TABLE table_55715 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many average laps did brm complete in grids larger than 12? ### Response:
SELECT AVG("Laps") FROM table_55715 WHERE "Constructor" = 'brm' AND "Grid" = '12'
### Instruction: CREATE TABLE table_3624 ( "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 represents the district with incumbent matthe...
SELECT "Party" FROM table_3624 WHERE "Incumbent" = 'Matthew Clay'
### Instruction: CREATE TABLE table_76785 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which College has a Pick # larger than 30, and a Position of ol? ### Response:
SELECT "College" FROM table_76785 WHERE "Pick #" > '30' AND "Position" = 'ol'
### Instruction: CREATE TABLE table_203_375 ( id number, "name" text, "year built" text, "country" text, "town" text, "height" text, "remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the last pylon in germany built ? #...
SELECT MAX("year built") FROM table_203_375 WHERE "country" = 'germany'
### Instruction: CREATE TABLE table_74233 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times has Sun Jin won the women's doubles? ...
SELECT COUNT("Mens Doubles") FROM table_74233 WHERE "Womens Singles" = 'Sun Jin'
### Instruction: CREATE TABLE table_33677 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result on October 1, 1989? ### Response:
SELECT "Result" FROM table_33677 WHERE "Date" = 'october 1, 1989'
### Instruction: CREATE TABLE table_80299 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the finish place with a qual of 123.660? ### Response:
SELECT "Finish" FROM table_80299 WHERE "Qual" = '123.660'
### Instruction: CREATE TABLE table_name_45 ( position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the position in 1959-1960 for the club that had 14 seasons at this level? ### Response:
SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons"
### Instruction: CREATE TABLE table_1991 ( "Stage (Winner)" text, "General Classification" text, "Points Classification" text, "Mountains Classification" text, "Young Rider Classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the tables p...
SELECT COUNT("Stage (Winner)") FROM table_1991 WHERE "Team Classification" = 'Team Columbia'
### Instruction: CREATE TABLE table_72352 ( "Rank" real, "Dismissals" real, "Player" text, "Innings" real, "Catches" real, "Stumpings" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dismissals did the player Peter McGlashan have? ### ...
SELECT "Dismissals" FROM table_72352 WHERE "Player" = 'Peter McGlashan'
### Instruction: CREATE TABLE table_46881 ( "Year" real, "Title" text, "Role" text, "Network" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Year, when Notes is 'Celebrity Guest Alongside YG Family'? ### Response:...
SELECT MAX("Year") FROM table_46881 WHERE "Notes" = 'celebrity guest alongside yg family'
### Instruction: CREATE TABLE table_203_721 ( id number, "school" text, "location" text, "control" text, "type" text, "enrollment" number, "founded" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which us technological university has the t...
SELECT "school" FROM table_203_721 ORDER BY "enrollment" DESC LIMIT 1
### Instruction: CREATE TABLE table_19801 ( "#" real, "Episode" text, "Writer" text, "Director" text, "Original air date" text, "Viewing figure" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What writers are associated with a viewing figure of ...
SELECT "Writer" FROM table_19801 WHERE "Viewing figure" = '7.01 million'
### Instruction: CREATE TABLE table_40912 ( "Pos." text, "Player" text, "Team" text, "Height" text, "Weight" real, "First round" real, "Final round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Final round, when Player is Danilo Ga...
SELECT "Final round" FROM table_40912 WHERE "Player" = 'danilo gallinari'
### Instruction: CREATE TABLE table_19819 ( "Ido" text, "English" text, "Italian" text, "French" text, "German" text, "Russian" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the French word for the Italian word nazio...
SELECT "French" FROM table_19819 WHERE "Italian" = 'nazione'
### Instruction: CREATE TABLE table_45482 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE SCORE FOR 2010 fifa world cup qualification? ### Response:
SELECT "Score" FROM table_45482 WHERE "Competition" = '2010 fifa world cup qualification'
### Instruction: CREATE TABLE table_21436373_12 ( type_of_record VARCHAR, result_games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what type of record was made where result/games is 10 games (29,606 avg.) ### Response:
SELECT type_of_record FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)"
### Instruction: CREATE TABLE table_26967904_1 ( p_max___bar__ VARCHAR, p1_diameter__mm_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm? ### Response:
SELECT p_max___bar__ FROM table_26967904_1 WHERE p1_diameter__mm_ = "9.70"
### Instruction: CREATE TABLE table_35826 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what type of game has the resuts of 1:0? ### Response:
SELECT "Type of game" FROM table_35826 WHERE "Results\u00b9" = '1:0'
### Instruction: CREATE TABLE table_2357 ( "Sd" real, "Player" text, "Points" real, "Points defending" real, "Points won" real, "New points" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did shahar pe'er score...
SELECT "Points won" FROM table_2357 WHERE "Player" = 'Shahar Pe''er'
### Instruction: CREATE TABLE table_52267 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds did Ken Wharton go? ### Resp...
SELECT "Rounds" FROM table_52267 WHERE "Driver" = 'ken wharton'
### Instruction: CREATE TABLE table_name_71 ( week INTEGER, date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week was the game played on November 12, 1961, with an attendance of 7,859 played? ### Response:
SELECT MIN(week) FROM table_name_71 WHERE date = "november 12, 1961" AND attendance < 7 OFFSET 859
### Instruction: CREATE TABLE table_18608 ( "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 is the district for james p. richards? ### Respo...
SELECT "District" FROM table_18608 WHERE "Incumbent" = 'James P. Richards'
### Instruction: CREATE TABLE table_44413 ( "Region" text, "Name" text, "Reported birth date" text, "Reported death date" text, "Reported age" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a reported age of 111 years, 66 days? ### Respons...
SELECT "Name" FROM table_44413 WHERE "Reported age" = '111 years, 66 days'
### Instruction: CREATE TABLE table_16677738_1 ( finsbury_division VARCHAR, inns_of_court_and_chancery VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1546 is inns of court and chancery what is the finsbury division? ### Response:
SELECT finsbury_division FROM table_16677738_1 WHERE inns_of_court_and_chancery = 1546
### Instruction: CREATE TABLE table_2651 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the partners in 2012? ### Respon...
SELECT "Partner" FROM table_2651 WHERE "Year" = '2012'
### Instruction: CREATE TABLE table_203_547 ( id number, "ship" text, "built" number, "in service for cunard" text, "type" text, "tonnage" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- according to the chart what was the last ...
SELECT "ship" FROM table_203_547 ORDER BY "built" DESC LIMIT 1
### Instruction: CREATE TABLE table_45825 ( "Season" real, "Series" text, "Points" text, "Position" text, "Driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Driver, when Position is 2nd, and when Season is 2001? ### Response:
SELECT "Driver" FROM table_45825 WHERE "Position" = '2nd' AND "Season" = '2001'
### Instruction: CREATE TABLE table_49233 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the week of August 6, who is the finalist? ...
SELECT "Finalist" FROM table_49233 WHERE "Week" = 'august 6'
### Instruction: CREATE TABLE table_name_24 ( name VARCHAR, family VARCHAR, species_authority VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has canidae as family and canis rufus audubon & bachman, 1851 as species/authority? ### Response:
SELECT name FROM table_name_24 WHERE family = "canidae" AND species_authority = "canis rufus audubon & bachman, 1851"
### Instruction: CREATE TABLE table_67150 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the loss in the game with the record of 65-53? ### Response...
SELECT "Loss" FROM table_67150 WHERE "Record" = '65-53'
### Instruction: CREATE TABLE table_55593 ( "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. -- When Aalborg BK is Team 1, what is the 1st leg? ### Response:
SELECT "1st leg" FROM table_55593 WHERE "Team 1" = 'aalborg bk'
### Instruction: CREATE TABLE table_45888 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what venue was the event held on 14 February 2009? ### Response:
SELECT "Venue" FROM table_45888 WHERE "Date" = '14 february 2009'
### Instruction: CREATE TABLE table_13780 ( "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. -- What is the 1st leg when team 2 is Asil Lysi? ### Response:
SELECT "1st leg" FROM table_13780 WHERE "Team 2" = 'asil lysi'
### Instruction: CREATE TABLE table_29087004_3 ( written_by VARCHAR, united_states_original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the writers of episode/s first aired in the US on June 9, 2012? ### Response:
SELECT written_by FROM table_29087004_3 WHERE united_states_original_airdate = "June 9, 2012"
### Instruction: CREATE TABLE table_2668336_17 ( result VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Candiates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% had what result? ### Response:
SELECT result FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%"
### Instruction: CREATE TABLE table_203_677 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has anton lyuboslavskiy scored abo...
SELECT COUNT(*) FROM table_203_677 WHERE "notes" > 20
### Instruction: CREATE TABLE table_67767 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Recipient" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the film Antonio's Breakfast? ### Response:
SELECT "Director(s)" FROM table_67767 WHERE "Film" = 'antonio''s breakfast'
### Instruction: CREATE TABLE table_55361 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the authority when the roll is 40? ### Respons...
SELECT "Authority" FROM table_55361 WHERE "Roll" = '40'
### Instruction: CREATE TABLE table_204_121 ( id number, "year" text, "game" text, "developer" text, "setting" text, "platform" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the name of the only business simulation vi...
SELECT "game" FROM table_204_121 WHERE "developer" = 'frog city'
### Instruction: CREATE TABLE table_69256 ( "Week" real, "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When were the Houston Texans the visiting team later in th...
SELECT MAX("Week") FROM table_69256 WHERE "Visiting Team" = 'houston texans'
### Instruction: CREATE TABLE table_name_8 ( republican_ticket VARCHAR, communist_ticket VARCHAR, socialist_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Republican ticket with a Communist ticket of (none), and a Socialist ticket of jos...
SELECT republican_ticket FROM table_name_8 WHERE communist_ticket = "(none)" AND socialist_ticket = "joseph g. glass"
### Instruction: CREATE TABLE table_37628 ( "Date" text, "Title" text, "Origin" text, "Label & Cat. no." text, "Chart no." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest chart number for the song Yardbirds aka Roger the Engineer?...
SELECT MAX("Chart no.") FROM table_37628 WHERE "Title" = 'yardbirds aka roger the engineer'
### Instruction: CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of persons who are ...
SELECT name FROM personfriend WHERE friend = 'Alice' AND year = (SELECT MIN(year) FROM personfriend WHERE friend = 'Alice')
### Instruction: CREATE TABLE table_45447 ( "Round" real, "Race Name" text, "Pole position" text, "Winning driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What pole position did 2006 gehl championship finale have? ### R...
SELECT "Pole position" FROM table_45447 WHERE "Race Name" = '2006 gehl championship finale'
### Instruction: CREATE TABLE table_29222 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where cfl team is winnipeg (3) via hamilton what are all the player ### Response:
SELECT "Player" FROM table_29222 WHERE "CFL Team" = 'Winnipeg (3) via Hamilton'
### Instruction: CREATE TABLE table_60627 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the week number for the date of September 14, 1980? ### Response:
SELECT MAX("Week") FROM table_60627 WHERE "Date" = 'september 14, 1980'
### Instruction: CREATE TABLE table_5228 ( "Season" text, "Tier" real, "League" text, "Pos." real, "Postseason" text, "European competitions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of tiers for the postseason of ...
SELECT SUM("Tier") FROM table_5228 WHERE "Postseason" = 'semifinalist'
### Instruction: CREATE TABLE table_name_37 ( game VARCHAR, opponent VARCHAR, opponents VARCHAR, nets_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games had fewer than 118 opponents and more than 109 net points with an opponent of W...
SELECT COUNT(game) FROM table_name_37 WHERE opponents < 118 AND nets_points > 109 AND opponent = "washington"
### Instruction: CREATE TABLE table_19995 ( "School Year" text, "Class A" text, "Class AA" text, "Class AAA" text, "Class AAAA" text, "Class AAAAA" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year is dayton in class AAAA? ### Response:...
SELECT "School Year" FROM table_19995 WHERE "Class AAAA" = 'Dayton'
### Instruction: CREATE TABLE table_name_3 ( island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What island has a population over 76, a height over 210, and an area larger than 12068? ...
SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068
### Instruction: CREATE TABLE table_51102 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance during the november 16, 1975 game? ### Response:
SELECT MAX("Attendance") FROM table_51102 WHERE "Date" = 'november 16, 1975'
### Instruction: CREATE TABLE table_14322 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the opponent when the record was 43-56? ### Response:
SELECT "Opponent" FROM table_14322 WHERE "Record" = '43-56'
### Instruction: CREATE TABLE table_204_185 ( id number, "location" text, "town" text, "output (mw ac)" number, "modules" number, "number of arrays" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the number of arrays of the riverhead ...
SELECT "number of arrays" FROM table_204_185 WHERE "location" = 'riverhead county center'
### Instruction: CREATE TABLE table_201_44 ( id number, "year" number, "title" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which film is under the year of 1999 and has the role of mandy murphy ? ### Response:
SELECT "title" FROM table_201_44 WHERE "year" = 1999 AND "role" = 'mandy murphy'
### Instruction: CREATE TABLE table_56968 ( "Track" real, "Title" text, "Translation" text, "Composer" text, "Recorded" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WhatTranslation has a Composer of jacques brel, rod mckuen? ### Response:
SELECT "Translation" FROM table_56968 WHERE "Composer" = 'jacques brel, rod mckuen'
### Instruction: CREATE TABLE table_1507431_1 ( to_par VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all values for 'to par' for the winning score of 67-67-69-69=272? ### Response:
SELECT to_par FROM table_1507431_1 WHERE winning_score = 67 - 67 - 69 - 69 = 272
### Instruction: CREATE TABLE table_name_80 ( original_us_air_date VARCHAR, original_canadian_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007? ### Response:
SELECT original_us_air_date FROM table_name_80 WHERE original_canadian_air_date = "december 9, 2007"
### Instruction: CREATE TABLE table_71207 ( "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. -- What is the 1st leg score when 2nd leg score is 3-3? ### Response:
SELECT "1st leg" FROM table_71207 WHERE "2nd leg" = '3-3'
### Instruction: CREATE TABLE table_9215 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the semifinalists when the surface is har...
SELECT "Semifinalists" FROM table_9215 WHERE "Surface" = 'hard (i)'
### Instruction: CREATE TABLE table_28677723_10 ( tor_fløysvik INTEGER, karianne_gulliksen VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed in tor floysvik when karianne gulliksen is 6? ### Response:
SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE karianne_gulliksen = 6
### Instruction: CREATE TABLE table_203_561 ( id number, "pos" number, "team" text, "total" number, "high" number, "low" number, "average" number, "change" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- list the top 5 teams within highes...
SELECT "team" FROM table_203_561 ORDER BY "total" DESC LIMIT 5
### Instruction: CREATE TABLE table_56956 ( "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 decision had a Record of 3 5 0? ### Respon...
SELECT "Decision" FROM table_56956 WHERE "Record" = '3–5–0'
### Instruction: CREATE TABLE table_35223 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Label has a Region of germany, and a Format of 12' maxi? ### Response:
SELECT "Label" FROM table_35223 WHERE "Region" = 'germany' AND "Format" = '12" maxi'
### Instruction: CREATE TABLE table_name_96 ( country_or_territory VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099? ### Response:
SELECT MIN(2007) FROM table_name_96 WHERE country_or_territory = "china" AND 2002 < 670 OFFSET 099
### Instruction: CREATE TABLE table_66900 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the engine for year less than 1959 and points more than 4? ### Response:
SELECT "Engine" FROM table_66900 WHERE "Year" < '1959' AND "Points" > '4'
### Instruction: CREATE TABLE table_14254419_3 ( elementary_schools VARCHAR, principal__2013_2014_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which elementary schools list Cort Monroe as the principal from 2013 to 2014? ### Response:
SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe"
### Instruction: CREATE TABLE table_53274 ( "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. -- Name the away team score for geelong away team ...
SELECT "Away team score" FROM table_53274 WHERE "Away team" = 'geelong'
### Instruction: CREATE TABLE table_17570 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of bleeding does aspirin cause...
SELECT "Bleeding time" FROM table_17570 WHERE "Condition" = 'Aspirin'
### Instruction: CREATE TABLE table_66048 ( "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. -- What was the number of the game when the record was 11-12? ...
SELECT "Game" FROM table_66048 WHERE "Record" = '11-12'
### Instruction: CREATE TABLE table_18385 ( "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. -- How many districts does Donald D. Clancy represent? #...
SELECT COUNT("District") FROM table_18385 WHERE "Incumbent" = 'Donald D. Clancy'
### Instruction: CREATE TABLE table_18141 ( "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. -- Who's the incumbent in Florida 6? ### Response:
SELECT "Incumbent" FROM table_18141 WHERE "District" = 'Florida 6'
### Instruction: CREATE TABLE table_204_771 ( 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 country has the largest number of silver me...
SELECT "nation" FROM table_204_771 ORDER BY "silver" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_63 ( goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average goal difference of club cultural leonesa, which has more than 27 points and...
SELECT AVG(goal_difference) FROM table_name_63 WHERE points > 27 AND losses < 9 AND club = "cultural leonesa"
### Instruction: CREATE TABLE table_9068 ( "Name" text, "Height" text, "Weight" real, "Position" text, "Bats/Throws" text, "Class" text, "Hometown/Highschool" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did kyle mckenzie pla...
SELECT "Position" FROM table_9068 WHERE "Name" = 'kyle mckenzie'
### Instruction: CREATE TABLE table_43302 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the content for la sorgente sat 3? ###...
SELECT "Content" FROM table_43302 WHERE "Television service" = 'la sorgente sat 3'
### Instruction: CREATE TABLE table_15528 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original title of the film from years after 1985 from the UK?...
SELECT "Original title" FROM table_15528 WHERE "Year" > '1985' AND "Country" = 'uk'
### Instruction: CREATE TABLE table_26998135_2 ( date_of_appointment VARCHAR, date_of_vacancy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of appointment when the date of vacancy is 15 march 2011? ### Response:
SELECT date_of_appointment FROM table_26998135_2 WHERE date_of_vacancy = "15 March 2011"
### Instruction: CREATE TABLE table_204_409 ( id number, "date" text, "race name" text, "location" text, "uci rating" number, "winner" text, "team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the uci rating of the last race of th...
SELECT "uci rating" FROM table_204_409 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_203_661 ( id number, "year" number, "single" text, "peak chart positions\nus mod" number, "peak chart positions\nuk" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the average chart po...
SELECT AVG("peak chart positions\nuk") FROM table_203_661
### Instruction: CREATE TABLE table_17538810_10 ( lead_margin VARCHAR, dates_administered VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different lead margins were stated in the poll administered on September 11, 2008? ### Response:
SELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = "September 11, 2008"
### Instruction: CREATE TABLE table_27279 ( "Episode #" real, "Production Count" real, "Original Airdate" text, "Prod. Code" text, "Title" text, "Viewing Figures Millions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes were num...
SELECT COUNT("Production Count") FROM table_27279 WHERE "Episode #" = '5'
### Instruction: CREATE TABLE table_45640 ( "Ceremony" text, "Award" text, "Category" text, "Name" text, "Outcome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Anuya Bhagvath was nominated for what award? ### Response:
SELECT "Award" FROM table_45640 WHERE "Outcome" = 'nominated' AND "Name" = 'anuya bhagvath'
### Instruction: CREATE TABLE table_35222 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Label has a Format of 7' single, and a Date of 1988? ### Response:
SELECT "Label" FROM table_35222 WHERE "Format" = '7" single' AND "Date" = '1988'
### Instruction: CREATE TABLE table_50180 ( "Show" text, "Host(s)" text, "Flagship" text, "Market" text, "iHeartRadio" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Flagship of the Show Hosted by Rover (Shane French)? ### Response:
SELECT "Flagship" FROM table_50180 WHERE "Host(s)" = 'rover (shane french)'
### Instruction: CREATE TABLE table_2562572_7 ( population__1991_ VARCHAR, population__2002_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population (1991) where population (2002) was 14250? ### Response:
SELECT COUNT(population__1991_) FROM table_2562572_7 WHERE population__2002_ = 14250
### Instruction: CREATE TABLE table_33140 ( "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 77,918? ### Response:...
SELECT "Date" FROM table_33140 WHERE "Attendance" = '77,918'
### Instruction: CREATE TABLE table_64288 ( "Title" text, "Series" text, "Director" text, "Release date" text, "reissue?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From what series was Tokio Jokio, directed by Norm McCabe? ### Response:
SELECT "Series" FROM table_64288 WHERE "Director" = 'norm mccabe' AND "Title" = 'tokio jokio'
### Instruction: CREATE TABLE table_204_780 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- other than 1984 , what year did he place first ? ### Response:
SELECT "year" FROM table_204_780 WHERE "year" <> 1984 AND "position" = 1
### Instruction: CREATE TABLE table_204_922 ( 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. -- name all the nations that did not win any gold m...
SELECT "nation" FROM table_204_922 WHERE "gold" = 0
### Instruction: CREATE TABLE table_63407 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district has 98 constituen...
SELECT "District" FROM table_63407 WHERE "Constituency number" = '98'
### Instruction: CREATE TABLE table_name_85 ( area__km²_ VARCHAR, capital VARCHAR, population__2005_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many regions have a capital of matanzas and a 2005 population under 670427? ### Response:
SELECT COUNT(area__km²_) FROM table_name_85 WHERE capital = "matanzas" AND population__2005_ < 670427
### Instruction: CREATE TABLE table_name_47 ( result VARCHAR, date VARCHAR, competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result of the Friendly Competition on October 27, 2005 with a Score of 5-0? ### Respon...
SELECT result FROM table_name_47 WHERE competition = "friendly" AND score = "5-0" AND date = "october 27, 2005"