instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_68885 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team did Johnson (11-7) play for?
### Response:
| SELECT "Opponent" FROM table_68885 WHERE "Loss" = 'johnson (11-7)' |
### Instruction:
CREATE TABLE table_56370 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- waht is the last year with a mclaren mp4/10b chassis
### Response:
| SELECT MAX("Year") FROM table_56370 WHERE "Chassis" = 'mclaren mp4/10b' |
### Instruction:
CREATE TABLE table_57504 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many gold medals were won when more than 2 bronze medals were won?
##... | SELECT SUM("Gold") FROM table_57504 WHERE "Bronze" > '2' |
### Instruction:
CREATE TABLE table_79177 (
"Rank" real,
"Club" text,
"Season" text,
"Goals" real,
"Apps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the apps for less than 61 goals and before rank 6?
### Response:
| SELECT SUM("Apps") FROM table_79177 WHERE "Rank" < '6' AND "Goals" < '61' |
### Instruction:
CREATE TABLE table_69299 (
"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 is the area of Mangamahu primary school?
### Res... | SELECT "Area" FROM table_69299 WHERE "Name" = 'mangamahu primary school' |
### Instruction:
CREATE TABLE table_20162 (
"Round" real,
"Choice" real,
"Player name" text,
"Position" text,
"Height" text,
"Weight" real,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college did the player weighing 207 po... | SELECT "College" FROM table_20162 WHERE "Weight" = '207' |
### Instruction:
CREATE TABLE table_43106 (
"Team" text,
"Dance" text,
"Music" text,
"Points jury" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Music has a Points Jury of 18 (5,5,4,4)?
### Response:
| SELECT "Music" FROM table_43106 WHERE "Points jury" = '18 (5,5,4,4)' |
### Instruction:
CREATE TABLE table_43322 (
"Competition" text,
"Ladder Position" text,
"Coach" text,
"Captain(s)" text,
"Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the coach of the 2012 Gold Coast Titans season?
### Response:
| SELECT "Coach" FROM table_43322 WHERE "Details" = '2012 gold coast titans season' |
### Instruction:
CREATE TABLE table_71129 (
"Year" real,
"Category" text,
"Film" text,
"Winner/Nominee(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the winner and nominees in 2001?
### Response:
| SELECT "Winner/Nominee(s)" FROM table_71129 WHERE "Year" = '2001' |
### Instruction:
CREATE TABLE table_204_525 (
id number,
"rank" number,
"player" text,
"county" text,
"tally" text,
"total" number,
"opposition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players have a total above 10 ?
### Re... | SELECT COUNT(DISTINCT "player") FROM table_204_525 WHERE "total" > 10 |
### Instruction:
CREATE TABLE table_33393 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of overall values with a safety position in a round greater than 1?
... | SELECT COUNT("Overall") FROM table_33393 WHERE "Position" = 'safety' AND "Round" > '1' |
### Instruction:
CREATE TABLE table_73146 (
"Tournament" text,
"Also currently known as" text,
"City" text,
"Country" text,
"Court surface" text,
"Defending champion" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tournaments are also c... | SELECT COUNT("Country") FROM table_73146 WHERE "Also currently known as" = 'HP Open' |
### Instruction:
CREATE TABLE table_18233 (
"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 incumbent for first elected 1958
### Respons... | SELECT "Incumbent" FROM table_18233 WHERE "First elected" = '1958' |
### Instruction:
CREATE TABLE table_name_24 (
points VARCHAR,
place VARCHAR,
draw VARCHAR,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total point value when there are less than 12 draws, the rank is less than 17, and Philipp Ki... | SELECT COUNT(points) FROM table_name_24 WHERE draw < 12 AND artist = "philipp kirkorov" AND place < 17 |
### Instruction:
CREATE TABLE table_22650 (
"Year" real,
"Player" text,
"Country" text,
"Score" text,
"To Par" text,
"Margin" real,
"Earnings ($)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score to par won in 1998?
### Response:
| SELECT "To Par" FROM table_22650 WHERE "Year" = '1998' |
### Instruction:
CREATE TABLE table_name_74 (
years VARCHAR,
torque VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years did the sdrive16d model have a Torque of n m (lb ft)@1750-3000?
### Response:
| SELECT years FROM table_name_74 WHERE torque = "n·m (lb·ft)@1750-3000" AND model = "sdrive16d" |
### Instruction:
CREATE TABLE table_203_527 (
id number,
"tournament" text,
"games played" number,
"points per game" number,
"rebounds per game" number,
"assists per game" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which tournament had the... | SELECT "tournament" FROM table_203_527 ORDER BY "points per game" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_59014 (
"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 is team 1 where team 2 is Fluminense (RJ)?
### Response:
| SELECT "Team 1" FROM table_59014 WHERE "Team 2" = 'fluminense (rj)' |
### Instruction:
CREATE TABLE table_1165048_1 (
dudley_tuckey_medal VARCHAR,
leading_goalkicker VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the dudley tuckey medal where leading goalkicker is scott simister (46)
### Response:
| SELECT dudley_tuckey_medal FROM table_1165048_1 WHERE leading_goalkicker = "Scott Simister (46)" |
### Instruction:
CREATE TABLE table_17200 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED?
### Respo... | SELECT MIN("Round") FROM table_17200 WHERE "Position" = 'Forward' |
### Instruction:
CREATE TABLE table_68887 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year that shadow racing team scored more than 0 points?
### Response:
| SELECT MAX("Year") FROM table_68887 WHERE "Entrant" = 'shadow racing team' AND "Pts." > '0' |
### Instruction:
CREATE TABLE table_42874 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year has a Venue of atlanta, united states?
### Response:
| SELECT "Year" FROM table_42874 WHERE "Venue" = 'atlanta, united states' |
### Instruction:
CREATE TABLE table_46247 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home team on October 17 with a Score of 1 2?
### Response:
| SELECT "Home" FROM table_46247 WHERE "Score" = '1–2' AND "Date" = 'october 17' |
### Instruction:
CREATE TABLE table_19688 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Language (s)" text,
"Director(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- is nominated for an... | SELECT "Result" FROM table_19688 WHERE "Original title" = 'Γолемата Вода' |
### Instruction:
CREATE TABLE table_66775 (
"Counting Method" text,
"Basis" text,
"Name" text,
"Directed / Undirected" text,
"Induced / Non-Induced" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the counting method for a network-centric bas... | SELECT "Counting Method" FROM table_66775 WHERE "Basis" = 'network-centric' |
### Instruction:
CREATE TABLE table_2664 (
"Ticket / Office" text,
"Secretary of State" text,
"Comptroller" text,
"Attorney General" text,
"Treasurer" text,
"State Engineer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the comptroller for... | SELECT "Comptroller" FROM table_2664 WHERE "Ticket / Office" = 'Prohibition' |
### Instruction:
CREATE TABLE table_203_16 (
id number,
"name" text,
"took office" text,
"left office" text,
"party" text,
"district residence" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of represen... | SELECT COUNT(*) FROM table_203_16 WHERE "party" = 'democratic' |
### Instruction:
CREATE TABLE table_18514 (
"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.
-- In the District Tennessee 7 what is the number of first... | SELECT MAX("First elected") FROM table_18514 WHERE "District" = 'Tennessee 7' |
### Instruction:
CREATE TABLE table_15297 (
"First game" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is there more than 0 draws and more than 0 losses?
### Response:
| SELECT COUNT("Played") FROM table_15297 WHERE "Drawn" > '0' AND "Lost" > '0' |
### Instruction:
CREATE TABLE table_22143 (
"English name" text,
"Thai name" text,
"Transcription" text,
"Color" text,
"Sanskrit word" text,
"Planet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the thai name of the transcription wan c... | SELECT "Thai name" FROM table_22143 WHERE "Transcription" = 'wan chan' |
### Instruction:
CREATE TABLE table_43055 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Assists" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Games for Rank 2 Terrell McIntyre?
### Response:
| SELECT MIN("Games") FROM table_43055 WHERE "Name" = 'terrell mcintyre' AND "Rank" > '2' |
### Instruction:
CREATE TABLE table_69404 (
"Film" text,
"Director(s)" text,
"Producer(s)" text,
"Writer(s)" text,
"Recipient" text,
"Award" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who produced Laura Tunstall?
### Response:
| SELECT "Producer(s)" FROM table_69404 WHERE "Recipient" = 'laura tunstall' |
### Instruction:
CREATE TABLE table_37730 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game that led to a 79-77 record?
### Resp... | SELECT "Score" FROM table_37730 WHERE "Record" = '79-77' |
### Instruction:
CREATE TABLE table_40238 (
"Player" text,
"Position" text,
"GP (GS)" text,
"Minutes" real,
"Goals" real,
"Assists" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest number of goals when 2428 minutes were played... | SELECT MAX("Goals") FROM table_40238 WHERE "Minutes" = '2428' |
### Instruction:
CREATE TABLE table_23139 (
"Institution" text,
"Nickname" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most joined for molloy college... | SELECT MAX("Joined") FROM table_23139 WHERE "Institution" = 'Molloy College' |
### Instruction:
CREATE TABLE table_49903 (
"Team" text,
"Sport" text,
"Played" text,
"Venue" text,
"Championships" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What sport was played between the years of 2008-2010?
### Response:
| SELECT "Sport" FROM table_49903 WHERE "Played" = '2008-2010' |
### Instruction:
CREATE TABLE table_name_37 (
goals INTEGER,
matches VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the lowest goal that have goals/matches greater than 0.43 with joachim streich as the name and matches greater than... | SELECT MIN(goals) FROM table_name_37 WHERE goals / matches > 0.43 AND name = "joachim streich" AND matches > 378 |
### Instruction:
CREATE TABLE table_63696 (
"School" text,
"City" text,
"Team Name" text,
"County" text,
"Year Joined" text,
"Year Left" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- From what school was the team that left the conference in 199... | SELECT "School" FROM table_63696 WHERE "Year Left" = '1992' |
### Instruction:
CREATE TABLE table_25102 (
"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.
-- Name the total number of reason for change for not filled... | SELECT COUNT("Reason for change") FROM table_25102 WHERE "Date successor seated" = 'Not filled this congress' |
### Instruction:
CREATE TABLE table_204_155 (
id number,
"rank" number,
"heat" number,
"athlete" text,
"nationality" text,
"time" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many athletes are from russia ?
### Respon... | SELECT COUNT("athlete") FROM table_204_155 WHERE "nationality" = 'russia' |
### Instruction:
CREATE TABLE table_60072 (
"Players" text,
"Position" text,
"Year" text,
"Ht/Wt" text,
"Bats/Throws" text,
"Hometown (Last School)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Jake Johnson's position?
### Response:
| SELECT "Position" FROM table_60072 WHERE "Players" = 'jake johnson' |
### Instruction:
CREATE TABLE table_23264 (
"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 incumbent for north carolina 9
### Response:... | SELECT "Incumbent" FROM table_23264 WHERE "District" = 'North Carolina 9' |
### Instruction:
CREATE TABLE table_47582 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Home team that had a decider of Conkl... | SELECT "Home" FROM table_47582 WHERE "Decision" = 'conklin' |
### Instruction:
CREATE TABLE table_41056 (
"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 was received bby the Motion Picture What's Love Got To Do With It?
### R... | SELECT "Award" FROM table_41056 WHERE "Motion Picture" = 'what''s love got to do with it' |
### Instruction:
CREATE TABLE table_40598 (
"Ballarat FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest win for losses less than 2?
### Response:
| SELECT MAX("Wins") FROM table_40598 WHERE "Losses" < '2' |
### Instruction:
CREATE TABLE table_25073 (
"State (class)" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date of successors formal installation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the successor for the state... | SELECT "Successor" FROM table_25073 WHERE "State (class)" = 'Maine (2)' |
### Instruction:
CREATE TABLE table_49296 (
"Trident" text,
"Gecko" text,
"WebKit" text,
"KHTML" text,
"Presto" text,
"Prince XML" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the item that has a Gecko of 'font', what is the KHTML value?
... | SELECT "KHTML" FROM table_49296 WHERE "Gecko" = 'font' |
### Instruction:
CREATE TABLE table_67553 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Mark Brooks total score when he finished more than 2 above par?
### Respo... | SELECT AVG("Total") FROM table_67553 WHERE "To par" > '2' AND "Player" = 'mark brooks' |
### Instruction:
CREATE TABLE table_23254 (
"School" text,
"Baseball stadium" text,
"Softball stadium" text,
"Basketball arena" text,
"Capacity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of UMass Boston's softball stadium?
##... | SELECT "Softball stadium" FROM table_23254 WHERE "School" = 'UMass Boston' |
### Instruction:
CREATE TABLE table_204_28 (
id number,
"election" text,
"name of the party/alliance" text,
"number of votes" number,
"percentage" text,
"seats in the parliament" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long from the... | SELECT MAX("election") - MIN("election") FROM table_204_28 |
### Instruction:
CREATE TABLE table_232458_1 (
city___municipality VARCHAR,
pop_density__per_km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the city/municipality if the population is 1,388.88?
### Response:
| SELECT city___municipality FROM table_232458_1 WHERE pop_density__per_km²_ = "1,388.88" |
### Instruction:
CREATE TABLE table_1462 (
"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.
-- How many winning songs were there with an english title o... | SELECT COUNT("Winning Song") FROM table_1462 WHERE "Winning Song (English Title)" = 'All For Love' |
### Instruction:
CREATE TABLE table_46613 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Verb meaning when part 1 is alan?
### Response:
| SELECT "Verb meaning" FROM table_46613 WHERE "Part 1" = 'alan' |
### Instruction:
CREATE TABLE table_54652 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the race for which the circuit was ... | SELECT "Race Name" FROM table_54652 WHERE "Circuit" = 'snetterton' |
### Instruction:
CREATE TABLE table_74925 (
"Game #" real,
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when the record was 5-4-2?
### Resp... | SELECT "Score" FROM table_74925 WHERE "Record" = '5-4-2' |
### Instruction:
CREATE TABLE table_18495 (
"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 incumbent for 1932?
### Response:
| SELECT "Incumbent" FROM table_18495 WHERE "First elected" = '1932' |
### 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.
-- how many medals were awarded to japan in total ?... | SELECT "total" FROM table_204_775 WHERE "nation" = 'japan' |
### Instruction:
CREATE TABLE table_32471 (
"Year" real,
"Championship" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which runner-up player(s) had a margin of 10 strokes?
### Response:
| SELECT "Runner(s)-up" FROM table_32471 WHERE "Margin" = '10 strokes' |
### Instruction:
CREATE TABLE table_42428 (
"Year" real,
"Venue" text,
"Winning team" text,
"Score" text,
"USA Captain" text,
"Europe Captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the USA's captain was Beth Daniel, who was the win... | SELECT "Winning team" FROM table_42428 WHERE "USA Captain" = 'beth daniel' |
### Instruction:
CREATE TABLE table_52263 (
"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 when played at mcg?
... | SELECT "Home team score" FROM table_52263 WHERE "Venue" = 'mcg' |
### Instruction:
CREATE TABLE table_203_789 (
id number,
"season" text,
"team" text,
"country" text,
"division" number,
"apps" number,
"goals" number,
"assists" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many seasons were no go... | SELECT COUNT("season") FROM table_203_789 WHERE "goals" = 0 |
### Instruction:
CREATE TABLE table_15246 (
"Name" text,
"Years" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the avererage decile of Francis Douglas Memorial College?
### Re... | SELECT AVG("Decile") FROM table_15246 WHERE "Name" = 'francis douglas memorial college' |
### Instruction:
CREATE TABLE table_69482 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The frequency 89.3 belongs to what class?
### Res... | SELECT "Class" FROM table_69482 WHERE "Frequency MHz" = '89.3' |
### Instruction:
CREATE TABLE table_2417345_3 (
vacator VARCHAR,
date_of_successors_formal_installation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the vacator when the successor was formally installed on February 1, 1871?
### Response:
| SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 1, 1871" |
### Instruction:
CREATE TABLE table_10907 (
"Year" real,
"Class" text,
"Bike" text,
"Rank" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rank took place prior to 2000 when the bike was bsl?
### Response:
| SELECT "Rank" FROM table_10907 WHERE "Year" < '2000' AND "Bike" = 'bsl' |
### Instruction:
CREATE TABLE table_27722 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Piedmont College founded?
##... | SELECT MAX("Founded") FROM table_27722 WHERE "Institution" = 'Piedmont College' |
### Instruction:
CREATE TABLE table_75104 (
"Conference" text,
"Division" text,
"Team" text,
"City" text,
"Home Arena" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team is in the Southeast with a home at Philips Arena?
### Response:
| SELECT "Team" FROM table_75104 WHERE "Division" = 'southeast' AND "Home Arena" = 'philips arena' |
### Instruction:
CREATE TABLE table_203_430 (
id number,
"draw" number,
"artist" text,
"song" text,
"jury" number,
"televote" number,
"total" number,
"place" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the drawwith the larges total
... | SELECT "draw" FROM table_203_430 ORDER BY "total" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_70213 (
"Grand Prix" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the pole position at the ger... | SELECT "Pole position" FROM table_70213 WHERE "Grand Prix" = 'german grand prix' |
### Instruction:
CREATE TABLE table_name_50 (
population INTEGER,
rank VARCHAR,
median_house__hold_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population where the rank is higher than 51 and the Median House-hold income is $25,250?
... | SELECT SUM(population) FROM table_name_50 WHERE rank > 51 AND median_house__hold_income = "$25,250" |
### Instruction:
CREATE TABLE table_29243 (
"Train No." real,
"Train Name" text,
"Arrival" text,
"Departure" text,
"Days" text,
"Platform No." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many trains arrive at 11:00?
### Response:
| SELECT COUNT("Train No.") FROM table_29243 WHERE "Arrival" = '11:00' |
### Instruction:
CREATE TABLE table_59446 (
"Party" text,
"% votes" real,
"% change" real,
"Seats" real,
"Change" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the change number with fewer than 4.7% votes and more than 0 seats?
### Respon... | SELECT SUM("Change") FROM table_59446 WHERE "% votes" < '4.7' AND "Seats" > '0' |
### Instruction:
CREATE TABLE table_62475 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance on september 8?
### ... | SELECT AVG("Attendance") FROM table_62475 WHERE "Date" = 'september 8' |
### Instruction:
CREATE TABLE table_30816 (
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player was picked by the New York Ranger... | SELECT "Player" FROM table_30816 WHERE "NHL team" = 'New York Rangers' |
### Instruction:
CREATE TABLE table_32033 (
"Chip" text,
"Flash size" text,
"EEPROM" real,
"SRAM" real,
"Frequency [MHz]" real,
"Package" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the package for EEPROM less than 128
### Response:... | SELECT "Package" FROM table_32033 WHERE "EEPROM" < '128' |
### Instruction:
CREATE TABLE table_204_737 (
id number,
"year" number,
"order" text,
"quantity" number,
"ger nos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which order was the next order after l33 ?
### Response:
| SELECT "order" FROM table_204_737 WHERE id = (SELECT id FROM table_204_737 WHERE "order" = 'l33') + 1 |
### Instruction:
CREATE TABLE table_3134 (
"Rank" real,
"Team" text,
"Round1" real,
"Round2" real,
"Round3" real,
"Round4" real,
"Total points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team had 342 total points?
### Response:
| SELECT "Team" FROM table_3134 WHERE "Total points" = '342' |
### Instruction:
CREATE TABLE table_6953 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text,
"Alternate" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Glenys Bakker was second for which nation?
### Respons... | SELECT "Nation" FROM table_6953 WHERE "Second" = 'glenys bakker' |
### Instruction:
CREATE TABLE table_47595 (
"Rank" text,
"Team" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rank has final with 5:18.85?
### Response:
| SELECT "Rank" FROM table_47595 WHERE "Final" = '5:18.85' |
### Instruction:
CREATE TABLE table_49670 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Overall number that is the lowest, and has a pick greater ... | SELECT MIN("Overall") FROM table_49670 WHERE "Pick" > '9' |
### Instruction:
CREATE TABLE table_21942 (
"Actor in original production" text,
"Actor required" text,
"GamePlan" text,
"FlatSpin" text,
"RolePlay" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the requirements for the role played by Rob... | SELECT "Actor required" FROM table_21942 WHERE "Actor in original production" = 'Robert Austin' |
### Instruction:
CREATE TABLE table_56927 (
"Player" text,
"Position" text,
"First-Team Debut" text,
"First-Team Appearances" real,
"First-Team Goals" real,
"Current Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does adam ra... | SELECT "Position" FROM table_56927 WHERE "Player" = 'adam rachel' |
### Instruction:
CREATE TABLE table_name_57 (
right_ascension___j2000__ VARCHAR,
constellation VARCHAR,
ngc_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the right ascension of Pegasus with a 7343 NGC?
### Response:
| SELECT right_ascension___j2000__ FROM table_name_57 WHERE constellation = "pegasus" AND ngc_number = "7343" |
### Instruction:
CREATE TABLE table_29175 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Total" real,
"Highest" real,
"Lowest" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total attendance at rugby park?
##... | SELECT "Total" FROM table_29175 WHERE "Stadium" = 'Rugby Park' |
### Instruction:
CREATE TABLE table_65652 (
"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 spike for the 2008 club Zenit Kazan?
### Response:
| SELECT "Spike" FROM table_65652 WHERE "2008 club" = 'zenit kazan' |
### Instruction:
CREATE TABLE table_72353 (
"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 stumpings did the player Tim Latham have?
### Respon... | SELECT MAX("Stumpings") FROM table_72353 WHERE "Player" = 'Tim Latham' |
### Instruction:
CREATE TABLE table_62780 (
"Title" text,
"Series" text,
"Director" text,
"Production Number" text,
"Release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the release date of the mm series, which has the title tom thum... | SELECT "Release date" FROM table_62780 WHERE "Series" = 'mm' AND "Title" = 'tom thumb in trouble' |
### Instruction:
CREATE TABLE table_203_648 (
id number,
"date" text,
"opposition" text,
"result" text,
"score" text,
"brazil scorers" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the first competition ever played ... | SELECT "competition" FROM table_203_648 ORDER BY "date" LIMIT 1 |
### Instruction:
CREATE TABLE table_203_200 (
id number,
"region" text,
"seed" number,
"team" text,
"coach" text,
"finished" text,
"final opponent" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the only champion ?
... | SELECT "team" FROM table_203_200 WHERE "finished" = 'champion' |
### Instruction:
CREATE TABLE table_47944 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the H/A when the scorer was Hughes?
### Response:
| SELECT "H / A" FROM table_47944 WHERE "Scorers" = 'hughes' |
### Instruction:
CREATE TABLE table_66284 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest heat number for a swimmer with a time of 2:34.94?
### Response:
| SELECT MIN("Heat") FROM table_66284 WHERE "Time" = '2:34.94' |
### Instruction:
CREATE TABLE table_37561 (
"Date" text,
"Race Name" text,
"Location" text,
"UCI Rating" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner of the tre valli varesine race?
### Response... | SELECT "Winner" FROM table_37561 WHERE "Race Name" = 'tre valli varesine' |
### Instruction:
CREATE TABLE table_64096 (
"Wrestlers" text,
"Reign" text,
"Days held" text,
"Location" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What days held has 1 as the reign with eden black as the wrestlers?
### Response:... | SELECT "Days held" FROM table_64096 WHERE "Reign" = '1' AND "Wrestlers" = 'eden black' |
### Instruction:
CREATE TABLE table_112 (
"Track #" real,
"Song" text,
"Singers" text,
"Picturization" text,
"Length" text,
"Lyricist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For which singers was Alangudi Somu the lyricist?
### Respons... | SELECT "Singers" FROM table_112 WHERE "Lyricist" = 'Alangudi Somu' |
### Instruction:
CREATE TABLE table_22078972_2 (
no_in_series INTEGER,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the series number of the episode seen by 17.04 million people in the US?
### Response:
| SELECT MAX(no_in_series) FROM table_22078972_2 WHERE us_viewers__millions_ = "17.04" |
### Instruction:
CREATE TABLE table_name_78 (
pick VARCHAR,
position VARCHAR,
nationality VARCHAR,
college_high_school_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick number for the person from the United States who as drafted t... | SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf" |
### Instruction:
CREATE TABLE table_75965 (
"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 name of Team 2 with a 2nd leg of 4-6?
### Response:
| SELECT "Team 2" FROM table_75965 WHERE "2nd leg" = '4-6' |
### Instruction:
CREATE TABLE table_29077342_19 (
mountains_classification VARCHAR,
team_classification VARCHAR,
general_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the mountains classification for rabobank and damiano cunego
###... | SELECT mountains_classification FROM table_29077342_19 WHERE team_classification = "Rabobank" AND general_classification = "Damiano Cunego" |
### Instruction:
CREATE TABLE table_17098 (
"Year" text,
"Player" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the player felipe lopez?
### Response:
| SELECT COUNT("NBA Draft") FROM table_17098 WHERE "Player" = 'Felipe Lopez' |
### Instruction:
CREATE TABLE table_204_421 (
id number,
"name" text,
"nationality" text,
"position" text,
"spartak career" text,
"appearances" number,
"goals" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which player has the highest num... | SELECT "name" FROM table_204_421 ORDER BY "goals" DESC LIMIT 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.