instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_204_820 (
id number,
"date" text,
"constituency" text,
"c/u" text,
"former incumbent" text,
"winner" text,
"cause" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the next date after the first date ... | SELECT "date" FROM table_204_820 WHERE id = 1 + 1 |
### Instruction:
CREATE TABLE table_22116 (
"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.
-- In district Pennsylvania 11, what was the total number... | SELECT COUNT("Results") FROM table_22116 WHERE "District" = 'Pennsylvania 11' |
### Instruction:
CREATE TABLE table_69646 (
"Tournament" text,
"Date" text,
"Surface" text,
"Round" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the surface for united airlines tournament of champions final round
### Respon... | SELECT "Surface" FROM table_69646 WHERE "Tournament" = 'united airlines tournament of champions' AND "Round" = 'final' |
### Instruction:
CREATE TABLE table_50144 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Result, when Opponent is Cincinnati Bengals?
### Response... | SELECT "Result" FROM table_50144 WHERE "Opponent" = 'cincinnati bengals' |
### Instruction:
CREATE TABLE table_36055 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent has a game less than 6, and april 17 as the date?
### Response:
| SELECT "Opponent" FROM table_36055 WHERE "Game" < '6' AND "Date" = 'april 17' |
### Instruction:
CREATE TABLE table_204_81 (
id number,
"rank" number,
"bib" number,
"name" text,
"country" text,
"time" text,
"deficit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many skiers finished at least under the 39 minute mar... | SELECT COUNT("name") FROM table_204_81 WHERE "time" IS NULL AND "time" < 39 |
### Instruction:
CREATE TABLE table_name_78 (
outgoing_manager VARCHAR,
manner_of_departure VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen... | SELECT outgoing_manager FROM table_name_78 WHERE manner_of_departure = "end of tenure as caretaker" AND replaced_by = "jesper hansen" |
### Instruction:
CREATE TABLE table_13527 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text,
"Language/Rebroadcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the format when the frequency is fm 94.5?... | SELECT "Format" FROM table_13527 WHERE "Frequency" = 'fm 94.5' |
### Instruction:
CREATE TABLE table_69181 (
"Date" text,
"Opponent" text,
"Result" text,
"Game Site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on the game on April 14, 2007?
### Response:
| SELECT "Opponent" FROM table_69181 WHERE "Date" = 'april 14, 2007' |
### Instruction:
CREATE TABLE table_2610582_3 (
power_kw__erp_ VARCHAR,
ch__number VARCHAR,
callsign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the power, in kW, of channel TV-23, callsign DYCG-TV?
### Response:
| SELECT power_kw__erp_ FROM table_2610582_3 WHERE ch__number = "TV-23" AND callsign = "DYCG-TV" |
### Instruction:
CREATE TABLE table_29033869_3 (
round INTEGER,
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round number of the round against melbourne on saturday, 4 april 2:10pm?
### Response:
| SELECT MIN(round) FROM table_29033869_3 WHERE opponent = "Melbourne" AND date = "Saturday, 4 April 2:10pm" |
### Instruction:
CREATE TABLE table_60879 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Area" text,
"Population" text,
"Density" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the density when simplifi... | SELECT "Density" FROM table_60879 WHERE "Simplified" = '南山区' |
### Instruction:
CREATE TABLE table_12279 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a Opponent of piero luisi?
### Response:
| SELECT "Tournament" FROM table_12279 WHERE "Opponent" = 'piero luisi' |
### Instruction:
CREATE TABLE table_3547 (
"Rank" real,
"Couple" text,
"Judges" real,
"Public" real,
"Total" real,
"Vote percentage" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What couple had a vote percentage of 5.2%?
#... | SELECT "Couple" FROM table_3547 WHERE "Vote percentage" = '5.2%' |
### Instruction:
CREATE TABLE table_25828 (
"Episode #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the title of the episode... | SELECT "Title" FROM table_25828 WHERE "Written by" = 'Mark Goffman' |
### Instruction:
CREATE TABLE table_25795 (
"Rank" real,
"City/Town" text,
"County" text,
"Region/Province" text,
"Population" real,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 31901 is the population what is the county?
### ... | SELECT "County" FROM table_25795 WHERE "Population" = '31901' |
### Instruction:
CREATE TABLE table_204_574 (
id number,
"year" number,
"title" text,
"peak chart positions\nswe" number,
"peak chart positions\nswi" number,
"peak chart positions\nuk" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT "title" FROM table_204_574 WHERE id = 1 |
### Instruction:
CREATE TABLE table_73864 (
"Constituency" text,
"Candidate" text,
"Affiliation" text,
"Result - votes" real,
"Result - %" text,
"Loss/gain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every affiliation for candidate D... | SELECT "Affiliation" FROM table_73864 WHERE "Candidate" = 'Daren Ireland' |
### Instruction:
CREATE TABLE table_9033 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on 19/08/2012?
### Response:
| SELECT "Score" FROM table_9033 WHERE "Date" = '19/08/2012' |
### Instruction:
CREATE TABLE list (
LastName TEXT,
FirstName TEXT,
Grade INTEGER,
Classroom INTEGER
)
CREATE TABLE teachers (
LastName TEXT,
FirstName TEXT,
Classroom INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For each grade 0 class... | SELECT Classroom, COUNT(*) FROM list WHERE Grade = "0" GROUP BY Classroom |
### Instruction:
CREATE TABLE table_30347 (
"Character" text,
"Game" text,
"Platform" text,
"Status" text,
"Mystic Arte" text,
"Character Voice" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of the character keel (keele) zeib... | SELECT "Status" FROM table_30347 WHERE "Character" = 'Keel (Keele) Zeibel' |
### Instruction:
CREATE TABLE table_62088 (
"Device" text,
"Carrier" text,
"Package Version" text,
"Applications" text,
"Software Platform" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE CARRIER FOR 4.7.0.208 VERSION?
### Response:
| SELECT "Carrier" FROM table_62088 WHERE "Package Version" = '4.7.0.208' |
### Instruction:
CREATE TABLE table_19526911_1 (
previous_season_2007_2008 VARCHAR,
website VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the previous season ranks of teams whose website is www.novavolley.narod.ru?
### Response:
| SELECT previous_season_2007_2008 FROM table_19526911_1 WHERE website = "www.novavolley.narod.ru" |
### Instruction:
CREATE TABLE table_4232 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many pick# does the university of akron reading united michigan bucks affilia... | SELECT COUNT("Pick #") FROM table_4232 WHERE "Affiliation" = 'University of Akron Reading United Michigan Bucks' |
### Instruction:
CREATE TABLE table_32303 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds have an Overall larger than 17, and a Position of quarterback?
### R... | SELECT COUNT("Round") FROM table_32303 WHERE "Overall" > '17' AND "Position" = 'quarterback' |
### Instruction:
CREATE TABLE table_5404 (
"Score" real,
"Opposition" text,
"Venue" text,
"City" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City has a Score smaller than 30, and a Venue of aigburth?
### Response:
| SELECT "City" FROM table_5404 WHERE "Score" < '30' AND "Venue" = 'aigburth' |
### Instruction:
CREATE TABLE table_55824 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years had 54 holes and a 2 shot lead?
##... | SELECT COUNT("Year") FROM table_55824 WHERE "54 holes" = '2 shot lead' |
### Instruction:
CREATE TABLE table_13669 (
"Title" text,
"Director" text,
"Writer" text,
"Original airdate" text,
"Prod. Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode with production code 40811-002?
### Res... | SELECT "Title" FROM table_13669 WHERE "Prod. Code" = '40811-002' |
### Instruction:
CREATE TABLE table_76396 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses did leon patton have with the longest gain higher than 45?
### Response:
| SELECT COUNT("Loss") FROM table_76396 WHERE "Name" = 'leon patton' AND "Long" > '45' |
### Instruction:
CREATE TABLE table_22007 (
"Team" text,
"Outgoing manage" text,
"Manner" text,
"Date of vacancy" text,
"Incoming manager" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team(s) had an outgoing ma... | SELECT "Team" FROM table_22007 WHERE "Outgoing manage" = 'João Alves' |
### Instruction:
CREATE TABLE table_51066 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pick has a Player of renaldo wynn, and a Round smaller than 1?
### Response:
| SELECT COUNT("Pick") FROM table_51066 WHERE "Player" = 'renaldo wynn' AND "Round" < '1' |
### Instruction:
CREATE TABLE table_75292 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which wrestling event was at the 2008 Beijing games?
### Response:
| SELECT "Event" FROM table_75292 WHERE "Sport" = 'wrestling' AND "Games" = '2008 beijing' |
### Instruction:
CREATE TABLE table_14754471_1 (
free_reduced_lunch___percentage_ VARCHAR,
hispanic___percentage_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of free/reduced lunch are there when the hispanic percentage is 3.7?
### Respon... | SELECT free_reduced_lunch___percentage_ FROM table_14754471_1 WHERE hispanic___percentage_ = "3.7" |
### Instruction:
CREATE TABLE table_31940 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For countries that won more than 32 gold medals, what was the highest numbe... | SELECT MAX("Gold") FROM table_31940 WHERE "Total" > '32' |
### Instruction:
CREATE TABLE table_4592 (
"Name" text,
"Bullet" text,
"Length" text,
"Base" text,
"Shoulder" text,
"Neck" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which bullet has a Shoulder of 10.92 (.430)?
### Response:
| SELECT "Bullet" FROM table_4592 WHERE "Shoulder" = '10.92 (.430)' |
### Instruction:
CREATE TABLE table_39192 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Attendance has an Opponent of oxford united?
### Response... | SELECT SUM("Attendance") FROM table_39192 WHERE "Opponent" = 'oxford united' |
### Instruction:
CREATE TABLE table_name_83 (
score VARCHAR,
date VARCHAR,
surface VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the tournament on 25 July 1994 with a clay surface and Patricia Tarabini as the pa... | SELECT score FROM table_name_83 WHERE surface = "clay" AND partner = "patricia tarabini" AND date = "25 july 1994" |
### Instruction:
CREATE TABLE table_46266 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average laps completed by riders with times of +2:11.524?
### Response:
| SELECT AVG("Laps") FROM table_46266 WHERE "Time" = '+2:11.524' |
### Instruction:
CREATE TABLE table_203_345 (
id number,
"name" text,
"party" text,
"took office" number,
"left office" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the representative who took office for 7 years and is in the liberal party ... | SELECT "name" FROM table_203_345 WHERE "left office" - "took office" = 7 AND "party" = 'liberal' |
### Instruction:
CREATE TABLE table_75045 (
"Outcome" text,
"Event" text,
"Year" text,
"Venue" text,
"Opponent in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Outcome when All England Open is the Opponent in the final?
###... | SELECT "Outcome" FROM table_75045 WHERE "Opponent in the final" = 'all england open' |
### Instruction:
CREATE TABLE table_18705 (
"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 result with incumbent being bill g. lowrey
... | SELECT "Result" FROM table_18705 WHERE "Incumbent" = 'Bill G. Lowrey' |
### Instruction:
CREATE TABLE table_149426_4 (
available_subnets INTEGER,
network_mask VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the network mask is 255.255.255.128 what is the lowest available subnet?
### Response:
| SELECT MIN(available_subnets) FROM table_149426_4 WHERE network_mask = "255.255.255.128" |
### Instruction:
CREATE TABLE table_77118 (
"Day 1" text,
"Day 2" text,
"Day 3" text,
"Day 4" text,
"Day 5" text,
"Wednesday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Wednesday when day 3 is math?
### Response:
| SELECT "Wednesday" FROM table_77118 WHERE "Day 3" = 'math' |
### Instruction:
CREATE TABLE table_204_642 (
id number,
"team" text,
"domestic tournament" text,
"position" text,
"appearance" text,
"qualified" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which teams were the last to qualify ?
### Respons... | SELECT "team" FROM table_204_642 WHERE "qualified" = (SELECT MAX("qualified") FROM table_204_642) |
### Instruction:
CREATE TABLE table_11999 (
"Date" text,
"Round" text,
"Attendance" text,
"Opposition" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opposition at 11,682 excl. exhibition match?
### Response:
| SELECT "Opposition" FROM table_11999 WHERE "Stadium" = '11,682 excl. exhibition match' |
### Instruction:
CREATE TABLE table_16977 (
"Total No." real,
"Celebrity" text,
"Director" text,
"Original air date" text,
"Viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The original air date of 29November2007 has what total no.?
### Res... | SELECT "Total No." FROM table_16977 WHERE "Original air date" = '29November2007' |
### Instruction:
CREATE TABLE table_70458 (
"Episode No." real,
"Airdate" text,
"Total Viewers" real,
"Share" text,
"BBC One Weekly Ranking" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode with a weekly ranking of 14 air?
... | SELECT "Airdate" FROM table_70458 WHERE "BBC One Weekly Ranking" = '14' |
### Instruction:
CREATE TABLE table_204_430 (
id number,
"model" text,
"origin" text,
"type" text,
"version" text,
"in service" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many models were made in the replublic of korea ... | SELECT COUNT("model") FROM table_204_430 WHERE "origin" = 'republic of korea' |
### Instruction:
CREATE TABLE table_name_60 (
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the margin of victory in the tournament with a winning score of 3 (74-68-72-71=285)?
### Response:
| SELECT margin_of_victory FROM table_name_60 WHERE winning_score = −3(74 - 68 - 72 - 71 = 285) |
### Instruction:
CREATE TABLE table_2941848_10 (
pregame_hosts VARCHAR,
pregame_analysts VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the pregame host when the pregame analysts is Dave Campbell and the year is 2001?
### Response:... | SELECT pregame_hosts FROM table_2941848_10 WHERE pregame_analysts = "Dave Campbell" AND year = 2001 |
### Instruction:
CREATE TABLE table_28092844_16 (
points_classification_klasyfikacja_punktowa VARCHAR,
teams_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the points classification when the teams classification winner was Lampre-Farne... | SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = "Lampre-Farnese" |
### Instruction:
CREATE TABLE table_204_816 (
id number,
"locomotive" text,
"named" text,
"serial no" text,
"entered service" text,
"gauge" text,
"livery" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many locomotives are not standard g... | SELECT COUNT("locomotive") FROM table_204_816 WHERE "gauge" <> 'standard' |
### Instruction:
CREATE TABLE table_61693 (
"Date From" text,
"Date To" text,
"Position" text,
"Name" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for the MF position and player Jennison Myrie-Williams?
### Response... | SELECT "Date From" FROM table_61693 WHERE "Position" = 'mf' AND "Name" = 'jennison myrie-williams' |
### Instruction:
CREATE TABLE table_45436 (
"Concessionaire" text,
"FA Division(s)" text,
"Gauge" text,
"Length, km" real,
"Takeover Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the guage of the concessionaire ferrosur roca?
### R... | SELECT "Gauge" FROM table_45436 WHERE "Concessionaire" = 'ferrosur roca' |
### Instruction:
CREATE TABLE table_7712 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text,
"Agg." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the aggregate total for the match against K... | SELECT "Agg." FROM table_7712 WHERE "Opponent" = 'koper' |
### Instruction:
CREATE TABLE table_14231 (
"Team" text,
"Tries for" real,
"Tries against" real,
"Try diff" text,
"Points for" real,
"Points against" real,
"Points diff" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Try diff has Tries... | SELECT "Try diff" FROM table_14231 WHERE "Tries for" = '12' |
### Instruction:
CREATE TABLE table_name_96 (
episode__number INTEGER,
viewers VARCHAR,
share VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Episode # with a share of 9, and #35 is rank and less than 8.21 viewers?
... | SELECT AVG(episode__number) FROM table_name_96 WHERE share = 9 AND rank = "#35" AND viewers < 8.21 |
### Instruction:
CREATE TABLE table_203_808 (
id number,
"rank" number,
"peak name" text,
"elevation" text,
"location" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of the mountains have an elevation above 3,300 ft ?
##... | SELECT COUNT("peak name") FROM table_203_808 WHERE "elevation" > 3300 |
### Instruction:
CREATE TABLE table_63866 (
"Year" real,
"Population" real,
"Five Year % change" text,
"Ten Year % change" text,
"Rank Among Provinces" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest year having a ten-year percent... | SELECT MAX("Year") FROM table_63866 WHERE "Ten Year % change" = '7.9' |
### Instruction:
CREATE TABLE table_52520 (
"Ceremony" text,
"Award" text,
"Category" text,
"Nominee" text,
"Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ceremony was leela chitnis nominated at?
### Response:
| SELECT "Ceremony" FROM table_52520 WHERE "Outcome" = 'nominated' AND "Nominee" = 'leela chitnis' |
### Instruction:
CREATE TABLE table_23391 (
"No. in series" text,
"No. in season" real,
"Family/families" text,
"Location(s)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes with different season numbers ha... | SELECT COUNT("No. in season") FROM table_23391 WHERE "Family/families" = 'The Jeans Family' |
### Instruction:
CREATE TABLE table_63936 (
"Model" text,
"Years" text,
"Type/code" text,
"Power@rpm" text,
"Torque@rpm" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the torque@rpm of the sl 65 amg?
### Response:
| SELECT "Torque@rpm" FROM table_63936 WHERE "Model" = 'sl 65 amg' |
### Instruction:
CREATE TABLE table_56951 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Tyre" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who drove the Marlboro Mclaren Peugeot?
### Response:
| SELECT "Driver" FROM table_56951 WHERE "Entrant" = 'marlboro mclaren peugeot' |
### Instruction:
CREATE TABLE table_202_253 (
id number,
"team" text,
"titles" text,
"runners-up" text,
"third place" text,
"fourth place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team has best percentage of titles to runner up finis... | SELECT "team" FROM table_202_253 ORDER BY "titles" / "runners-up" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_8673 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team for the game with Platense as the away team and attendance under 529?
... | SELECT "Home" FROM table_8673 WHERE "Attendance" < '529' AND "Away" = 'platense' |
### Instruction:
CREATE TABLE table_68904 (
"Rank" real,
"Country/Region" text,
"Population" real,
"Area (km 2 )" real,
"Density (Pop. per km 2 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest population of the region with a ran... | SELECT MAX("Population") FROM table_68904 WHERE "Rank" > '9' |
### Instruction:
CREATE TABLE table_203_631 (
id number,
"year" number,
"name of show" text,
"episodes" text,
"other guests" text,
"winner(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times has charmaine sheh won on a variety show... | SELECT COUNT(*) FROM table_203_631 WHERE "winner(s)" = 'charmaine sheh' |
### Instruction:
CREATE TABLE table_71671 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which friendly competition took place on 19 April 1979?
### Response:
| SELECT "Score" FROM table_71671 WHERE "Competition" = 'friendly' AND "Date" = '19 april 1979' |
### Instruction:
CREATE TABLE table_20527 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Team Nickname" text,
"Primary conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What conference... | SELECT "Primary conference" FROM table_20527 WHERE "Institution" = 'Gonzaga University' |
### Instruction:
CREATE TABLE table_19029 (
"Year" real,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the the mixed doubles with yea... | SELECT "Mixed doubles" FROM table_19029 WHERE "Year" = '1972' |
### Instruction:
CREATE TABLE table_name_1 (
melbourne VARCHAR,
sydney VARCHAR,
auckland VARCHAR,
gold_coast VARCHAR,
perth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for Melbourne when Gold Coast, Perth, Auckland, and Sydn... | SELECT melbourne FROM table_name_1 WHERE gold_coast = "no" AND perth = "no" AND auckland = "no" AND sydney = "no" |
### Instruction:
CREATE TABLE table_203_718 (
id number,
"pos" text,
"rider" text,
"manufacturer" text,
"time/retired" text,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who earned the most points at the 250cc valencian community mo... | SELECT "rider" FROM table_203_718 ORDER BY "points" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_29084 (
"Round #" text,
"Home Team" text,
"Win/Loss" text,
"Score" text,
"Opposition" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opposition when the score is 37 - 28?
### Resp... | SELECT "Opposition" FROM table_29084 WHERE "Score" = '37 - 28' |
### Instruction:
CREATE TABLE table_203_370 (
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.
-- in what year did the runner participate in the mo... | SELECT "year" FROM table_203_370 GROUP BY "year" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_2798 (
"Club" text,
"Location" text,
"Manager" text,
"Stadium" text,
"Capacity" real,
"Team captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's captain of the team whose stadium has a capacity of 178... | SELECT "Team captain" FROM table_2798 WHERE "Capacity" = '17800' |
### Instruction:
CREATE TABLE table_47453 (
"Election" text,
"Candidate" text,
"Number of votes" text,
"Share of votes" text,
"Outcome of election" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the share of votes in the 2008 (1) election?
... | SELECT "Share of votes" FROM table_47453 WHERE "Election" = '2008 (1)' |
### Instruction:
CREATE TABLE table_39816 (
"Date" text,
"Opponent" text,
"Location" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On 10/20/1979*, who was the Opponent?
### Response:
| SELECT "Opponent" FROM table_39816 WHERE "Date" = '10/20/1979*' |
### Instruction:
CREATE TABLE table_12251936_1 (
whites_as__percentage_of_pop VARCHAR,
gfr_2006 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was the GFR 2006 equal to 53.2?
### Response:
| SELECT COUNT(whites_as__percentage_of_pop) FROM table_12251936_1 WHERE gfr_2006 = "53.2" |
### Instruction:
CREATE TABLE table_2071644_1 (
flange_width__mm_ VARCHAR,
cross_section_area__cm_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the flange width (mm) for cross section area (cm 2) 16.4?
### Response:
| SELECT COUNT(flange_width__mm_) FROM table_2071644_1 WHERE cross_section_area__cm_2__ = "16.4" |
### Instruction:
CREATE TABLE table_15209 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did Corbari Italia earn in 1985?
### Response:
| SELECT "Points" FROM table_15209 WHERE "Entrant" = 'corbari italia' AND "Year" = '1985' |
### Instruction:
CREATE TABLE table_17713 (
"Name of System" text,
"Location" text,
"Traction Type" text,
"Date (From)" text,
"Date (To)" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the date (to) 1919?
### Re... | SELECT COUNT("Notes") FROM table_17713 WHERE "Date (To)" = '1919' |
### Instruction:
CREATE TABLE table_2974 (
"French Title" text,
"Date of Publication" real,
"English Translation" text,
"Writer" text,
"Artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many English translations were made for the story orig... | SELECT COUNT("English Translation") FROM table_2974 WHERE "French Title" = 'La Ribambelle enquête' |
### Instruction:
CREATE TABLE table_70175 (
"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.
-- Which team has a right wing position listed... | SELECT "College/junior/club team" FROM table_70175 WHERE "Position" = 'right wing' |
### Instruction:
CREATE TABLE table_39877 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Records from Kontor Records from the catalog of Kontor446 was released in what format?
##... | SELECT "Format" FROM table_39877 WHERE "Label" = 'kontor records' AND "Catalog" = 'kontor446' |
### Instruction:
CREATE TABLE table_203_61 (
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.
-- the total number of medals won by south africa wa... | SELECT "total" FROM table_203_61 WHERE "nation" = 'south africa' |
### Instruction:
CREATE TABLE table_13145 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which To par has a Year(s) won of 1964?
### Response:
| SELECT "To par" FROM table_13145 WHERE "Year(s) won" = '1964' |
### Instruction:
CREATE TABLE table_48432 (
"Season" text,
"GP\u2013GS" text,
"Yards" text,
"Long" text,
"Avg/G" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the GP-GS for the 2009 season?
### Response:
| SELECT "GP\u2013GS" FROM table_48432 WHERE "Season" = '2009' |
### Instruction:
CREATE TABLE table_name_20 (
opponent VARCHAR,
location VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Opponent when the location was groves stadium winston-salem, nc, with a result of t 17-17?
### Response:... | SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-17" |
### Instruction:
CREATE TABLE table_52031 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the center position of Years for Jazz, Greg Ostertag?
#... | SELECT "Years for Jazz" FROM table_52031 WHERE "Position" = 'center' AND "Player" = 'greg ostertag' |
### Instruction:
CREATE TABLE table_name_38 (
goals VARCHAR,
name VARCHAR,
since VARCHAR,
nat VARCHAR,
transfer_fee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals was by Rix from Eng who started before 2005 in the youth system?
#... | SELECT COUNT(goals) FROM table_name_38 WHERE nat = "eng" AND transfer_fee = "youth system" AND since < 2005 AND name = "rix" |
### Instruction:
CREATE TABLE table_27534 (
"Round" text,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winning driver for... | SELECT "Winning driver" FROM table_27534 WHERE "Date" = '20 April' |
### Instruction:
CREATE TABLE table_204_309 (
id number,
"model" text,
"released" number,
"usage" text,
"features" text,
"storage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which was released earlier , mark 1 or distributor ?
### Response... | SELECT "model" FROM table_204_309 WHERE "model" IN ('mark 1', 'distributor') ORDER BY "released" LIMIT 1 |
### Instruction:
CREATE TABLE table_204_282 (
id number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text,
"#" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games only had one goal s... | SELECT COUNT(*) FROM table_204_282 WHERE "score" + "score" = 1 |
### Instruction:
CREATE TABLE table_46606 (
"Heat" real,
"Lane" real,
"Name" text,
"Country" text,
"Mark" text,
"React" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has Anselmo Da Silva in lane 2?
### Response:
| SELECT "Country" FROM table_46606 WHERE "Lane" < '2' AND "Name" = 'anselmo da silva' |
### Instruction:
CREATE TABLE table_76532 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the game @ San Antonio on June 20?
### Response:
| SELECT "Score" FROM table_76532 WHERE "Opponent" = '@ san antonio' AND "Date" = 'june 20' |
### Instruction:
CREATE TABLE table_name_16 (
years VARCHAR,
free_or_pay VARCHAR,
transmission VARCHAR,
on_demand VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Years which have Transmission of digital satellite, an On demand of no, and a Fr... | SELECT years FROM table_name_16 WHERE transmission = "digital satellite" AND on_demand = "no" AND free_or_pay = "free + ppv" |
### Instruction:
CREATE TABLE table_5739 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on October 24, 2005?
### Response:
| SELECT "Score" FROM table_5739 WHERE "Date" = 'october 24, 2005' |
### Instruction:
CREATE TABLE table_name_43 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2010 result of a tournament that is 1R in 2009, Q2 in 2011 and 1R in 2012?
### Response:
| SELECT 2010 FROM table_name_43 WHERE 2011 = "q2" AND 2012 = "1r" AND 2009 = "1r" |
### Instruction:
CREATE TABLE table_57853 (
"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.
-- What is the tyre with a 56 chassis?
### Resp... | SELECT "Tyre" FROM table_57853 WHERE "Chassis" = '56' |
### Instruction:
CREATE TABLE table_42522 (
"Company" text,
"Type" text,
"Principal activities" text,
"Incorporated in" text,
"Group's Equity Shareholding" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What company has a Group Equity Shareholding v... | SELECT "Company" FROM table_42522 WHERE "Group's Equity Shareholding" = '60%' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.